react-native-pay
react-native-pay copied to clipboard
RN 支付宝,微信支付
`RNPay.onAliPay(payload.orderString) .then((res) => { console.log('alipay sucess and callBack'); callBack && callBack(); }) .catch(e => { toast(PAY_FAIL); });` 在res方法中要传递一个callback回调,处理页面跳转,但是根本不走then这个方法,确实支付成功了,求教
报错(Cause: java.lang.UnsupportedOperationException)
## 报错信息是 ``` error: bundling failed: "Unable to resolve module `ActivityIndicator` from `/Users/timson/Desktop/CASE/HYAPP/node_modules/react-native/Libraries/react-native/react-native-implementation.js`: Module does not exist in the module map\n\nThis might be related to https://github.com/facebook/react-native/issues/4968\nTo resolve try the following:\n...
@xiaozhicheng bundling failed: ambiguous resolution: module `D:\MSH\Mobile\index.js` tries to require `react-native`, but there are several files providing this module. You can delete or fix them:
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_AlipaySDK", referenced from: objc-class-ref in libReactNativePay.a(ReactNativePay.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to...
Libtool /Users/apple/Library/Developer/Xcode/DerivedData/XYJYLH-ghtasprlcybwzvfdypcuubscohqz/Build/Products/Debug-iphonesimulator/libReactNativePay.a normal x86_64 cd /Users/apple/react/ylhapp/ios/pay export IPHONEOS_DEPLOYMENT_TARGET=10.3 export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only x86_64 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk -L/Users/apple/Library/Developer/Xcode/DerivedData/XYJYLH-ghtasprlcybwzvfdypcuubscohqz/Build/Products/Debug-iphonesimulator -L/Users/apple/react/ylhapp/ios/pay/PaySdk/微信 -filelist /Users/apple/Library/Developer/Xcode/DerivedData/XYJYLH-ghtasprlcybwzvfdypcuubscohqz/Build/Intermediates/ReactNativePay.build/Debug-iphonesimulator/ReactNativePay.build/Objects-normal/x86_64/ReactNativePay.LinkFileList /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk/usr/lib/libz.tbd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk/usr/lib/libc++.tbd -framework CoreMotion -framework CFNetwork -framework Foundation -framework UIKit...
Failed to build DependencyGraph: @providesModule naming collision: Duplicate module name: TouchHistoryMath Paths: /Users/lorne/MyGit/PokerPro/node_modules/react-native-paysdk/node_modules/react-native/Libraries/Renderer/src/renderers/shared/stack/event/eventPlugins/TouchHistoryMath.js collides with /Users/lorne/MyGit/PokerPro/node_modules/react-native/Libraries/Renderer/src/renderers/shared/shared/event/eventPlugins/TouchHistoryMath.js This error is caused by a @providesModule declaration with the same name across two...
android的微信支付结果通知机制有问题,官方的规则是通过WXPayActivity来接受,哥们你的那个action是哪看来的?