Jelajahi Sumber

integration firebase messagging

Marino Faggiana 8 tahun lalu
induk
melakukan
8338753629
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      iOSClient/AppDelegate.m

+ 2 - 1
iOSClient/AppDelegate.m

@@ -98,7 +98,7 @@
         #endif
     }
     
-    [[UIApplication sharedApplication] registerForRemoteNotifications];
+    //[[UIApplication sharedApplication] registerForRemoteNotifications];
     
 #endif // OPTION_FIREBASE_ENABLE
 
@@ -533,6 +533,7 @@
 #pragma FIREBASE
 
 - (void)tokenRefreshNotification:(NSNotification *)notification {
+    
     // 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.