Ability to configure location of `mongodb-realm` directory generated by Node/React Native SDKs

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintableJSON

      Problem

      Developers using the SDK cannot configure the location of the mongodb-realm directory generated by the SDK when using Atlas App Services functionality (including Device Sync).

      The generated location of the mongodb-realm directory causes issues when building applications with Electron. see this forum thread for a community user-reported error. and see this application i build a couple months back for a example of the error in a full application.

      I'm not sure if there are other scenarios that require or would benefit from this solution, but i could imagine that there are.

      Solution

      Add an additional AppConfiguration property for specifying the path for the mongodb-realm directory.

      For example:

      AppConfiguration.mongodbRealmFilePath = 'my/custom/path';
      

      Note: the .NET Realm SDK already has a similar implementation of this functionality with BaseFilePath.

      How important is this improvement for you?

      Would be a major improvement

            Assignee:
            Unassigned
            Reporter:
            Unito Sync Bot
            Archiver:
            Marc Greenfield

              Created:
              Updated:
              Resolved:
              Archived: