Skip to content

Meteor.user() is sometimes undefined on resuming the app from background #148

Closed
@bratelefant

Description

@bratelefant

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:

  1. Publish Expo App eg. via TestFlight
  2. Let the app suspend to background (eg. not open for several hours) while being logged in
  3. resume your app and notice, that requests do not have logged in user

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions