React-Native: How to open google play store from the corresponding application?

I am trying to find a way to open the google play store with my application when the user clicks a button inside the responsive application. Is there any way to do this?

+4
source share
2 answers

You can use deeplinking to redirect the user from your application using this: https://developer.android.com/distribute/tools/promote/linking.html

and Linkingnative-native APIs : http://facebook.imtqy.com/react-native/docs/linking.html

+5
source

, SPA dev docs android:

market://details?id=<package_name>

:

Linking.openURL("market://details?id=<>");

:

Linking.openURL("market://details?id=googoo.android.btgps");

+3

Source: https://habr.com/ru/post/1658932/


All Articles