Uploaded image for project: 'Realm Core'
  1. Realm Core
  2. RCORE-746

SyncUser profile is not fetched from the metadata Realm upon app restart

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • Q3-22FY
    • Affects Version/s: None
    • Component/s: None
    • None

      The only time SyncUser::m_user_profile is set is when SyncUser::update_user_profile is called which only happens after login. This means that after the app restarts, the user profile data is never re-fetched - either from the local database or from the server. We should

      1. Read the stored user profile data when instantiating an existing user.
      2. Find opportune times to refresh the profile data from the server.

            Assignee:
            Unassigned Unassigned
            Reporter:
            nikola.irinchev@mongodb.com Nikola Irinchev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: