在本机反应中链接到 Teamviewer
Linking to Teamviewer in react native
我目前正在尝试在 Android 中的 React Native 中添加一个链接到 Teamviewer Host 应用程序的按钮。无论 url 我正在尝试什么,我都会遇到以下错误:
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 }
有人知道 Teamviewer Host 的正确 url 吗?
最终使用 react-native-send-intent,在 Android 上打开与 React Native 不同的应用程序的非常简单的方法:
onPress={() => SendIntentAndroid.openApp('com.teamviewer.host.market')}
我目前正在尝试在 Android 中的 React Native 中添加一个链接到 Teamviewer Host 应用程序的按钮。无论 url 我正在尝试什么,我都会遇到以下错误:
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 }
有人知道 Teamviewer Host 的正确 url 吗?
最终使用 react-native-send-intent,在 Android 上打开与 React Native 不同的应用程序的非常简单的方法:
onPress={() => SendIntentAndroid.openApp('com.teamviewer.host.market')}