llaske / cordova-plugin-sugarizeros

Cordova plugin for SugarizerOS
0 stars 1 forks source link

Feature/is app cache ready #3

Closed mikklfr closed 8 years ago

mikklfr commented 8 years ago

Added isAppCacheReady to know if there is a native app cache.

Sample code : sugarizerOS.isAppCacheReady(function(response) { console.log("IsAppReady : " + response.ready); })

ready is a boolean

To try the functionality, you can call the sampleCode

The first call should return response.ready => false The second call should return response.ready => true

llaske commented 8 years ago

Great, thanks.