|
@@ -98,8 +98,6 @@
|
|
#endif
|
|
#endif
|
|
}
|
|
}
|
|
|
|
|
|
- //[[UIApplication sharedApplication] registerForRemoteNotifications];
|
|
|
|
-
|
|
|
|
#endif // OPTION_FIREBASE_ENABLE
|
|
#endif // OPTION_FIREBASE_ENABLE
|
|
|
|
|
|
NSString *dir;
|
|
NSString *dir;
|
|
@@ -547,6 +545,7 @@
|
|
}
|
|
}
|
|
|
|
|
|
- (void)connectToFcm {
|
|
- (void)connectToFcm {
|
|
|
|
+
|
|
// Won't connect since there is no token
|
|
// Won't connect since there is no token
|
|
if (![[FIRInstanceID instanceID] token]) {
|
|
if (![[FIRInstanceID instanceID] token]) {
|
|
return;
|
|
return;
|