diff --git a/CHANGELOG.md b/CHANGELOG.md index a1e6c98..14fb32d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +### 0.1.14 + +* Fixed browser platform check for config.xml [Issue#128](https://github.com/sampart/cordova-plugin-app-version/issues/128) +* Fix browser platform xhr error handling missing parameter [Issue#118](https://github.com/sampart/cordova-plugin-app-version/issues/118) + ### 0.1.13 * [iOS: getAppName to return localized value (like Android)](https://github.com/sampart/cordova-plugin-app-version/pull/127) diff --git a/VERSION b/VERSION index 7ac4e5e..71d6a66 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.13 +0.1.14 diff --git a/package.json b/package.json index 158b486..95663d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-app-version", - "version": "0.1.13", + "version": "0.1.14", "description": "Cordova plugin to return the version number of the current app", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" diff --git a/plugin.xml b/plugin.xml index de74102..4665f55 100644 --- a/plugin.xml +++ b/plugin.xml @@ -2,7 +2,7 @@ + version="0.1.14"> AppVersion diff --git a/src/browser/AppVersionProxy.js b/src/browser/AppVersionProxy.js index 81b565a..990c896 100644 --- a/src/browser/AppVersionProxy.js +++ b/src/browser/AppVersionProxy.js @@ -24,10 +24,10 @@ function readConfig(success, fail) { } }); - xhr.addEventListener("error", function () { + xhr.addEventListener("error", function (e) { fail(e); }); - xhr.open("get", "../config.xml", true); + xhr.open("get", "config.xml", true); xhr.send(); } else {