jianghan 2 kuukautta sitten
vanhempi
commit
8312a416b1

+ 3 - 3
ios/JianYuIOS/JianYuIOS.xcodeproj/project.pbxproj

@@ -3,7 +3,7 @@
 	archiveVersion = 1;
 	classes = {
 	};
-	objectVersion = 52;
+	objectVersion = 60;
 	objects = {
 
 /* Begin PBXBuildFile section */
@@ -203,8 +203,8 @@
 		7617084F2735284200B60AD8 /* UIImage+GIFImage.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "UIImage+GIFImage.m"; sourceTree = "<group>"; };
 		761BCA61272A816900259676 /* JYNewMessViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = JYNewMessViewController.h; sourceTree = "<group>"; };
 		761BCA62272A816900259676 /* JYNewMessViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = JYNewMessViewController.m; sourceTree = "<group>"; };
-		764DA0692DDAD24A00AEBE7F /* UMCommon.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = UMCommon.xcframework; sourceTree = "<group>"; };
-		764DA06A2DDAD24A00AEBE7F /* UMDevice.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = UMDevice.xcframework; sourceTree = "<group>"; };
+		764DA0692DDAD24A00AEBE7F /* UMCommon.xcframework */ = {isa = PBXFileReference; expectedSignature = "AppleDeveloperProgram:486K7NX823:Umeng Corporation"; lastKnownFileType = wrapper.xcframework; path = UMCommon.xcframework; sourceTree = "<group>"; };
+		764DA06A2DDAD24A00AEBE7F /* UMDevice.xcframework */ = {isa = PBXFileReference; expectedSignature = "AppleDeveloperProgram:486K7NX823:Umeng Corporation"; lastKnownFileType = wrapper.xcframework; path = UMDevice.xcframework; sourceTree = "<group>"; };
 		764DA06F2DDAD24A00AEBE7F /* UMSocialSDKResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = UMSocialSDKResources.bundle; sourceTree = "<group>"; };
 		764DA0702DDAD24A00AEBE7F /* UShareUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = UShareUI.framework; sourceTree = "<group>"; };
 		764DA0712DDAD24A00AEBE7F /* UMShare.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = UMShare.framework; sourceTree = "<group>"; };

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


+ 16 - 0
ios/JianYuIOS/JianYuIOS.xcworkspace/xcuserdata/jhw.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -20,5 +20,21 @@
             landmarkType = "7">
          </BreakpointContent>
       </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "CB3FFBC0-1F19-4C9F-930F-84984B9FE445"
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "JianYuIOS/AppDelegate.m"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "431"
+            endingLineNumber = "431"
+            landmarkName = "-application:openURL:sourceApplication:annotation:"
+            landmarkType = "7">
+         </BreakpointContent>
+      </BreakpointProxy>
    </Breakpoints>
 </Bucket>

+ 14 - 5
ios/JianYuIOS/JianYuIOS/AppDelegate.m

@@ -98,11 +98,11 @@
     
 
     // 微信、QQ、微博完整版会校验合法的universalLink,不设置会在初始化平台失败
-       //配置微信Universal Link需注意 universalLinkDic的key是rawInt类型,不是枚举类型 ,即为 UMSocialPlatformType.wechatSession.rawInt
-    [UMSocialGlobal shareInstance].universalLinkDic =@{@(UMSocialPlatformType_WechatSession):@"https://www.jianyu360.cn/",
-    @(UMSocialPlatformType_QQ):@"https://www.jianyu360.cn/qq_conn/1106734232"
-   };
-    
+   //配置微信Universal Link需注意 universalLinkDic的key是rawInt类型,不是枚举类型 ,即为 UMSocialPlatformType.wechatSession.rawInt
+        [UMSocialGlobal shareInstance].universalLinkDic =@{@(UMSocialPlatformType_WechatSession):@"https://www.jianyu360.cn/",
+        @(UMSocialPlatformType_QQ):@"https://www.jianyu360.cn/qq_conn/1106734232"
+       };
+        
     
 
     //@"http://mobile.umeng.com/social"
@@ -476,6 +476,15 @@ didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken{
     return result;
 }
 
+#pragma mark Universal Links 系统回调
+-(BOOL)application:(UIApplication*)application continueUserActivity:(NSUserActivity*)userActivity restorationHandler:(void(^)(NSArray* __nullable restorableObjects))restorationHandler
+{
+if(![[UMSocialManager defaultManager] handleUniversalLink:userActivity options:nil]){
+// 其他SDK的回调
+}
+return YES;
+}
+
 #pragma mark 微信支付代理方法
 -(void)onResp:(BaseResp*)resp{
     NSLog(@"收到 微信 回执");