D
D
Danil Chekalin2018-10-10 12:14:11
Android
Danil Chekalin, 2018-10-10 12:14:11

React Native (Android): How to get a list of installed apps on a device?

I need to get a list of installed programs on the device and their version. I understand that it will be necessary to implement a native module for React Native. Alas, there are no competencies in the Android platform itself.
1. Do I need any permissions to get the list?
2. We need a piece of code that implements getting this list (with a piece of dependency import code)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nick, 2018-10-17
@dakiesse

In general, there is already such a module for android
Judging by the code, no new or runtime permissions are required.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question