2020-05-28 21:50:32 +06:30
|
|
|
#import "AppDelegate.h"
|
|
|
|
|
#import "GeneratedPluginRegistrant.h"
|
2020-09-10 02:13:22 +06:30
|
|
|
@import Firebase;
|
2020-05-28 21:50:32 +06:30
|
|
|
|
|
|
|
|
@implementation AppDelegate
|
|
|
|
|
|
|
|
|
|
- (BOOL)application:(UIApplication *)application
|
|
|
|
|
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
|
|
|
|
[GeneratedPluginRegistrant registerWithRegistry:self];
|
|
|
|
|
// Override point for customization after application launch.
|
2020-09-10 02:13:22 +06:30
|
|
|
if (@available(iOS 10.0, *)) {
|
|
|
|
|
[UNUserNotificationCenter currentNotificationCenter].delegate = (id<UNUserNotificationCenterDelegate>) self;
|
|
|
|
|
}
|
2020-05-28 21:50:32 +06:30
|
|
|
return [super application:application didFinishLaunchingWithOptions:launchOptions];
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-10 02:13:22 +06:30
|
|
|
//- (void)application:(UIApplication *)application
|
|
|
|
|
// didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
|
|
|
|
|
// // Pass device token to auth.
|
|
|
|
|
// [[FIRAuth auth] setAPNSToken:deviceToken type:FIRAuthAPNSTokenTypeUnknown];
|
|
|
|
|
// // Further handling of the device token if needed by the app.
|
|
|
|
|
//}
|
2020-05-28 21:50:32 +06:30
|
|
|
@end
|