我想打开安装在我手机上的microsoft团队和yammer应用程序
Linking
.openURL('vnd.youtube://') //works
.openURL('skype://') //works
.openURL('facebook://') //works
.openURL('msteams://') // does not work
.openURL('microsoftTeams://') // does not work
.openURL('microsoft-teams://') // does not work这是一个在youtube上工作的代码示例,微软团队和yammers的等价物是什么?
需要帮助!请注意:(
发布于 2020-10-22 03:52:41
如果您希望从您自己的应用程序中打开其他应用程序,则使用以下意图可能会更容易
https://github.com/lucasferreira/react-native-send-intent
SendIntentAndroid.openApp("com.google.android.gm").then(wasOpened => {});
// You can also specify arbitrary intent extras to be passed to the app
SendIntentAndroid.openApp("com.mycorp.myapp", {
"com.mycorp.myapp.reason": "just because",
"com.mycorp.myapp.data": "must be a string",
}).then(wasOpened => {});发布于 2020-10-22 06:24:56
我能够找到以下关于创建MS Teams的参考:https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-links
对于Yammer,请检查以下内容:https://developer.yammer.com/docs/ios-and-android
https://stackoverflow.com/questions/64470688
复制相似问题