angular-meteor-server icon indicating copy to clipboard operation
angular-meteor-server copied to clipboard

Weird error

Open uriva opened this issue 9 years ago • 2 comments

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

uriva avatar Dec 30 '15 19:12 uriva

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 [email protected] 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 .

netanelgilad avatar Dec 31 '15 16:12 netanelgilad

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?

uriva avatar Jan 01 '16 20:01 uriva