简体   繁体   English

如何重定向单击的按钮以在手机上打开下载的应用程序? (反应天然)

[英]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 guess the problem you're trying to solve has already been solved by this issue. 我想您要解决的问题已由问题解决。 Feel free to comment if not. 如果没有,请随时发表评论。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM