vaenow / cordova-plugin-app-update

App updater for Cordova/PhoneGap
MIT License
299 stars 146 forks source link

Always getting success #5

Closed pierrejochem closed 8 years ago

pierrejochem commented 8 years ago

I get allways a success. Even if I change the version in the version.xml file. Any clue or idea?

I changed version from 100008 to 200008 just for testing.

My js code is:

var appUpdate = cordova.require('cordova-plugin-app-update.AppUpdate');
appUpdate.checkAppUpdate(function() { alert('Success'); }, function() { alert('Fail'); }, "http://xxx/updates/version.xml");
vaenow commented 8 years ago

I've fixed this issue in this commit.

Thank you for your feedback. 👍

pierrejochem commented 8 years ago

Thank you. Will try it directly on monday :-) what do you think about an englisch Translation? I would do that part.

vaenow commented 8 years ago

Waiting for your PR😊