Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-2188

AppProvider should include a property for setting `enableSessionMultiplexing`

      Problem

      Currently, the way to enable session multiplexing is:

      Realm.App.Sync.enableSessionMultiplexing(app);
      

      In order to do this in @realm/react one would have to create a wrapper component around any RealmProviders which would access the app using useApp and call this method after rendering the AppProvider.

      Solution

      It should be possible to add properties to the AppProvider to handle this automatically. This would reduce boilerplate.

      Alternatives

      No response

      How important is this improvement for you?

      Would be a major improvement

      Feature would mainly be used with

      Atlas Device Sync

            Assignee:
            Unassigned Unassigned
            Reporter:
            andrew.meyer@mongodb.com Andrew Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: