【发布时间】:2021-11-04 14:08:13
【问题描述】:
我相信 Expo-Go 现在可以支持 Stripe 支付(基于 here 提供的更新文档。)
我正在使用 Expo SDK 版本 40。
我表演
"expo install @ stripe/stripe-react-native"
以确保我得到正确的版本。
然后我尝试使用以下命令将 Stripe 导入我的项目:
import { StripeProvider } from '@stripe/stripe-react-native'
项目一刷新,应用就会崩溃并抛出大约 25 个错误/警告,最常见的是“Native module cannot be null”错误
还有其他人遇到过这个错误吗?
【问题讨论】:
标签: javascript react-native expo stripe-payments