Commit d6d9a637 authored by Wei Han's avatar Wei Han

code update

parent 194ea20c
...@@ -9,7 +9,7 @@ Pod::Spec.new do |s| ...@@ -9,7 +9,7 @@ Pod::Spec.new do |s|
s.homepage = package["homepage"] s.homepage = package["homepage"]
s.license = package["license"] s.license = package["license"]
s.authors = package["author"] s.authors = package["author"]
s.platforms = { :ios => "15.1"} s.platforms = { :ios => "12.4"}
s.source = { :git => "http://convep.ddns.me:20000/WeiHan/weihan-plugin.git", :tag => "#{s.version}" } s.source = { :git => "http://convep.ddns.me:20000/WeiHan/weihan-plugin.git", :tag => "#{s.version}" }
s.source_files = "ios/QmsPlugin/**/*.{h,m,mm,cpp}" s.source_files = "ios/QmsPlugin/**/*.{h,m,mm,cpp}"
......
...@@ -11,7 +11,7 @@ RCT_EXPORT_MODULE() ...@@ -11,7 +11,7 @@ RCT_EXPORT_MODULE()
RCT_EXPORT_METHOD(showPluginUI) RCT_EXPORT_METHOD(showPluginUI)
{ {
[self showPluginUI]; [self showPluginUIInternal];
} }
- (instancetype)init { - (instancetype)init {
...@@ -30,7 +30,7 @@ RCT_EXPORT_METHOD(showPluginUI) ...@@ -30,7 +30,7 @@ RCT_EXPORT_METHOD(showPluginUI)
} }
// Wraps the C function QmsPluginMakeViewController // Wraps the C function QmsPluginMakeViewController
- (void)showPluginUI { - (void)showPluginUIInternal {
NSLog(@"[QmsPlugin] showPluginUI CALLED from JS"); NSLog(@"[QmsPlugin] showPluginUI CALLED from JS");
dispatch_async(dispatch_get_main_queue(), ^{ dispatch_async(dispatch_get_main_queue(), ^{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment