瀏覽代碼

1.适配ios微信支付

tags/0.0.7+2
“yanghuaxuan” 3 年之前
父節點
當前提交
7eef13656e
共有 2 個檔案被更改,包括 2 行新增8 行删除
  1. +0
    -6
      ios/zhiying_base_widget.podspec
  2. +2
    -2
      lib/register.dart

+ 0
- 6
ios/zhiying_base_widget.podspec 查看文件

@@ -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 查看文件

@@ -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 秒验


Loading…
取消
儲存