iosreact-nativelinkerdeep-linkingdeeplink

How to open other application from my application


I am writing code to launch other applications from my react native application for android and ios.

Using Linking form react native I am able to redirect to Play Store/App Store but

How can I launch App if it's already installed?

* I am getting the list of the app's from server

enter image description here

Linking.openURL('https://play.google.com/store/apps/details?id=com.example.myapp&hl=en')

Is there any way that I can launch the app if it's installed else redirect to App store/play store with respect to the platform?

Reference:react-native-app-link


Solution

  • After many searches I have found an alternative for android without deep link URL is to use the native module react-native-intent-launcher to launch another app using package-name.

    You can call the native function startActivity in react-native to do something with Intent which can only be solved with android native code.

    Looking for iOS solution without deep link URL if any lead please update here

    Once I found I will update Here

    Thank you