How to get the package names of apps installed on an android device.

Please provide the following:

  1. SDK Version: 41
  2. Platforms(Android/iOS/web/all): Android
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

I am in managed workflow and I want to get the package names of apps installed on an android device. Any way to do so?
Thanks anyway!