uiwjs / react-native-alipay

基于 React Native 的宝支付包,已更新到最新的支付宝 SDK 版本,支持Android/iOS。
https://uiwjs.github.io/react-native-alipay/
MIT License
212 stars 49 forks source link

使用支付功能时报这个 #15

Open wulaizi opened 3 years ago

wulaizi commented 3 years ago

java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.contains(java.lang.CharSequence)' on a null object reference at com.alipay.sdk.app.PayTask.a(SourceFile:104) at com.alipay.sdk.app.PayTask.payV2(SourceFile:185) at com.uiwjs.alipay.RNAlipayModule$2.run(RNAlipayModule.java:65) at java.lang.Thread.run(Thread.java:919)

wulaizi commented 3 years ago

安卓 rn版本"react-native": "0.63.2",

wulaizi commented 3 years ago

找到错误原因 我自己的原因 传了个undefined进去