Home » Android » android – Getting link to my app on play.google before posting my app

android – Getting link to my app on play.google before posting my app

Posted by: admin June 15, 2020 Leave a comment

Questions:

I want to share link to my app(link on play.google) using facebook api. But I have to have it before posting app on market to put it in my code. Are there any other solutions except updating my app right after posting?

How to&Answers:

use this

https://play.google.com/store/apps/details?id=<your package name>

and you can get package name by this way.

   String packageName = getApplicationContext().getPackageName();

currently it will not show any app but after publishing it automatically redirect in your app page.