NativeScript / nativescript-app-sync

♻️ Update your app without going through the app store!
MIT License
125 stars 24 forks source link

Wrong repeating update ??? #32

Open lehongwang opened 5 years ago

lehongwang commented 5 years ago

Hello, im using app-sync now on few apps and just got wrong update repeatly. after calling appSettings.clear(), the app will notify to exit/restart to update again.

is this the bug ?? or i have to avoid to call appSettings.clear() ??

thank you

EddyVerbruggen commented 5 years ago

Hi, good observation. The plugin needs to remember the current hash (version) it's running and that's stored in appsettings. Can you confirm this doesn't occur without blindly deleting everything in appsettings? Perhaps we can figure out a good way to work around this issue.