简体   繁体   English

在android上查找已安装应用程序的链接名称

[英]Find link name of installed apps on android

How am I able to find the name of the installed app on the phone so that I can refer to it in react native using linking ?我如何才能在手机上找到已安装应用程序的名称,以便我可以使用链接在本机反应中引用它? As an example Microsoft teams以微软团队为例

You can find app is installed or not react-native-check-app-install您可以找到应用程序是否已安装react-native-check-app-install

It shows all the apps which are installed它显示了所有已安装的应用程序

RNAndroidInstalledApps.getApps()
      .then(apps => {
        // apps contains "packageName" and "appName"
      })
      .catch(error => {
        alert(error);
      });

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

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