Explorar o código

integration firebase messagging

Marino Faggiana %!s(int64=8) %!d(string=hai) anos
pai
achega
8338753629
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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.