Commit d0945959 by amateur

1

1 parent b0d80ead
......@@ -125,6 +125,7 @@ public class NativeApi {
js.callJs(Result.fail("未安装应用"));
}
final Receiver<Result> shareReceiver = WechatReceiver.getInstance(mActivity);
shareReceiver.register();
shareReceiver.addDefaultListener((action, share) -> {
js.callJs(share);
shareReceiver.addDefaultListener(null);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!