sampart / cordova-plugin-app-version

Cordova plugin to return the version number of the current app [not maintained]
MIT License
401 stars 196 forks source link

Why do you use promises and async calls ? #113

Open Aarbel opened 5 years ago

Aarbel commented 5 years ago

Seems not really necessary and directly accessible in the cordova environment.

piwel commented 4 years ago

Hi Aarbel,

I might be wrong, but I'm pretty sure this depends on the platform: for example in browsers, an XHR call is made ; and it has to be async in this case :)