Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
How to get app version number?
-
Hi!
Is there any way to get the app Version number? (I’m referring to the one in App Settings->Android/iOS App Configuration)
The “monaca” object doesn’t have it (it should, imho) and the plugin cordova-plugin-app-version doesn’t work.
Thanks in advance!
-
This post is deleted!
-
@rcpinheiro
Currently, in order to get the Monaca app’s Version Number, you can usecordova-plugin-app-version
. I tested it and it worked well. It won’t work on standard Monaca Debugger. You need to test this plugin with built app or custom Monaca Debugger.
-
@khemry Thanks! You’re right, only works with APK or installation from Google Play.
-
@rcpinheiro
You can also test it on custom Monaca Debugger.