-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
2 - S (<= 1 week)
-
4712
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