-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meteor.user() is sometimes undefined on resuming the app from background #148
Comments
I'll try to come up with a minimal reproduction of the issue. However this seems hard to reproduce. There seems to be no |
Thanks @bratelefant I will try to get to the bottom of this |
By the way I found that _startLoggingIn() {
this._reactiveDict.set('_loggingIn', true);
Data.notify('loggingIn');
},
_startLoggingOut() {
User._isLoggingOut = true;
Data.notify('loggingOut');
},
_endLoggingIn() {
this._reactiveDict.set('_loggingIn', false);
Data.notify('loggingIn');
},
_endLoggingOut() {
User._isLoggingOut = false;
Data.notify('loggingOut');
}, The |
still facing this issue.. @bratelefant is this working on our side now? Ty! |
I'm currently quite happy with my branch fix/handle-token-login-callback |
On iOS I can observe that in my production / staging env, sometimes I get an undefined
Meteor.user()
after the app is resume from background. This happened using NetInfo or no NetInfo.Steps to reproduce the behavior:
Expected behavior
User should resume the session
Screenshots
n/A
Device (please complete the following information):
iOS, iPhone 12, 15, iPad 8th gen, iOS 17, recent MeteorRN builds
The text was updated successfully, but these errors were encountered: