|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- #import "AppDelegate.h"
- #import "GeneratedPluginRegistrant.h"
- #import <zhiying_comm/ZhiyingCommNative.h>
-
- #import <jdsdk/JDKeplerSDK.h>
-
- @implementation AppDelegate
-
- - (BOOL)application:(UIApplication *)application
- didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
- [ZhiyingCommNative regist: self];
- [GeneratedPluginRegistrant registerWithRegistry:self];
-
-
- // [[KeplerApiManager sharedKPService]asyncInitSdk:@"9fc3dec00b9b40cc950dfba5262cd6d3" secretKey:@"f785613e5fd54a129d0f0359a4e25c23" sucessCallback:^(){
- // NSLog (@"京东初始化成功");
- // }failedCallback:^(NSError *error){
- // NSLog (@"京东初始化失败");
- // }];
- return [super application:application didFinishLaunchingWithOptions:launchOptions];
- }
-
- // 公共跳转方法
- - (void)openPage: (NSDictionary*)params {
-
- }
-
- - (void)openNativePage: (NSDictionary*)params {
- NSString *method = [params valueForKey:@"method"];
- if ([method isEqualToString: @""]) {
- }
- }
-
-
- // 获取设置
- - (NSDictionary*)getSetting {
- return @{
- // @"domain": @"http://120.76.175.204:8989"
- @"domain": @"http://inapi.izhyin.cn",
- @"master_id":@"123456",
- @"secret_key":@"123456"
- // @"token": @"cc455e0c0b6a75ff09aeb966c211fb967d69b63d"
- };
- }
-
- @end
|