This commit is contained in:
2020-09-10 02:13:22 +06:30
parent cdefe7c06d
commit 7a2053e858
24 changed files with 336 additions and 320 deletions

View File

@@ -1,5 +1,6 @@
#import "AppDelegate.h"
#import "GeneratedPluginRegistrant.h"
@import Firebase;
@implementation AppDelegate
@@ -7,7 +8,16 @@
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[GeneratedPluginRegistrant registerWithRegistry:self];
// Override point for customization after application launch.
if (@available(iOS 10.0, *)) {
[UNUserNotificationCenter currentNotificationCenter].delegate = (id<UNUserNotificationCenterDelegate>) self;
}
return [super application:application didFinishLaunchingWithOptions:launchOptions];
}
//- (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.
//}
@end