Home > OS >  how to get the needed package name?
how to get the needed package name?

Time:09-13

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?

CodePudding user response:

Easiest approach is to search that app in Play Store and get it's ID. Basically ID is the package name of that app. For example:

Sample illustration

  • Related