How to make a “Rate this app” link in React Native app?

后端 未结 6 1276
无人及你
无人及你 2021-01-30 13:11

How to properly link a user to reviews page at App Store app in React Native application on iOS?

6条回答
  •  春和景丽
    2021-01-30 14:05

    Use Linking to open up the url to the app store. To construct the proper url, follow the instructions for iOS and/or android. E.g.

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

    or

    Linking.openURL('itms-apps://itunes.apple.com/us/app/apple-store/myiosappid?mt=8')
    

提交回复
热议问题