Comments (8)
解决了没有
from react-native-wx.
应该是回调类没写再试下
from react-native-wx.
RN0.25, 目前安卓上测试 没有返回结果,何解?
from react-native-wx.
@crystalxmumu 我是这样写的 android确实在有些机器上接收不到回调 有些机器正常的
WechatAPI.login({scope:'snsapi_userinfo'}).
then((result)=> {
ToastAndroid.show('登录成功!', ToastAndroid.LONG);
this.loginWXGET(result.code);
} ,function(fail){
ToastAndroid.show('授权失败' + fail, ToastAndroid.LONG);
}).catch(function (e){
ToastAndroid.show('其他异常错误' , ToastAndroid.LONG);
});
from react-native-wx.
android 支付闪退猜测是传值有问题 纯数字的JSON VALUE值即使加了引号传递到原生层好像变成了数值类型,没有深入研究,只是个猜测,解决办法就是 再加个空字符串强制成文本类型 “1234”+“”
from react-native-wx.
@xgongya 登录是有登录结果的,我是说在安卓上支付没有返回结果,目前我是发现 如果我这边进行2次微信登录,每次都点关闭,然后再在我原来界面上用账号密码登录,就会闪退
调试模式下,出红屏,报数组越界
from react-native-wx.
@xgongya 目前支付倒是没出现闪退,我是使用后台将数据传给app的,所以json的key,value 都有自带双引号
from react-native-wx.
@crystalxmumu你支付ok不,我从后台拿到data : {
partnerId: "",
prepayId: "",
nonceStr: "",
timeStamp: "",
package: "",
sign: "",
}的值,微信的支付接口没调起来,返回error,什么信息都没有
from react-native-wx.
Related Issues (20)
- 分享没有回调嘛 HOT 7
- 请问现在有获得用户openid的Api吗?
- 不支持 react-native: 0.35.0? HOT 1
- 自动link for安卓好像有点问题 HOT 2
- APP端支付无法调起
- 在微信登录页面点击返回后app会崩掉然后重新打开。 HOT 10
- run-android报错 HOT 1
- iOS 下 login 方法无返回结果 HOT 4
- react-native run-android时输出:
- Android 分享文字内容给好友失败 HOT 3
- 登录完成后没有返回用户信息啊
- android 一旦在页面引入包就报错 HOT 2
- ios端图片分享报错Wechat API invoke returns false. HOT 1
- QQ 、WX第一次登录授权返回没回调 HOT 2
- 微信分享的小图标怎么修改 HOT 3
- 分享后有回调么
- 安卓微信分享点击好友无反应 HOT 1
- Error:Execution failed for task ':react-native-wx:processDebugAndroidTestManifest'. > Manifest merger failed : Attribute meta-data#WX_APPID@value at manifestMerger7048962468923408949.xml requires a placeholder substitution but no value for <WX_APPID> is provided.
- 还更新吗? HOT 1
- 模块
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-wx.