NativeScript / nativescript-app-sync

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

Local App doesn't get updates #33

Closed dudipsh closed 5 years ago

dudipsh commented 5 years ago

@EddyVerbruggen when I change something in my app nothing happens until i comment out this code

application.on(application.resumeEvent, () => {
    AppSync.sync({
        deploymentKey: token,
    });
});
EddyVerbruggen commented 5 years ago

When using livesync / development mode I don't think it's wise to have AppSync activated.

dudipsh commented 5 years ago

@EddyVerbruggen Thanks for the quick response!

I understand from you that this is the expected behavior?

The reason I don't want to comment out it is that I'm afraid to forget to return this code before I publish which will make users not get updates anymore

EddyVerbruggen commented 5 years ago

Don't you have more changes going on between dev and prod versions of your app? I usually do and tie running this code into that mechanism.

dudipsh commented 5 years ago

Usually it's true but, I have a new app and for now, i release versions only for QA. Anyway, I thought it was a bug Excellent plugin with or without it So thanks :)