哪个版本的 @stripe/stripe-react-native 模块支持 React Native 0.62.0 TypeScript 模板?

huangapple go评论53阅读模式
英文:

Which version of @stripe/stripe-react-native module support react native 0.62.0 typscript template?

问题

我测试了安装@stripe/stripe-react-native模块的一些版本,从0.1.0到0.10.0,在我的旧项目react-native 0.62.0 typescript中,但构建失败了。但我在react native 0.64.4中测试了0.10.0版的stripe,构建成功了。所以我想知道是否有兼容的模块版本可以安装,而不必更新项目,谢谢。

英文:

I tested some version to install module @stripe/stripe-react-native from 0.1.0 to 0.10.0 in my old project react-native 0.62.0 typescript but build was failed.but I test it in react native 0.64.4with 0.10.0 stripe version the build was succeed .So i would to know there is a compatible module version that can be installed without update the project and thanks.

答案1

得分: 1

根据变更日志react-native@0.64.0 是从 stripe-react-native 0.8.0 版本开始所需的。您可能希望尝试一个较旧的版本(即< 0.8.0)并查看它是否适用于您的项目。

英文:

Based on the changelog, react-native@0.64.0 is needed since stripe-react-native 0.8.0. You might want to try an older version (i.e., < 0.8.0) and see if it works for your project.

答案2

得分: 0

我得到了解决方案,我对react-native-version进行了修补,升级到0.64.4版本,我可以安装0.10.0版本,并且在使用gradle 6.8.3和编译版本31时可以正常工作。所以它可以正常工作。

英文:

I got the solution, i patched react-native-version to 0.64.4 and I can install the version 0.10.0 and works fine with the gradle 6.8.3 using compile version 31 .So it works fine

huangapple
  • 本文由 发表于 2023年5月22日 05:51:05
  • 转载请务必保留本文链接:https://go.coder-hub.com/76302058.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定