如何在 iOS 上的 React Native 应用程序中正确地将用户链接到 App Store 应用程序的评论页面?
最佳答案
使用Linking打开应用程序商店的网址。要构建正确的 url,请按照 iOS 的说明进行操作和/或 android .例如
Linking.openURL('market://details?id=myandroidappid')
或
Linking.openURL('itms-apps://itunes.apple.com/us/app/apple-store/myiosappid?mt=8')
关于ios - 如何在 React Native 应用程序中创建 "Rate this app"链接?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35612383/