Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在插件中调起微信、QQ支付和分享,有什么好的思路 #168

Closed
JackCho opened this issue Apr 21, 2016 · 7 comments
Closed

Comments

@JackCho
Copy link
Contributor

JackCho commented Apr 21, 2016

我目前的想法是这样的,以Host的身份去完成这些操作,如微信支付完毕后回调的host的.wxapi.WxPayEnteryActivity,然后再去调起插件的WxPayEnteryActivity。
这样实现的话,会导致插件APK和宿主APK都要有一套支付账号,如果业务上不可承受的话,还有其他更优的做法么?

@mdhuang
Copy link

mdhuang commented May 2, 2016

这个问题确实很苦恼,微信SDK对应用进行了校验,插件无法正常地调用微信SDK,关注这个问题的进展

@asLody
Copy link
Member

asLody commented May 2, 2016

近期提交将支持微信和QQ的SDK。

@mdhuang
Copy link

mdhuang commented May 3, 2016

非常赞。能否先描述一下解决思路,项目中现在遇到了这个问题比较急

@JackCho
Copy link
Contributor Author

JackCho commented May 3, 2016

同求,看下能否避免上面描述的情况

@yuhuayi
Copy link

yuhuayi commented Jun 23, 2016

@asLody 请问相关代码已经提交了吗,我测试的时候,发现通过插件有几率性的可以调起微信分享(但是回调WXEntryActivity 从来没成功过)。不清楚具体原因是什么,只是简单测试分享了

@HugoLiDev
Copy link

#262
我只验证了微信分享,支付。
如果用户没有登录,这时候可以唤起分享,支付的。
如果用户登陆了,微信对应用有校验,是不能唤起的。

@cmzy
Copy link
Member

cmzy commented Mar 23, 2017

可以看下这个:#262 (comment)

@cmzy cmzy closed this as completed Mar 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants