diff options
Diffstat (limited to 'Firebase/Messaging/FIRMessaging+FIRApp.m')
-rw-r--r-- | Firebase/Messaging/FIRMessaging+FIRApp.m | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/Firebase/Messaging/FIRMessaging+FIRApp.m b/Firebase/Messaging/FIRMessaging+FIRApp.m index d48a3b4..dda360c 100644 --- a/Firebase/Messaging/FIRMessaging+FIRApp.m +++ b/Firebase/Messaging/FIRMessaging+FIRApp.m @@ -26,12 +26,6 @@ #import "FIRMessagingVersionUtilities.h" #import "FIRMessaging_Private.h" -@interface FIRMessaging () - -@property(nonatomic, readwrite, strong) NSString *fcmSenderID; - -@end - @implementation FIRMessaging (FIRApp) + (void)load { @@ -58,22 +52,6 @@ } - (void)configureMessaging:(FIRApp *)app { - FIROptions *options = app.options; - NSError *error; - if (!options.GCMSenderID.length) { - error = - [FIRApp errorForSubspecConfigurationFailureWithDomain:kFirebaseCloudMessagingErrorDomain - errorCode:FIRErrorCodeCloudMessagingFailed - service:kFIRServiceMessaging - reason:@"Google Sender ID must not be nil" - @" or empty."]; - [self exitApp:app withError:error]; - return; - } - - self.fcmSenderID = [options.GCMSenderID copy]; - self.globalAutomaticDataCollectionEnabled = [app isAutomaticDataCollectionEnabled]; - // Swizzle remote-notification-related methods (app delegate and UNUserNotificationCenter) if ([FIRMessagingRemoteNotificationsProxy canSwizzleMethods]) { NSString *docsURLString = @"https://firebase.google.com/docs/cloud-messaging/ios/client" |