Skip to content

Do not fetch all users on application start, fetch only updates #1804

@kunall17

Description

@kunall17

Currently, we are fetching all the users from the server on the realm init, which is called on every application cold start.

I tested this out (in a local server) and the user addition works fine if the app is in the background or in the running but if the app is killed and a user registers on the server then this user info is not fetched.

Ideally, we could only pull the updates and can save a lot of network usage and the performance at startup can be increased as well!

Same goes for streams, realm_emoji but they can be ignored as they are really small as compared to users!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions