|
@@ -486,7 +486,6 @@
|
|
|
NSLog(@"Receive Notification on Active state");
|
|
|
}
|
|
|
|
|
|
-
|
|
|
// If you are receiving a notification message while your app is in the background,
|
|
|
// this callback will not be fired till the user taps on the notification launching the application.
|
|
|
// TODO: Handle data of notification
|
|
@@ -535,6 +534,7 @@
|
|
|
// Note that this callback will be fired everytime a new token is generated, including the first
|
|
|
// time. So if you need to retrieve the token as soon as it is available this is where that
|
|
|
// should be done.
|
|
|
+
|
|
|
NSString *refreshedToken = [[FIRInstanceID instanceID] token];
|
|
|
NSLog(@"InstanceID token: %@", refreshedToken);
|
|
|
|