android - react native : How to get the list of apps installed in mobile phone in react native

标签 android react-native

有没有办法获取设备中安装的所有应用程序的列表及其在 React Native 中的详细信息。

我试过这个 npm 包,但它根本不起作用。

https://github.com/progaymanalaiwah/react-native-android-installed-apps

最佳答案

我最近发布了一个用于此特定目的的 npm 模块。

包名为 react-native-android-installed-apps-unblocking。它是多线程的,在加载应用程序时不会阻塞 UI。

有关更多详细信息,请查看我的 GitHub repo .

关于android - react native : How to get the list of apps installed in mobile phone in react native,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59491851/

相关文章:

javascript - 使用 React Native 的未定义导航器

java - 为什么我的扩展 android.app.application 的应用程序类不起作用?

android - 如何检查设备上是否安装了 WhatsApp?

react-native - 添加react-navigation@^4.0.0后找不到RCTImageLoader.h

android - 应用内消息与推送消息 : Pros and Cons

javascript - react native : What is the way to create an enum with 3 color types?

javascript - 中断数据流并断开设备连接

android - 使用 AsyncTask 一个一个地下载多个文件?

Android:如何为发布变体重置 resConfigs?

java - 更新 RecycleView 内的 Firestore 字段