Sfoglia il codice sorgente

更新友盟注册

zhengkun 3 mesi fa
parent
commit
3ccf218956

BIN
ios/JianYuIOS/JianYuIOS.xcworkspace/xcuserdata/zhengkun.xcuserdatad/UserInterfaceState.xcuserstate


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

@@ -96,8 +96,19 @@
 //    [[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_QQ appKey:@"1106703118"appSecret:@"MYFVJZhtygWy5hzh" redirectURL:@"http://mobile.umeng.com/social"];
+    [UMSocialGlobal shareInstance].universalLinkDic =@{@(UMSocialPlatformType_WechatSession):@"https://umplus-sdk-download.oss-cn-shanghai.aliyuncs.com/",
+    @(UMSocialPlatformType_QQ):@"https://umplus-sdk-download.oss-cn-shanghai.aliyuncs.com/qq_conn/101830139",
+     @(UMSocialPlatformType_Sina):@"https://umplus-sdk-download.oss-cn-shanghai.aliyuncs.com/"};
+
+    
+    
+
+    
+    [[UMSocialManager defaultManager] setPlaform:UMSocialPlatformType_WechatSession appKey:@"wx0e6a5b18f4cfd10d" appSecret:@"b9a93038b7481278f7a0e048c0d81770" redirectURL:@"http://mobile.umeng.com/social"];
+    
+    [[UMSocialManager defaultManager] setPlaform:UMSocialPlatformType_QQ appKey:@"1106703118"/*设置QQ平台的appID*/  appSecret:@"MYFVJZhtygWy5hzh" redirectURL:@"http://mobile.umeng.com/social"];
+    
+    
     [WXApi registerApp:@"wx0e6a5b18f4cfd10d" universalLink:@"https:www.jianyu360.cn/"];
 
 }

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

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