I'm encountering an issue while attempting to open another app () from my own app. Despite numerous tutorials directing me to the Play Store only, I came across a GitHub link (https://github.com/FiberJW/react-native-app-link) that allows for app opening on iOS but redirects to the Play Store on Android. Is there a solution to this problem?
Linking.canOpenURL('market://details?id=com.inova.velocity')
.then((canOpen) => {
if (canOpen) {
console.log('open app');
return Linking.openURL('market://details?id=com.inova.velocity')
};
}).catch(err => console.log('An error occurred', err));