Any way to stop hot code push on login redirect


#1

Hi!

I’m using the reload-on-resume package and I’d like to find a way to tell it not to reload in the next resume (specifically, not reload when coming back from login).

When a user downloads my Meteor mobile app, the first page she gets is the login page. As she reads the content, a new version is downloaded via HCP. When she clicks the login button and gets redirected to FB and then back - a reload takes place, where she’s returned again to the login page (the login was never complete and Accounts.onLogin isn’t called) - which requires her to login again. This is confusing and generally a bad experience.

Maybe I’m doing something wrong here? A workaround could be to prevent the reload from taking place this specific scenario. But any other idea would be very welcome.

Thanks!