We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7b35ecf + ccb3eaf commit d42a9faCopy full SHA for d42a9fa
README.md
@@ -177,6 +177,12 @@ import com.intercom.reactnative.IntercomModule;
177
178
public class MainNotificationService extends FirebaseMessagingService {
179
180
+ @Override
181
+ public void onNewToken(String refreshedToken) {
182
+ IntercomModule.sendTokenToIntercom(getApplication(), refreshedToken);
183
+ //DO LOGIC HERE
184
+ }
185
+
186
public void onMessageReceived(RemoteMessage remoteMessage) {
187
if (IntercomModule.isIntercomPush(remoteMessage)) {
188
IntercomModule.handleRemotePushMessage(getApplication(), remoteMessage);
0 commit comments