I am trying to publish app for the first time.
I want to put a share button in my app, when the user clicks it will open up all the messaging apps, and can share the link to others, when the other person clicks on it, it will take to my app in the google play store.
I have looked through here, I think this is the way I need to do.
Problem is how do I get the link for my app which is not yet publish in google play store.
Do I need to publish my app first without the SHARE option and then get the market link, like mentioned here, I am thinking the link might be like this market://details?id=package_name, and then release an update with the SHARE option?
You can use this code
work for me fine
I hope help this