- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am developing an app using intel xdk and jquery framework.
I am unable to get app version to display to user who install app.
Can you please guide me how can I get app version in app programetically.
Thanks
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You not explain what are you trying to get the version, son I give you general advices.
If you are going to build an IOS or Android app you need a plugin like this:
https://github.com/whiteoctober/cordova-plugin-app-version
If you make a web application, the option is to hard code the version in a variable and show that, because you can't use plugins.
Hope this helps,
Regards,
Diego
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Diego,
Thanks for your help.
I am developing an android app and installed the plugin you suggested cordova-plugin-app-version 0.1.8
I followed the implementation instructions and use below code:
cordova.getAppVersion.getVersionNumber().then(function (version) {
$('.version').text(version);
});
But this is not working for me. It does nothing.
Could you please guide me what I am doing wrong?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mohneesh -- you can only test third-party plugins using the Debug tab or by building the app and installing on a real device. The Emulate tab will not work with third-party plugins.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Dear Paul.
Your comment is helpful. Now its working fine.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page