Linking to Teamviewer in react native

0

I'm currently trying to add a button in React Native in Android that links to the Teamviewer Host app. Whatever url i'm trying, I'm ending up with the following error:

  openTeamviewer() {
Linking.openURL('teamviewerhost://open')

Error: Could not open URL 'teamviewerhost://open': No Activity found to handle Intent { act=android.intent.action.VIEW dat=teamviewer10://open flg=0x10000000 }

Does someone know the right url for Teamviewer Host?

android
react-native
react-native-android
deep-linking

1 Answer

0

Ended up using react-native-send-intent, really easy method to open a different app from React Native on Android:

onPress={() => SendIntentAndroid.openApp('com.teamviewer.host.market')}
answered on Stack Overflow Jul 19, 2019 by Orlando Duivestein

User contributions licensed under CC BY-SA 3.0