Kol007 Asked:2020-09-05 15:15:43 +0000 UTC2020-09-05 15:15:43 +0000 UTC 2020-09-05 15:15:43 +0000 UTC react-native link-transition 到电报或浏览器(网站) 772 谁能告诉我如何在 react-native 应用程序中执行类似链接之类的操作?具体来说,你需要去电报机器人聊天。 react-native 1 个回答 Voted Best Answer Kol007 2020-09-05T16:11:41Z2020-09-05T16:11:41Z 找到了答案。 https://facebook.github.io/react-native/docs/linking.html 专门针对电报,代码如下: const url = 'http://t.me/[bot-address]'; Linking.openURL(url).catch(err => console.error('An error occurred', err));
找到了答案。
https://facebook.github.io/react-native/docs/linking.html
专门针对电报,代码如下: