[英]How to redirect a clicked button to open a downloaded app on the phone? (react-native)
I am working on building a react native ios app. 我正在构建一个React Native iOS应用程序。 In my app I plan to have button that links to a specific social media account.
在我的应用中,我计划有一个链接到特定社交媒体帐户的按钮。 I can't seem to find the syntax that links my mobile app to my instagram app (for example).
我似乎找不到将移动应用程序链接到instagram应用程序的语法(例如)。 I'm not using swift though so no Obj C please!
我没有使用swift,所以请不要使用Obj C! Does anyone have any experience in doing this?
有没有人有这样做的经验?
Thank you in advance. 先感谢您。
I have use this for url->app https://facebook.github.io/react-native/docs/linking.html 我已经将其用于url-> app https://facebook.github.io/react-native/docs/linking.html
And also https://reactnavigation.org/docs/guides/linking may help 而且https://reactnavigation.org/docs/guides/linking可能会有所帮助
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.