提交 c359763a authored 作者: JarvanMo's avatar JarvanMo

fix #207

上级 4875aab6
......@@ -56,6 +56,7 @@ public class FluwxPlugin : FlutterPlugin, MethodCallHandler, ActivityAware {
call.method == "launchMiniProgram" -> launchMiniProgram(call, result)
call.method == "subscribeMsg" -> subScribeMsg(call, result)
call.method == "autoDeduct" -> signAutoDeduct(call, result)
call.method == "openWXApp" -> openWXApp(result)
call.method.startsWith("share") -> shareHandler?.share(call, result)
call.method == "isWeChatInstalled" -> WXAPiHandler.checkWeChatInstallation(result)
else -> result.notImplemented()
......@@ -167,4 +168,6 @@ public class FluwxPlugin : FlutterPlugin, MethodCallHandler, ActivityAware {
val done = WXAPiHandler.wxApi?.sendReq(req)
result.success(WXAPiHandler.wxApi?.sendReq(req))
}
private fun openWXApp(result: MethodChannel.Result) = result.success(WXAPiHandler.wxApi?.openWXApp())
}
......@@ -80,7 +80,7 @@ packages:
path: ".."
relative: true
source: path
version: "2.0.5+1"
version: "2.0.6+2"
image:
dependency: transitive
description:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论