@convep_mobilogy/react-native-qms-plugin 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +20 -0
- package/QmsPlugin.podspec +32 -0
- package/README.md +3 -0
- package/android/build.gradle +85 -0
- package/android/gradle.properties +5 -0
- package/android/libs/qmsplugin-release.aar +0 -0
- package/android/src/main/AndroidManifest.xml +9 -0
- package/android/src/main/java/com/qmsplugin/QmsPluginModule.kt +38 -0
- package/android/src/main/java/com/qmsplugin/QmsPluginPackage.kt +16 -0
- package/ios/QmsPlugin/QmsDashboardViewManager.mm +50 -0
- package/ios/QmsPlugin/QmsPluginBridge.mm +83 -0
- package/ios/QmsPluginFramework.xcframework/Info.plist +44 -0
- package/ios/QmsPluginFramework.xcframework/ios-arm64/QmsPluginFramework.framework/Assets.car +0 -0
- package/ios/QmsPluginFramework.xcframework/ios-arm64/QmsPluginFramework.framework/Headers/QmsPlugin.h +13 -0
- package/ios/QmsPluginFramework.xcframework/ios-arm64/QmsPluginFramework.framework/Headers/QmsPluginFramework.h +17 -0
- package/ios/QmsPluginFramework.xcframework/ios-arm64/QmsPluginFramework.framework/Info.plist +0 -0
- package/ios/QmsPluginFramework.xcframework/ios-arm64/QmsPluginFramework.framework/Modules/module.modulemap +6 -0
- package/ios/QmsPluginFramework.xcframework/ios-arm64/QmsPluginFramework.framework/QmsPluginFramework +0 -0
- package/ios/QmsPluginFramework.xcframework/ios-arm64/QmsPluginFramework.framework/_CodeSignature/CodeResources +146 -0
- package/ios/QmsPluginFramework.xcframework/ios-arm64_x86_64-simulator/QmsPluginFramework.framework/Assets.car +0 -0
- package/ios/QmsPluginFramework.xcframework/ios-arm64_x86_64-simulator/QmsPluginFramework.framework/Headers/QmsPlugin.h +13 -0
- package/ios/QmsPluginFramework.xcframework/ios-arm64_x86_64-simulator/QmsPluginFramework.framework/Headers/QmsPluginFramework.h +17 -0
- package/ios/QmsPluginFramework.xcframework/ios-arm64_x86_64-simulator/QmsPluginFramework.framework/Info.plist +0 -0
- package/ios/QmsPluginFramework.xcframework/ios-arm64_x86_64-simulator/QmsPluginFramework.framework/Modules/module.modulemap +6 -0
- package/ios/QmsPluginFramework.xcframework/ios-arm64_x86_64-simulator/QmsPluginFramework.framework/QmsPluginFramework +0 -0
- package/ios/QmsPluginFramework.xcframework/ios-arm64_x86_64-simulator/QmsPluginFramework.framework/_CodeSignature/CodeResources +146 -0
- package/lib/module/NativeQmsPlugin.js +6 -0
- package/lib/module/NativeQmsPlugin.js.map +1 -0
- package/lib/module/QmsDashboardView.js +13 -0
- package/lib/module/QmsDashboardView.js.map +1 -0
- package/lib/module/QmsPluginDashboard.js +13 -0
- package/lib/module/QmsPluginDashboard.js.map +1 -0
- package/lib/module/index.js +34 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/src/NativeQmsPlugin.d.ts +7 -0
- package/lib/typescript/src/NativeQmsPlugin.d.ts.map +1 -0
- package/lib/typescript/src/QmsDashboardView.d.ts +8 -0
- package/lib/typescript/src/QmsDashboardView.d.ts.map +1 -0
- package/lib/typescript/src/QmsPluginDashboard.d.ts +14 -0
- package/lib/typescript/src/QmsPluginDashboard.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +3 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/package.json +875 -0
- package/src/NativeQmsPlugin.tsx +8 -0
- package/src/QmsDashboardView.tsx +16 -0
- package/src/QmsPluginDashboard.tsx +24 -0
- package/src/index.tsx +33 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Convep
|
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
6
|
+
in the Software without restriction, including without limitation the rights
|
|
7
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
9
|
+
furnished to do so, subject to the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be included in all
|
|
12
|
+
copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
20
|
+
SOFTWARE.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
require "json"
|
|
2
|
+
|
|
3
|
+
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
4
|
+
|
|
5
|
+
Pod::Spec.new do |s|
|
|
6
|
+
s.name = "QmsPlugin"
|
|
7
|
+
s.version = package["version"]
|
|
8
|
+
s.summary = package["description"]
|
|
9
|
+
s.homepage = package["homepage"]
|
|
10
|
+
s.license = package["license"]
|
|
11
|
+
s.authors = package["author"]
|
|
12
|
+
s.platforms = { :ios => "12.4" }
|
|
13
|
+
|
|
14
|
+
s.source = { :git => "http://convep.ddns.me:20000/WeiHan/weihan-plugin.git", :tag => "#{s.version}" }
|
|
15
|
+
s.source_files = "ios/QmsPlugin/**/*.{h,m,mm,cpp}", "ios/QmsPluginSpec/**/*.{h,mm}"
|
|
16
|
+
s.private_header_files = "ios/QmsPlugin/**/*.h"
|
|
17
|
+
s.public_header_files = "ios/QmsPluginSpec/**/*.h"
|
|
18
|
+
|
|
19
|
+
s.preserve_paths = "ios/QmsPluginFramework.xcframework"
|
|
20
|
+
s.vendored_frameworks = "ios/QmsPluginFramework.xcframework"
|
|
21
|
+
|
|
22
|
+
s.dependency "React-Core"
|
|
23
|
+
s.dependency "ReactCommon"
|
|
24
|
+
s.dependency "React-Codegen"
|
|
25
|
+
|
|
26
|
+
s.pod_target_xcconfig = {
|
|
27
|
+
"DEFINES_MODULE" => "YES",
|
|
28
|
+
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
install_modules_dependencies(s)
|
|
32
|
+
end
|
package/README.md
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
buildscript {
|
|
2
|
+
ext.getExtOrDefault = {name ->
|
|
3
|
+
return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties['QmsPlugin_' + name]
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
repositories {
|
|
7
|
+
google()
|
|
8
|
+
mavenCentral()
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
dependencies {
|
|
12
|
+
classpath "com.android.tools.build:gradle:8.7.2"
|
|
13
|
+
// noinspection DifferentKotlinGradleVersion
|
|
14
|
+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${getExtOrDefault('kotlinVersion')}"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
apply plugin: "com.android.library"
|
|
20
|
+
apply plugin: "kotlin-android"
|
|
21
|
+
|
|
22
|
+
apply plugin: "com.facebook.react"
|
|
23
|
+
|
|
24
|
+
def getExtOrIntegerDefault(name) {
|
|
25
|
+
return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties["QmsPlugin_" + name]).toInteger()
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
android {
|
|
29
|
+
namespace "com.qmsplugin"
|
|
30
|
+
|
|
31
|
+
compileSdkVersion getExtOrIntegerDefault("compileSdkVersion")
|
|
32
|
+
|
|
33
|
+
defaultConfig {
|
|
34
|
+
minSdkVersion getExtOrIntegerDefault("minSdkVersion")
|
|
35
|
+
targetSdkVersion getExtOrIntegerDefault("targetSdkVersion")
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
buildFeatures {
|
|
39
|
+
buildConfig true
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
buildTypes {
|
|
43
|
+
release {
|
|
44
|
+
minifyEnabled false
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
lintOptions {
|
|
49
|
+
disable "GradleCompatible"
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
compileOptions {
|
|
53
|
+
sourceCompatibility JavaVersion.VERSION_1_8
|
|
54
|
+
targetCompatibility JavaVersion.VERSION_1_8
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
sourceSets {
|
|
58
|
+
main {
|
|
59
|
+
java.srcDirs += [
|
|
60
|
+
"generated/java",
|
|
61
|
+
"generated/jni"
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
repositories {
|
|
68
|
+
mavenCentral()
|
|
69
|
+
google()
|
|
70
|
+
flatDir { dirs 'libs' }
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
def kotlin_version = getExtOrDefault("kotlinVersion")
|
|
74
|
+
|
|
75
|
+
dependencies {
|
|
76
|
+
implementation "com.facebook.react:react-android"
|
|
77
|
+
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
78
|
+
compileOnly "com.facebook.react:react-android:+"
|
|
79
|
+
// implementation files('libs/qmsplugin-release.aar')
|
|
80
|
+
implementation files('/Users/alypmustaqim/Desktop/qmsPlugin/qmsplugin/build/outputs/aar/qmsplugin-release.aar')
|
|
81
|
+
implementation "androidx.appcompat:appcompat:1.6.1"
|
|
82
|
+
implementation "com.google.android.material:material:1.12.0"
|
|
83
|
+
implementation "androidx.constraintlayout:constraintlayout:2.2.0"
|
|
84
|
+
|
|
85
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<manifest package="com.qmsplugin" xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
|
+
<application>
|
|
4
|
+
<activity
|
|
5
|
+
android:name=".QmsWelcomeActivity"
|
|
6
|
+
android:exported="false"
|
|
7
|
+
android:theme="@style/Theme.AppCompat.Light.NoActionBar" />
|
|
8
|
+
</application>
|
|
9
|
+
</manifest>
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// QmsPluginModule.kt
|
|
2
|
+
package com.qmsplugin
|
|
3
|
+
|
|
4
|
+
import android.content.Intent
|
|
5
|
+
import com.facebook.react.bridge.*
|
|
6
|
+
import com.convep.qmsplugin.QmsWelcomeActivity
|
|
7
|
+
import com.convep.qmsplugin.dashboard.QmsDashboardActivity
|
|
8
|
+
|
|
9
|
+
class QmsPluginModule(private val ctx: ReactApplicationContext)
|
|
10
|
+
: ReactContextBaseJavaModule(ctx) {
|
|
11
|
+
|
|
12
|
+
override fun getName() = "QmsPlugin"
|
|
13
|
+
|
|
14
|
+
@ReactMethod
|
|
15
|
+
fun openWelcome(promise: Promise) {
|
|
16
|
+
try {
|
|
17
|
+
val intent = Intent(ctx, QmsWelcomeActivity::class.java) // from the AAR
|
|
18
|
+
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
|
|
19
|
+
ctx.startActivity(intent)
|
|
20
|
+
promise.resolve(true)
|
|
21
|
+
} catch (e: Exception) {
|
|
22
|
+
promise.reject("QMS_OPEN_FAIL", e)
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@ReactMethod
|
|
27
|
+
fun openDashboard(promise: Promise) {
|
|
28
|
+
try {
|
|
29
|
+
val intent = Intent(reactApplicationContext, QmsDashboardActivity::class.java)
|
|
30
|
+
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
|
|
31
|
+
reactApplicationContext.startActivity(intent)
|
|
32
|
+
promise.resolve(true)
|
|
33
|
+
} catch (e: Exception) {
|
|
34
|
+
promise.reject("QMS_OPEN_DASHBOARD_FAIL", e)
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
package com.qmsplugin
|
|
2
|
+
|
|
3
|
+
import com.facebook.react.ReactPackage
|
|
4
|
+
import com.facebook.react.bridge.NativeModule
|
|
5
|
+
import com.facebook.react.bridge.ReactApplicationContext
|
|
6
|
+
import com.facebook.react.uimanager.ViewManager
|
|
7
|
+
import com.convep.qmsplugin.dashboard.QmsDashboardManager
|
|
8
|
+
|
|
9
|
+
class QmsPluginPackage : ReactPackage {
|
|
10
|
+
override fun createNativeModules(reactContext: ReactApplicationContext): List<NativeModule> =
|
|
11
|
+
listOf(QmsPluginModule(reactContext))
|
|
12
|
+
|
|
13
|
+
override fun createViewManagers(reactContext: ReactApplicationContext)
|
|
14
|
+
= listOf<com.facebook.react.uimanager.ViewManager<*, *>>(QmsDashboardManager())
|
|
15
|
+
|
|
16
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
#import <React/RCTViewManager.h>
|
|
2
|
+
#import <QmsPluginFramework/QmsPluginFramework.h>
|
|
3
|
+
#import <QmsPluginFramework/QmsPlugin.h>
|
|
4
|
+
|
|
5
|
+
@interface QmsDashboardView : UIView
|
|
6
|
+
@property (nonatomic, strong) UIViewController *dashboardVC;
|
|
7
|
+
@property (nonatomic, assign) BOOL didSetupVC;
|
|
8
|
+
@end
|
|
9
|
+
|
|
10
|
+
@implementation QmsDashboardView
|
|
11
|
+
|
|
12
|
+
- (instancetype)initWithFrame:(CGRect)frame {
|
|
13
|
+
if (self = [super initWithFrame:frame]) {
|
|
14
|
+
_dashboardVC = [QmsPluginUI makeViewController];
|
|
15
|
+
_didSetupVC = NO;
|
|
16
|
+
_dashboardVC.view.backgroundColor = [UIColor whiteColor];
|
|
17
|
+
}
|
|
18
|
+
return self;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
- (void)didMoveToWindow {
|
|
22
|
+
[super didMoveToWindow];
|
|
23
|
+
if (self.window && !_didSetupVC) {
|
|
24
|
+
UIViewController *parentVC = [UIApplication sharedApplication].keyWindow.rootViewController;
|
|
25
|
+
if (parentVC) {
|
|
26
|
+
[parentVC addChildViewController:_dashboardVC];
|
|
27
|
+
_dashboardVC.view.frame = parentVC.view.bounds; // Force full screen
|
|
28
|
+
_dashboardVC.view.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
|
|
29
|
+
[parentVC.view addSubview:_dashboardVC.view]; // Add directly to root VC
|
|
30
|
+
[_dashboardVC didMoveToParentViewController:parentVC];
|
|
31
|
+
_didSetupVC = YES;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@end
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
@interface QmsDashboardViewManager : RCTViewManager
|
|
40
|
+
@end
|
|
41
|
+
|
|
42
|
+
@implementation QmsDashboardViewManager
|
|
43
|
+
|
|
44
|
+
RCT_EXPORT_MODULE(QmsDashboardView)
|
|
45
|
+
|
|
46
|
+
- (UIView *)view {
|
|
47
|
+
return [[QmsDashboardView alloc] init];
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@end
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
#import <React/RCTBridgeModule.h>
|
|
2
|
+
#import "QmsPluginSpec.h"
|
|
3
|
+
#import <QmsPluginFramework/QmsPluginFramework.h>
|
|
4
|
+
|
|
5
|
+
@interface QmsPlugin : NSObject <NativeQmsPluginSpec>
|
|
6
|
+
@end
|
|
7
|
+
|
|
8
|
+
@implementation QmsPlugin
|
|
9
|
+
|
|
10
|
+
RCT_EXPORT_MODULE()
|
|
11
|
+
|
|
12
|
+
- (instancetype)init {
|
|
13
|
+
if (self = [super init]) {
|
|
14
|
+
NSLog(@"[QmsPlugin] Native module initialized");
|
|
15
|
+
NSLog(@"QmsPlugin loaded");
|
|
16
|
+
BOOL responds = [QmsPlugin instancesRespondToSelector:@selector(showPluginUI:reject:)];
|
|
17
|
+
NSLog(@"QmsPlugin responds to showPluginUI:reject:? %@", responds ? @"YES" : @"NO");
|
|
18
|
+
if (![QmsPlugin conformsToProtocol:@protocol(NativeQmsPluginSpec)]) {
|
|
19
|
+
NSLog(@"❌ QmsPlugin does NOT conform to NativeQmsPluginSpec");
|
|
20
|
+
} else {
|
|
21
|
+
NSLog(@"✅ QmsPlugin conforms to NativeQmsPluginSpec");
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
return self;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// Wraps the C function QmsPluginMakeViewController
|
|
28
|
+
- (void)showPluginUI {
|
|
29
|
+
NSLog(@"[QmsPlugin] showPluginUI CALLED from JS");
|
|
30
|
+
|
|
31
|
+
dispatch_async(dispatch_get_main_queue(), ^{
|
|
32
|
+
UIViewController *vc = [QmsPluginUI makeViewController];
|
|
33
|
+
NSLog(@"[QmsPlugin] created Dashboard VC: %@", vc);
|
|
34
|
+
|
|
35
|
+
UIWindow *keyWindow = UIApplication.sharedApplication.keyWindow;
|
|
36
|
+
if (!keyWindow) {
|
|
37
|
+
for (UIWindowScene *scene in UIApplication.sharedApplication.connectedScenes) {
|
|
38
|
+
if (scene.activationState == UISceneActivationStateForegroundActive) {
|
|
39
|
+
for (UIWindow *window in scene.windows) {
|
|
40
|
+
if (window.isKeyWindow) {
|
|
41
|
+
keyWindow = window;
|
|
42
|
+
break;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
if (keyWindow) break;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
if (!keyWindow) {
|
|
51
|
+
NSLog(@"[QmsPlugin] ❌ ERROR: Could not find key window");
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
UIViewController *presentingVC = keyWindow.rootViewController;
|
|
56
|
+
while (presentingVC.presentedViewController) {
|
|
57
|
+
presentingVC = presentingVC.presentedViewController;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
if (!presentingVC) {
|
|
61
|
+
NSLog(@"[QmsPlugin] ❌ ERROR: No presenting VC found");
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
NSLog(@"[QmsPlugin] Presenting Dashboard from %@", presentingVC);
|
|
66
|
+
[presentingVC presentViewController:vc animated:YES completion:^{
|
|
67
|
+
NSLog(@"[QmsPlugin] ✅ Dashboard UI presented successfully");
|
|
68
|
+
}];
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
// TurboModule boilerplate
|
|
74
|
+
- (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:
|
|
75
|
+
(const facebook::react::ObjCTurboModule::InitParams &)params
|
|
76
|
+
{
|
|
77
|
+
NSLog(@"[QmsPlugin] getTurboModule called");
|
|
78
|
+
auto module = std::make_shared<facebook::react::NativeQmsPluginSpecJSI>(params);
|
|
79
|
+
NSLog(@"[QmsPlugin] TurboModule created: %p", module.get());
|
|
80
|
+
return module;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@end
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>AvailableLibraries</key>
|
|
6
|
+
<array>
|
|
7
|
+
<dict>
|
|
8
|
+
<key>BinaryPath</key>
|
|
9
|
+
<string>QmsPluginFramework.framework/QmsPluginFramework</string>
|
|
10
|
+
<key>LibraryIdentifier</key>
|
|
11
|
+
<string>ios-arm64_x86_64-simulator</string>
|
|
12
|
+
<key>LibraryPath</key>
|
|
13
|
+
<string>QmsPluginFramework.framework</string>
|
|
14
|
+
<key>SupportedArchitectures</key>
|
|
15
|
+
<array>
|
|
16
|
+
<string>arm64</string>
|
|
17
|
+
<string>x86_64</string>
|
|
18
|
+
</array>
|
|
19
|
+
<key>SupportedPlatform</key>
|
|
20
|
+
<string>ios</string>
|
|
21
|
+
<key>SupportedPlatformVariant</key>
|
|
22
|
+
<string>simulator</string>
|
|
23
|
+
</dict>
|
|
24
|
+
<dict>
|
|
25
|
+
<key>BinaryPath</key>
|
|
26
|
+
<string>QmsPluginFramework.framework/QmsPluginFramework</string>
|
|
27
|
+
<key>LibraryIdentifier</key>
|
|
28
|
+
<string>ios-arm64</string>
|
|
29
|
+
<key>LibraryPath</key>
|
|
30
|
+
<string>QmsPluginFramework.framework</string>
|
|
31
|
+
<key>SupportedArchitectures</key>
|
|
32
|
+
<array>
|
|
33
|
+
<string>arm64</string>
|
|
34
|
+
</array>
|
|
35
|
+
<key>SupportedPlatform</key>
|
|
36
|
+
<string>ios</string>
|
|
37
|
+
</dict>
|
|
38
|
+
</array>
|
|
39
|
+
<key>CFBundlePackageType</key>
|
|
40
|
+
<string>XFWK</string>
|
|
41
|
+
<key>XCFrameworkFormatVersion</key>
|
|
42
|
+
<string>1.0</string>
|
|
43
|
+
</dict>
|
|
44
|
+
</plist>
|
|
Binary file
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//
|
|
2
|
+
// QmsPluginFramework.h
|
|
3
|
+
// QmsPluginFramework
|
|
4
|
+
//
|
|
5
|
+
|
|
6
|
+
#import <Foundation/Foundation.h>
|
|
7
|
+
#import <UIKit/UIKit.h>
|
|
8
|
+
|
|
9
|
+
//! Project version number for QmsPluginFramework.
|
|
10
|
+
FOUNDATION_EXPORT double QmsPluginFrameworkVersionNumber;
|
|
11
|
+
|
|
12
|
+
//! Project version string for QmsPluginFramework.
|
|
13
|
+
FOUNDATION_EXPORT const unsigned char QmsPluginFrameworkVersionString[];
|
|
14
|
+
|
|
15
|
+
// Public headers
|
|
16
|
+
#import <QmsPluginFramework/QmsPlugin.h>
|
|
17
|
+
|
|
Binary file
|
package/ios/QmsPluginFramework.xcframework/ios-arm64/QmsPluginFramework.framework/QmsPluginFramework
ADDED
|
Binary file
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>files</key>
|
|
6
|
+
<dict>
|
|
7
|
+
<key>Assets.car</key>
|
|
8
|
+
<data>
|
|
9
|
+
EqtjfGVJUrKupCnFW6lfffSo2ZA=
|
|
10
|
+
</data>
|
|
11
|
+
<key>Headers/QmsPlugin.h</key>
|
|
12
|
+
<data>
|
|
13
|
+
46196FWEMwEuy8Dd/6jLyvdFEok=
|
|
14
|
+
</data>
|
|
15
|
+
<key>Headers/QmsPluginFramework.h</key>
|
|
16
|
+
<data>
|
|
17
|
+
jlHmWnGf08fskfPJb//4vaShDlo=
|
|
18
|
+
</data>
|
|
19
|
+
<key>Info.plist</key>
|
|
20
|
+
<data>
|
|
21
|
+
w8N5kkR8hr/wIwb/x0XA5+wVpdo=
|
|
22
|
+
</data>
|
|
23
|
+
<key>Modules/module.modulemap</key>
|
|
24
|
+
<data>
|
|
25
|
+
BD9YnWBkeFmDcuOl4cAjALd/7yw=
|
|
26
|
+
</data>
|
|
27
|
+
</dict>
|
|
28
|
+
<key>files2</key>
|
|
29
|
+
<dict>
|
|
30
|
+
<key>Assets.car</key>
|
|
31
|
+
<dict>
|
|
32
|
+
<key>hash2</key>
|
|
33
|
+
<data>
|
|
34
|
+
k78SvGog/XWiM8sEWRQ8ZyFHnocCgVMjS4SisBwChjI=
|
|
35
|
+
</data>
|
|
36
|
+
</dict>
|
|
37
|
+
<key>Headers/QmsPlugin.h</key>
|
|
38
|
+
<dict>
|
|
39
|
+
<key>hash2</key>
|
|
40
|
+
<data>
|
|
41
|
+
uuQ2Omt7lnrShVFriPpMiXZhx8kx6Km97GxC3m1ro+A=
|
|
42
|
+
</data>
|
|
43
|
+
</dict>
|
|
44
|
+
<key>Headers/QmsPluginFramework.h</key>
|
|
45
|
+
<dict>
|
|
46
|
+
<key>hash2</key>
|
|
47
|
+
<data>
|
|
48
|
+
/9Qe6QJ19ZC61+OfPl2+OZK1DI2Wa1lS++m7D41g3zI=
|
|
49
|
+
</data>
|
|
50
|
+
</dict>
|
|
51
|
+
<key>Modules/module.modulemap</key>
|
|
52
|
+
<dict>
|
|
53
|
+
<key>hash2</key>
|
|
54
|
+
<data>
|
|
55
|
+
e+P6RtiuicqWfZ3H2B43r960DPkFwUWqXKWU+w7OVD0=
|
|
56
|
+
</data>
|
|
57
|
+
</dict>
|
|
58
|
+
</dict>
|
|
59
|
+
<key>rules</key>
|
|
60
|
+
<dict>
|
|
61
|
+
<key>^.*</key>
|
|
62
|
+
<true/>
|
|
63
|
+
<key>^.*\.lproj/</key>
|
|
64
|
+
<dict>
|
|
65
|
+
<key>optional</key>
|
|
66
|
+
<true/>
|
|
67
|
+
<key>weight</key>
|
|
68
|
+
<real>1000</real>
|
|
69
|
+
</dict>
|
|
70
|
+
<key>^.*\.lproj/locversion.plist$</key>
|
|
71
|
+
<dict>
|
|
72
|
+
<key>omit</key>
|
|
73
|
+
<true/>
|
|
74
|
+
<key>weight</key>
|
|
75
|
+
<real>1100</real>
|
|
76
|
+
</dict>
|
|
77
|
+
<key>^Base\.lproj/</key>
|
|
78
|
+
<dict>
|
|
79
|
+
<key>weight</key>
|
|
80
|
+
<real>1010</real>
|
|
81
|
+
</dict>
|
|
82
|
+
<key>^version.plist$</key>
|
|
83
|
+
<true/>
|
|
84
|
+
</dict>
|
|
85
|
+
<key>rules2</key>
|
|
86
|
+
<dict>
|
|
87
|
+
<key>.*\.dSYM($|/)</key>
|
|
88
|
+
<dict>
|
|
89
|
+
<key>weight</key>
|
|
90
|
+
<real>11</real>
|
|
91
|
+
</dict>
|
|
92
|
+
<key>^(.*/)?\.DS_Store$</key>
|
|
93
|
+
<dict>
|
|
94
|
+
<key>omit</key>
|
|
95
|
+
<true/>
|
|
96
|
+
<key>weight</key>
|
|
97
|
+
<real>2000</real>
|
|
98
|
+
</dict>
|
|
99
|
+
<key>^.*</key>
|
|
100
|
+
<true/>
|
|
101
|
+
<key>^.*\.lproj/</key>
|
|
102
|
+
<dict>
|
|
103
|
+
<key>optional</key>
|
|
104
|
+
<true/>
|
|
105
|
+
<key>weight</key>
|
|
106
|
+
<real>1000</real>
|
|
107
|
+
</dict>
|
|
108
|
+
<key>^.*\.lproj/locversion.plist$</key>
|
|
109
|
+
<dict>
|
|
110
|
+
<key>omit</key>
|
|
111
|
+
<true/>
|
|
112
|
+
<key>weight</key>
|
|
113
|
+
<real>1100</real>
|
|
114
|
+
</dict>
|
|
115
|
+
<key>^Base\.lproj/</key>
|
|
116
|
+
<dict>
|
|
117
|
+
<key>weight</key>
|
|
118
|
+
<real>1010</real>
|
|
119
|
+
</dict>
|
|
120
|
+
<key>^Info\.plist$</key>
|
|
121
|
+
<dict>
|
|
122
|
+
<key>omit</key>
|
|
123
|
+
<true/>
|
|
124
|
+
<key>weight</key>
|
|
125
|
+
<real>20</real>
|
|
126
|
+
</dict>
|
|
127
|
+
<key>^PkgInfo$</key>
|
|
128
|
+
<dict>
|
|
129
|
+
<key>omit</key>
|
|
130
|
+
<true/>
|
|
131
|
+
<key>weight</key>
|
|
132
|
+
<real>20</real>
|
|
133
|
+
</dict>
|
|
134
|
+
<key>^embedded\.provisionprofile$</key>
|
|
135
|
+
<dict>
|
|
136
|
+
<key>weight</key>
|
|
137
|
+
<real>20</real>
|
|
138
|
+
</dict>
|
|
139
|
+
<key>^version\.plist$</key>
|
|
140
|
+
<dict>
|
|
141
|
+
<key>weight</key>
|
|
142
|
+
<real>20</real>
|
|
143
|
+
</dict>
|
|
144
|
+
</dict>
|
|
145
|
+
</dict>
|
|
146
|
+
</plist>
|
|
Binary file
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//
|
|
2
|
+
// QmsPluginFramework.h
|
|
3
|
+
// QmsPluginFramework
|
|
4
|
+
//
|
|
5
|
+
|
|
6
|
+
#import <Foundation/Foundation.h>
|
|
7
|
+
#import <UIKit/UIKit.h>
|
|
8
|
+
|
|
9
|
+
//! Project version number for QmsPluginFramework.
|
|
10
|
+
FOUNDATION_EXPORT double QmsPluginFrameworkVersionNumber;
|
|
11
|
+
|
|
12
|
+
//! Project version string for QmsPluginFramework.
|
|
13
|
+
FOUNDATION_EXPORT const unsigned char QmsPluginFrameworkVersionString[];
|
|
14
|
+
|
|
15
|
+
// Public headers
|
|
16
|
+
#import <QmsPluginFramework/QmsPlugin.h>
|
|
17
|
+
|
|
Binary file
|