mirror of
https://github.com/alibaba/flutter-go.git
synced 2025-08-23 10:10:44 +08:00
23 lines
697 B
Objective-C
23 lines
697 B
Objective-C
#include "AppDelegate.h"
|
|
#include "GeneratedPluginRegistrant.h"
|
|
#include "FlutterJPushPlugin.h"
|
|
|
|
@import Firebase;//增加 firebase 支持
|
|
|
|
@implementation AppDelegate
|
|
|
|
- (BOOL)application:(UIApplication *)application
|
|
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
|
|
|
[FIRApp configure];//增加 firebase 支持
|
|
|
|
[self startupJPush:launchOptions appKey:@"62eb07d227d1f11dd7fa6239" channel:@"jpush" isProduction:FALSE];
|
|
|
|
[GeneratedPluginRegistrant registerWithRegistry:self];
|
|
// Override point for customization after application launch.
|
|
[NSThread sleepForTimeInterval:2];
|
|
return [super application:application didFinishLaunchingWithOptions:launchOptions];
|
|
}
|
|
|
|
@end
|