浏览代码

配置sdk

zhengkun 2 月之前
父节点
当前提交
1d190360eb

二进制
ios/JianYuIOS/JianYuIOS.xcworkspace/xcuserdata/zhengkun.xcuserdatad/UserInterfaceState.xcuserstate


+ 2 - 1
ios/JianYuIOS/JianYuIOS/AppDelegate.m

@@ -94,7 +94,8 @@
     [[UMSocialManager defaultManager] openLog:NO];
     [[UMSocialManager defaultManager] openLog:NO];
     /* 设置友盟appkey */
     /* 设置友盟appkey */
 //    [[UMSocialManager defaultManager] setke:@"5a685423f43e4833e500003e"];
 //    [[UMSocialManager defaultManager] setke:@"5a685423f43e4833e500003e"];
-
+    [UMConfigure initWithAppkey:@"5a685423f43e4833e500003e" channel:@"App Store"];
+    
     [[UMSocialManager defaultManager] setPlaform:UMSocialPlatformType_WechatSession appKey:@"wx0e6a5b18f4cfd10d" appSecret:@"b9a93038b7481278f7a0e048c0d81770" redirectURL:nil];
     [[UMSocialManager defaultManager] setPlaform:UMSocialPlatformType_WechatSession appKey:@"wx0e6a5b18f4cfd10d" appSecret:@"b9a93038b7481278f7a0e048c0d81770" redirectURL:nil];
     [[UMSocialManager defaultManager] setPlaform:UMSocialPlatformType_QQ appKey:@"1106703118"appSecret:@"MYFVJZhtygWy5hzh" redirectURL:@"http://mobile.umeng.com/social"];
     [[UMSocialManager defaultManager] setPlaform:UMSocialPlatformType_QQ appKey:@"1106703118"appSecret:@"MYFVJZhtygWy5hzh" redirectURL:@"http://mobile.umeng.com/social"];
     [WXApi registerApp:@"wx0e6a5b18f4cfd10d" universalLink:@"https:www.jianyu360.cn/"];
     [WXApi registerApp:@"wx0e6a5b18f4cfd10d" universalLink:@"https:www.jianyu360.cn/"];

+ 11 - 0
ios/JianYuIOS/JianYuIOS/BaseClass1/PrefixHeader.pch

@@ -83,6 +83,9 @@ _Pragma("clang diagnostic pop")\
 #import  <CommonCrypto/CommonCryptor.h>
 #import  <CommonCrypto/CommonCryptor.h>
 
 
 
 
+
+
+
 //刷新或页面
 //刷新或页面
 #define NotNetReloadWebVIew @"notNetReloadWebVIew"
 #define NotNetReloadWebVIew @"notNetReloadWebVIew"
 //退出登录
 //退出登录
@@ -173,6 +176,14 @@ _Pragma("clang diagnostic pop")\
 #import "JhtFileModel.h"
 #import "JhtFileModel.h"
 #import "LoadDocViewController.h"
 #import "LoadDocViewController.h"
 
 
+
+#import <UMCommon/UMCommon.h>
+#import <UMShare/UMShare.h>
+#import <UMCommon/MobClick.h>
+#import <UserNotifications/UserNotifications.h>
+
+
+
 //测试1
 //测试1
 #define kHost @"https://app-jytest.jydev.jianyu360.com/"
 #define kHost @"https://app-jytest.jydev.jianyu360.com/"
 //测试2
 //测试2

+ 1 - 0
ios/JianYuIOS/JianYuIOS/Info.plist

@@ -82,6 +82,7 @@
 		<string>mqq</string>
 		<string>mqq</string>
 		<string>snssdk1128</string>
 		<string>snssdk1128</string>
 		<string>gifshow</string>
 		<string>gifshow</string>
+		<string>weixinURLParamsAPI</string>
 	</array>
 	</array>
 	<key>LSRequiresIPhoneOS</key>
 	<key>LSRequiresIPhoneOS</key>
 	<true/>
 	<true/>