英文:
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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论