how to get the needed package name?

Viewed 46

i want to use <queries> element in manifest file to broaden the package visibility for my app. I add <package> to <queries> and then i need to specify the name of the package i want to access from my app:

<queries>
    <package android:name="some.package.name"/>
</queries>

For example, i want to write in the package name of gmail app. How do i know it?

2 Answers

If you are looking for offline solution then follow these steps.

1-> Download Current Activity

2-> Open then Grant permission if any.

3-> There will be a top floating text 1st text will represent the package name for current opened/displayed app. Sample illustration

Related