React-Native:如何从React Native应用打开Goog​​le Play商店? [英] React-Native: How to open google play store from react native app?

查看:158
本文介绍了React-Native:如何从React Native应用打开Goog​​le Play商店?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试找到一种方法,当用户按下react-native应用程序内部的按钮时,如何使用我的应用程序打开google play商店.有办法吗?

I am trying to find a way how to open the google play store with my application when the user is pressing a button inside of the react-native application. Is there a way how to do this?

推荐答案

您可以使用深度链接使用以下方法从应用程序重定向用户: https://developer.android.com/distribute/tools/promote/linking.html

You can use deeplinking to redirect your user from your app using this: https://developer.android.com/distribute/tools/promote/linking.html

和来自react-native的 Linking API: http://facebook.github.io/react-native/docs/linking.html

and the Linking API from react-native: http://facebook.github.io/react-native/docs/linking.html

这篇关于React-Native:如何从React Native应用打开Goog​​le Play商店?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆