Sfoglia il codice sorgente

1.适配ios微信支付

tags/0.0.7+2
“yanghuaxuan” 3 anni fa
parent
commit
7eef13656e
2 ha cambiato i file con 2 aggiunte e 8 eliminazioni
  1. +0
    -6
      ios/zhiying_base_widget.podspec
  2. +2
    -2
      lib/register.dart

+ 0
- 6
ios/zhiying_base_widget.podspec Vedi File

@@ -16,12 +16,6 @@ A new Flutter plugin.
s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h'
s.dependency 'Flutter'
s.dependency 'mob_sharesdk'
s.dependency 'mob_sharesdk/ShareSDKExtension'
s.dependency 'mob_sharesdk/ShareSDKUI'
s.dependency 'mob_sharesdk/ShareSDKPlatforms/QQ'
s.dependency 'mob_sharesdk/ShareSDKPlatforms/SinaWeibo'
s.dependency 'mob_sharesdk/ShareSDKPlatforms/WeChat'

s.platform = :ios, '8.0'



+ 2
- 2
lib/register.dart Vedi File

@@ -134,8 +134,8 @@ class BaseWidgetRegister {
SharesdkPlugin.regist(register);

///微信支付初始化
bool result = await SyFlutterWechat.register(config?.keys?.weixin?.appId);
print(result);
registerWxApi(appId: config?.keys?.weixin?.appId,universalLink: config?.keys?.weixin?.universalLink);
});

// MOB 秒验


Caricamento…
Annulla
Salva