Reputation: 247
I'm making an app with ionic v3 and I wanna create a link that take you to the play store to download the app, I'm trying this: "http://play.google.com/store/apps/details?id=packagename" but how can I get the package name from Ionic v3 ? or exist another way to do this.
I appreciate your help.
Upvotes: 0
Views: 40
Reputation: 12022
Check the config.xml file and you will get both the id
and the android package name
in that file.
Reference: https://cordova.apache.org/docs/en/latest/config_ref/index.html
Upvotes: 0
Reputation: 75629
You got id
and android-packageName
in your config.xml
which is exactly what you are looking for.
docs: https://cordova.apache.org/docs/en/latest/config_ref/index.html
Upvotes: 1