Browse Source

feat:IM登陆成功

menghui 3 tháng trước cách đây
mục cha
commit
c190c7e4d9

+ 23 - 23
HBuilder-uniPluginDemo/HBuilder-Hello/HBuilder-uniPlugin-Info.plist

@@ -474,29 +474,29 @@
 				</dict>
 			</array>
 		</dict>
-        <dict>
-            <key>hooksClass</key>
-            <string>LiveAppProxy</string>
-            <key>plugins</key>
-            <array>
-                <dict>
-                    <key>class</key>
-                    <string>LiveListComponent</string>
-                    <key>name</key>
-                    <string>WQPlayBallLiveQiu-LiveListComponent</string>
-                    <key>type</key>
-                    <string>component</string>
-                </dict>
-                <dict>
-                    <key>class</key>
-                    <string>LiveModule</string>
-                    <key>name</key>
-                    <string>WQPlayBallLiveQiu-LiveModule</string>
-                    <key>type</key>
-                    <string>module</string>
-                </dict>
-            </array>
-        </dict>
+		<dict>
+			<key>hooksClass</key>
+			<string>LiveAppProxy</string>
+			<key>plugins</key>
+			<array>
+				<dict>
+					<key>class</key>
+					<string>LiveListComponent</string>
+					<key>name</key>
+					<string>WQPlayBallLiveQiu-LiveListComponent</string>
+					<key>type</key>
+					<string>component</string>
+				</dict>
+				<dict>
+					<key>class</key>
+					<string>LiveModule</string>
+					<key>name</key>
+					<string>WQPlayBallLiveQiu-LiveModule</string>
+					<key>type</key>
+					<string>module</string>
+				</dict>
+			</array>
+		</dict>
 	</array>
 	<key>weixin</key>
 	<dict>

+ 5 - 6
HBuilder-uniPluginDemo/HBuilder-uniPlugin.xcodeproj/project.pbxproj

@@ -1845,10 +1845,9 @@
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
 				CLANG_ENABLE_MODULES = YES;
 				CLANG_ENABLE_OBJC_ARC = YES;
-				CODE_SIGN_IDENTITY = "iPhone Developer";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Distribution";
-				CODE_SIGN_STYLE = Manual;
-				DEVELOPMENT_TEAM = YQM5H857L5;
+				CODE_SIGN_IDENTITY = "Apple Development";
+				CODE_SIGN_STYLE = Automatic;
+				DEVELOPMENT_TEAM = 5UR7UXG257;
 				ENABLE_BITCODE = NO;
 				FRAMEWORK_SEARCH_PATHS = (
 					"$(inherited)",
@@ -1883,10 +1882,10 @@
 					"$(inherited)",
 					"-ld_classic",
 				);
-				PRODUCT_BUNDLE_IDENTIFIER = io.dcloud.H;
+				PRODUCT_BUNDLE_IDENTIFIER = com.hongyi.sports;
 				PRODUCT_NAME = UniPluginDemo;
 				PROVISIONING_PROFILE = "";
-				PROVISIONING_PROFILE_SPECIFIER = wildcard;
+				PROVISIONING_PROFILE_SPECIFIER = "";
 				SWIFT_OBJC_BRIDGING_HEADER = "HBuilder-Hello/HBuilder-Bridging-Header.h";
 				SWIFT_VERSION = 5.0;
 				TARGETED_DEVICE_FAMILY = 1;

+ 78 - 0
HBuilder-uniPluginDemo/HBuilder-uniPlugin.xcodeproj/xcshareddata/xcschemes/HBuilder.xcscheme

@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+   LastUpgradeVersion = "1530"
+   version = "1.7">
+   <BuildAction
+      parallelizeBuildables = "YES"
+      buildImplicitDependencies = "YES"
+      buildArchitectures = "Automatic">
+      <BuildActionEntries>
+         <BuildActionEntry
+            buildForTesting = "YES"
+            buildForRunning = "YES"
+            buildForProfiling = "YES"
+            buildForArchiving = "YES"
+            buildForAnalyzing = "YES">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "8EED6297198A1D13000A4449"
+               BuildableName = "UniPluginDemo.app"
+               BlueprintName = "HBuilder"
+               ReferencedContainer = "container:HBuilder-uniPlugin.xcodeproj">
+            </BuildableReference>
+         </BuildActionEntry>
+      </BuildActionEntries>
+   </BuildAction>
+   <TestAction
+      buildConfiguration = "Debug"
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      shouldUseLaunchSchemeArgsEnv = "YES"
+      shouldAutocreateTestPlan = "YES">
+   </TestAction>
+   <LaunchAction
+      buildConfiguration = "Release"
+      selectedDebuggerIdentifier = ""
+      selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
+      launchStyle = "0"
+      useCustomWorkingDirectory = "NO"
+      ignoresPersistentStateOnLaunch = "NO"
+      debugDocumentVersioning = "YES"
+      debugServiceExtension = "internal"
+      allowLocationSimulation = "YES">
+      <BuildableProductRunnable
+         runnableDebuggingMode = "0">
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "8EED6297198A1D13000A4449"
+            BuildableName = "UniPluginDemo.app"
+            BlueprintName = "HBuilder"
+            ReferencedContainer = "container:HBuilder-uniPlugin.xcodeproj">
+         </BuildableReference>
+      </BuildableProductRunnable>
+   </LaunchAction>
+   <ProfileAction
+      buildConfiguration = "Release"
+      shouldUseLaunchSchemeArgsEnv = "YES"
+      savedToolIdentifier = ""
+      useCustomWorkingDirectory = "NO"
+      debugDocumentVersioning = "YES">
+      <BuildableProductRunnable
+         runnableDebuggingMode = "0">
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "8EED6297198A1D13000A4449"
+            BuildableName = "UniPluginDemo.app"
+            BlueprintName = "HBuilder"
+            ReferencedContainer = "container:HBuilder-uniPlugin.xcodeproj">
+         </BuildableReference>
+      </BuildableProductRunnable>
+   </ProfileAction>
+   <AnalyzeAction
+      buildConfiguration = "Debug">
+   </AnalyzeAction>
+   <ArchiveAction
+      buildConfiguration = "Release"
+      revealArchiveInOrganizer = "YES">
+   </ArchiveAction>
+</Scheme>

+ 8 - 0
HBuilder-uniPluginDemo/HBuilder-uniPlugin.xcodeproj/xcuserdata/zhangling.xcuserdatad/xcschemes/xcschememanagement.plist

@@ -10,5 +10,13 @@
 			<integer>22</integer>
 		</dict>
 	</dict>
+	<key>SuppressBuildableAutocreation</key>
+	<dict>
+		<key>8EED6297198A1D13000A4449</key>
+		<dict>
+			<key>primary</key>
+			<true/>
+		</dict>
+	</dict>
 </dict>
 </plist>

+ 8 - 0
HBuilder-uniPluginDemo/Pods/Pods.xcodeproj/project.pbxproj

@@ -374,6 +374,8 @@
 		6417CA4DA88F0DAF22C9B6B196301DC0 /* NSString+unicode.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D984E95B6F4DD8A16A6DBE964B2ECF9 /* NSString+unicode.h */; settings = {ATTRIBUTES = (Public, ); }; };
 		6423D5F0A3F4959487A7C81B0F6492D5 /* HXPhotoEditGridMaskLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CECBD9BC2F2027FB20A595A84CACCE1 /* HXPhotoEditGridMaskLayer.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
 		643F879E50A35CC7539B846B410A38AE /* UIColor+HXExtension.m in Sources */ = {isa = PBXBuildFile; fileRef = 431EAB6121692C0A6C2389706BE3DCEF /* UIColor+HXExtension.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
+		65106F422D2187C800BEA069 /* PBUserInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 65106F412D2187C800BEA069 /* PBUserInfo.m */; };
+		65106F432D2187C800BEA069 /* PBUserInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 65106F402D2187C800BEA069 /* PBUserInfo.h */; };
 		652E61A4EC7A64BB43E1621B4564668E /* PBChatMessageTextCell.h in Headers */ = {isa = PBXBuildFile; fileRef = 41F51365907889AC053FA425DA7D46A9 /* PBChatMessageTextCell.h */; settings = {ATTRIBUTES = (Public, ); }; };
 		65FCE0BF7B6F6710C5025D5F722B555B /* MJRefreshConfig.m in Sources */ = {isa = PBXBuildFile; fileRef = 965D3CD0A8E76B7A4BC06327FCCCBCAD /* MJRefreshConfig.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
 		66026F4CEDEA21F1E41ED03E7EB366E9 /* UILabel+HXExtension.h in Headers */ = {isa = PBXBuildFile; fileRef = FCFF32F41E3D628BC21AC7C0A15381E8 /* UILabel+HXExtension.h */; settings = {ATTRIBUTES = (Public, ); }; };
@@ -1510,6 +1512,8 @@
 		6398F13B441B036A1B49A37EF15BF42A /* AFNetworking.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = AFNetworking.release.xcconfig; sourceTree = "<group>"; };
 		64070E7E443CBECBB108DFAC403E616F /* JXCategoryView.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = JXCategoryView.release.xcconfig; sourceTree = "<group>"; };
 		64453D6D83637C3B0C2184FA8AA2C6A9 /* SDImageIOAnimatedCoder.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDImageIOAnimatedCoder.h; path = SDWebImage/Core/SDImageIOAnimatedCoder.h; sourceTree = "<group>"; };
+		65106F402D2187C800BEA069 /* PBUserInfo.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PBUserInfo.h; sourceTree = "<group>"; };
+		65106F412D2187C800BEA069 /* PBUserInfo.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PBUserInfo.m; sourceTree = "<group>"; };
 		651A5660733617CD97862DA25369C834 /* YYTextArchiver.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = YYTextArchiver.m; path = YYText/String/YYTextArchiver.m; sourceTree = "<group>"; };
 		652C085C94B7DB8718ABFF22F0A1B013 /* HXPhotoView.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = HXPhotoView.h; path = HXPhotoPicker/View/HXPhotoView.h; sourceTree = "<group>"; };
 		653B13BA3D1F5DB0E0F9AD5D1B3DE412 /* HXPhotoEditTransition.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = HXPhotoEditTransition.m; path = HXPhotoPicker/TransitionAnimation/HXPhotoEditTransition.m; sourceTree = "<group>"; };
@@ -3071,6 +3075,8 @@
 				2BB51C429A9FA64BD3AF572C67C195E4 /* PBToken.m */,
 				12F9C3D66BEB6B33D94EE7E8AA6A9C80 /* TokenManager.h */,
 				D28DB7FBCBEB69BC398F2192FF49F157 /* TokenManager.m */,
+				65106F402D2187C800BEA069 /* PBUserInfo.h */,
+				65106F412D2187C800BEA069 /* PBUserInfo.m */,
 			);
 			path = Model;
 			sourceTree = "<group>";
@@ -4683,6 +4689,7 @@
 				EB54A29268942E842A0B1C32E9FE9EF2 /* PBRoomModel.h in Headers */,
 				44523E930B4117E491CC9864B39F7128 /* PBSDK.h in Headers */,
 				ABEA1DC05EDCD0ED9D57DE94E9DE516D /* PBSDK-umbrella.h in Headers */,
+				65106F432D2187C800BEA069 /* PBUserInfo.h in Headers */,
 				D03238F5B03ED4727D8B49B0B2B334CA /* PBSelectActionSheet.h in Headers */,
 				8A9580A69D7469E169F521575E8D252C /* PBToken.h in Headers */,
 				0E84976600543FCE5E92F76E4CC42F2C /* PBTool.h in Headers */,
@@ -5464,6 +5471,7 @@
 				0EE57A2CA3C8DAFAF0B00E9A4FC0C9C4 /* PBSDK-dummy.m in Sources */,
 				1592C061D95A19A1434992644C15C254 /* PBSelectActionSheet.m in Sources */,
 				61717097DA80CAC41A85836D8574A001 /* PBToken.m in Sources */,
+				65106F422D2187C800BEA069 /* PBUserInfo.m in Sources */,
 				7C005783B0496423C22C613581EB3100 /* PBTool.m in Sources */,
 				CAF7FA38A1F0CF9F87886E3DDC82F8BB /* PBUser.m in Sources */,
 				E0620866D86F8E23B77E805C76CC08DD /* PBVC.m in Sources */,

BIN
HBuilder-uniPluginDemo/uniPlugin.xcworkspace/xcuserdata/zhangling.xcuserdatad/UserInterfaceState.xcuserstate


+ 1 - 1
WQPlayBallLiveQiu/WQPlayBallLiveQiu/Classes/LiveModule.m

@@ -59,7 +59,7 @@ UNI_EXPORT_METHOD_SYNC(@selector(sendCommand:))
         
         [TokenManager.shared start];
         //用户信息
-        
+        [PBSDK.shared loginUser];
         
         return;
     }