React Native Open Specific App in Google Play Store from App in Android

In react native we can navigate directly from react native android app to other app screen in Google Play store. As we can see in many application there is a Give us Rating dialog dialog shows on screen & when user press button it will directly navigate them to Play store screen. We would use React Native’s Linking component in our tutorial. In current we tutorial we would Open Specific App in Google Play Store from App Android in react native.

Contents in this project Open Specific App in Google Play Store from App Android in React Native:

1. Before getting started the coding we would extract the android application’s Package name directly from Google Play Store. So open Play Store.

2. Search your desired application which you want to open from your react native app.

3. Copy its package name from Address bar like i did in below screenshot.


4. Import Platform, StyleSheet, View, Linking, TouchableOpacity & Text component in your project’s App.js file.

5. Create a function in your application’s main class named as open_WhatsApp() and open_GoogleChrome (). In this function we are using Linking.openURL() inbuilt method and we would pass the android application package name which we have copied from Address bar.

6. Creating 2 buttons using Touchable opacity in render’s return block.

7. Creating Style.

8. Complete source code for App.js file class.

Screenshots:

Open Specific App in Google Play Store from App in Android