如何在 React Native 应用程序中创建“评价此应用程序”链接?

2024-04-14

如何在 iOS 上的 React Native 应用程序中正确地将用户链接到 App Store 应用程序的评论页面?


Use Linking https://facebook.github.io/react-native/docs/linking.html打开应用商店的网址。要构造正确的 url,请按照以下说明进行操作iOS https://stackoverflow.com/a/2337601/147380 and/or android http://developer.android.com/distribute/tools/promote/linking.html. E.g.

Linking.openURL('market://details?id=myandroidappid')

or

Linking.openURL('itms-apps://itunes.apple.com/us/app/apple-store/myiosappid?mt=8')
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

如何在 React Native 应用程序中创建“评价此应用程序”链接? 的相关文章

随机推荐