Search Posts

Category: visual-studio-cordova

Cordova build hook doesnt display version information

I am using cordova build.js file from this link https://gist.github.com/DavidFrahm/2ce16cb6aec90b2c428f as explained have added buildversion.js file in hooks directory in visual studio and changed this line to var wwwFileToReplace = “js/app.js” in my angular module with constant as .constant(‘BUILD’, { VERSION: “%%VERSION%%” // %%VERSION%% will be replaced with the actual version from config.xml }) but still its not returning version information from config instead it just display this %%version%% any idea ? Also have referenced […]