menghui 7 сар өмнө
parent
commit
c873092402

+ 1 - 1
HBuilder-uniPluginDemo/DCTestUniPlugin/DCTestUniPlugin.xcodeproj/xcuserdata/zhangling.xcuserdatad/xcschemes/xcschememanagement.plist

@@ -7,7 +7,7 @@
 		<key>DCTestUniPlugin.xcscheme_^#shared#^_</key>
 		<dict>
 			<key>orderHint</key>
-			<integer>3</integer>
+			<integer>0</integer>
 		</dict>
 	</dict>
 </dict>

+ 61 - 0
HBuilder-uniPluginDemo/DCTestUniPlugin/DCTestUniPlugin/TestModule.m

@@ -10,6 +10,14 @@
 
 @implementation TestModule
 
+- (instancetype)init
+{
+    self = [super init];
+    if (self) {
+        
+    }
+    return self;
+}
 // 通过宏 UNI_EXPORT_METHOD 将异步方法暴露给 js 端
 UNI_EXPORT_METHOD(@selector(testAsyncFunc:callback:))
 
@@ -46,4 +54,57 @@ UNI_EXPORT_METHOD_SYNC(@selector(testSyncFunc:))
     return @"success";
 }
 
+
+// 通过宏 UNI_EXPORT_METHOD_SYNC 将同步方法暴露给 js 端
+UNI_EXPORT_METHOD_SYNC(@selector(sendCommand:))
+
+/// 同步方法(注:同步方法会在 js 线程执行)
+/// @param options js 端调用方法时传递的参数
+- (void)sendCommand:(NSString *)jsonString {
+    // options 为 js 端调用此方法时传递的参数
+    NSLog(@"%@",jsonString);
+
+    /*
+     可以在该方法中实现原生功能,然后直接通过 return 返回参数给 js
+     */
+
+    // 同步返回参数给 js 端 注:只支持返回 String 或 NSDictionary (map) 类型
+
+}
+
+// 通过宏 UNI_EXPORT_METHOD 将异步方法暴露给 js 端
+UNI_EXPORT_METHOD(@selector(setupConfigCallback:))
+
+/// 异步方法(注:异步方法会在主线程(UI线程)执行)
+/// @param options js 端调用方法时传递的参数
+/// @param callback 回调方法,回传参数给 js 端
+- (void)setupConfigCallback:(UniModuleKeepAliveCallback)callback {
+    // options 为 js 端调用此方法时传递的参数
+//    NSLog(@"%@",options);
+//    {
+//        //过滤异常数据
+//        NSMutableDictionary *parsms = [NSMutableDictionary dictionary];
+//        [options  enumerateKeysAndObjectsUsingBlock:^(id  _Nonnull key, id  _Nonnull obj, BOOL * _Nonnull stop) {
+//            if(![obj isKindOfClass:NSNull.class]){
+//                parsms[key] = obj;
+//            }
+//        }];
+//        options = parsms;
+//    }
+//
+//    WQOptions *parsms =  [WQOptions mj_objectWithKeyValues:options];
+//
+//    int cmd= parsms.cmd;
+//    if(cmd == 2000){
+//        [PBSDK.shared openLive];
+//    }
+    
+    // 可以在该方法中实现原生能力,然后通过 callback 回调到 js
+
+    // 回调方法,传递参数给 js 端 注:只支持返回 String 或 NSDictionary (map) 类型
+//    if (callback) {
+//        // 第一个参数为回传给js端的数据,第二个参数为标识,表示该回调方法是否支持多次调用,如果原生端需要多次回调js端则第二个参数传 YES;
+//        callback(@"success",NO);
+//    }
+}
 @end

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
HBuilder-uniPluginDemo/HBuilder-Hello/Pandora/apps/__UNI__9F88893/www/app-service.js


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
HBuilder-uniPluginDemo/HBuilder-Hello/Pandora/apps/__UNI__9F88893/www/manifest.json


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
HBuilder-uniPluginDemo/HBuilder-Hello/Pandora/apps/__UNI__9F88893/www/pages/live/index.js


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 452 - 443
HBuilder-uniPluginDemo/Pods/Pods.xcodeproj/project.pbxproj


+ 3 - 3
HBuilder-uniPluginDemo/Pods/Pods.xcodeproj/xcuserdata/zhangling.xcuserdatad/xcschemes/xcschememanagement.plist

@@ -9,21 +9,21 @@
 			<key>isShown</key>
 			<false/>
 			<key>orderHint</key>
-			<integer>0</integer>
+			<integer>1</integer>
 		</dict>
 		<key>AgoraInfra_iOS.xcscheme</key>
 		<dict>
 			<key>isShown</key>
 			<false/>
 			<key>orderHint</key>
-			<integer>1</integer>
+			<integer>2</integer>
 		</dict>
 		<key>AgoraRtcEngine_iOS.xcscheme</key>
 		<dict>
 			<key>isShown</key>
 			<false/>
 			<key>orderHint</key>
-			<integer>2</integer>
+			<integer>3</integer>
 		</dict>
 		<key>HXPhotoPickerObjC.xcscheme</key>
 		<dict>

+ 7 - 5
HBuilder-uniPluginDemo/Pods/Target Support Files/PBSDK/PBSDK-umbrella.h

@@ -28,16 +28,18 @@
 #import "PBChatRoomViewController.h"
 #import "EaseChatBarEmoticonView.h"
 #import "EaseChatViewModel.h"
-#import "EaseCollectionInputBarExtCell.h"
-#import "EaseCollectionLongPressCell.h"
 #import "EaseEmojiHelper.h"
 #import "EaseEmoticonGroup.h"
-#import "EaseExtFuncModel.h"
-#import "EaseExtMenuModel.h"
 #import "EaseTextView.h"
 #import "EMChatBar.h"
-#import "EMMoreFunctionView.h"
+#import "PBExtMenuModel.h"
+#import "PBGiftBoxContentView.h"
+#import "PBGiftBoxView.h"
 #import "HorizontalLayout.h"
+#import "PBCollectionInputBarExtCell.h"
+#import "PBCollectionLongPressCell.h"
+#import "PBExtFuncModel.h"
+#import "PBMoreFunctionView.h"
 #import "PBChatMessageTextCell.h"
 #import "PBVideoPlayerView.h"
 #import "PBHomeChildCell.h"

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


+ 50 - 2
HBuilder-uniPluginDemo/uniPlugin.xcworkspace/xcuserdata/zhangling.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -80,8 +80,56 @@
             endingColumnNumber = "9223372036854775807"
             startingLineNumber = "48"
             endingLineNumber = "48"
-            landmarkName = "-setupConfigCallback:"
-            landmarkType = "7">
+            landmarkName = "LiveModule"
+            landmarkType = "3">
+         </BreakpointContent>
+      </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "61B860F4-A3FE-47E5-81AD-34C8B8A3EE4C"
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "DCTestUniPlugin/DCTestUniPlugin/TestModule.m"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "82"
+            endingLineNumber = "82"
+            landmarkName = "TestModule"
+            landmarkType = "3">
+         </BreakpointContent>
+      </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "5B263DDF-C7D3-470A-B33E-A669242C816A"
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "DCTestUniPlugin/DCTestUniPlugin/TestModule.m"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "64"
+            endingLineNumber = "64"
+            landmarkName = "TestModule"
+            landmarkType = "3">
+         </BreakpointContent>
+      </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "AD2AA8FD-4E31-4B77-80B2-E1C23132E35A"
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "DCTestUniPlugin/DCTestUniPlugin/TestModule.m"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "47"
+            endingLineNumber = "47"
+            landmarkName = "TestModule"
+            landmarkType = "3">
          </BreakpointContent>
       </BreakpointProxy>
    </Breakpoints>

+ 2 - 2
WQPlayBallLiveQiu/README.md

@@ -1,6 +1,6 @@
 # WQPlayBallLiveQiu
 
-[![CI Status](https://img.shields.io/travis/menghui/WQPlayBallLiveQiu.svg?style=flat)](https://travis-ci.org/menghui/WQPlayBallLiveQiu)
+[![CI Status](https://img.shields.io/travis/xx/WQPlayBallLiveQiu.svg?style=flat)](https://travis-ci.org/xx/WQPlayBallLiveQiu)
 [![Version](https://img.shields.io/cocoapods/v/WQPlayBallLiveQiu.svg?style=flat)](https://cocoapods.org/pods/WQPlayBallLiveQiu)
 [![License](https://img.shields.io/cocoapods/l/WQPlayBallLiveQiu.svg?style=flat)](https://cocoapods.org/pods/WQPlayBallLiveQiu)
 [![Platform](https://img.shields.io/cocoapods/p/WQPlayBallLiveQiu.svg?style=flat)](https://cocoapods.org/pods/WQPlayBallLiveQiu)
@@ -22,7 +22,7 @@ pod 'WQPlayBallLiveQiu'
 
 ## Author
 
-menghui, menhui222@163.com
+xx, xx@163.com
 
 ## License
 

+ 0 - 0
WQPlayBallLiveQiu/WQPlayBallLiveQiu/Classes/ReplaceMe.m


+ 1 - 1
WQPlayBallLiveQiu/WQPlayBallLiveQiu/Classes/WQOptions.h

@@ -2,7 +2,7 @@
 //  WQOptions.h
 //  WQPlayBallLiveQiu
 //
-//  Created by 章玲 on 2024/12/27.
+//  Created by xx on 2024/12/27.
 //
 
 #import <Foundation/Foundation.h>

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

@@ -2,7 +2,7 @@
 //  WQOptions.m
 //  WQPlayBallLiveQiu
 //
-//  Created by 章玲 on 2024/12/27.
+//  Created by xx on 2024/12/27.
 //
 
 #import "WQOptions.h"

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно