netanelgilad / angular-meteor-server

angular-meteor brought to the server side!
52 stars 7 forks source link

Weird error #9

Open uriva opened 8 years ago

uriva commented 8 years ago

Force closing the app and then opening it again causes redirect loop.

netanelgilad commented 8 years ago

It seems like for some reason Meteor.settings is undefined. I can't think of a reason from the top of my head. Does it give you any clue?

On Wed, Dec 30, 2015, 21:10 uriva notifications@github.com wrote:

After this my app goes into a refresh loop, so console is unavailable

— Reply to this email directly or view it on GitHub https://github.com/netanelgilad/angular-meteor-server/issues/9#issuecomment-168057728 .

uriva commented 8 years ago

After some more binary-search debugging, here is a minimal reproduction for the redirect loop.

meteor create reproduction meteor add-platform android meteor add angular meteor add netanelgilad:angular-server meteor remove ecmascript meteor remove blaze-html-templates meteor run android-device

wait for the app to load, once it does click square button and swipe the app to force close. open the app again by clicking its icon, witness the redirect loop (either by seeing a white screen or opening inspect with preserve log upon navigation).

Note that no errors appear.

@netanelgilad simplified reproduction. Can you reproduce it on your end?