forked from mongodb/docs-realm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4a74f14
commit db5ebae
Showing
8 changed files
with
66 additions
and
43 deletions.
There are no files selected for viewing
10 changes: 0 additions & 10 deletions
10
source/includes/multiple-app-client-details-and-app-config-cache.rst
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
source/includes/note-rn-multiple-app-clients-and-app-config-cache.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
You can create multiple App client instances to connect to multiple | ||
Apps. All App client instances that share the same App ID use the same | ||
underlying connection. | ||
|
||
.. important:: Changing an App Config After Initializing the App | ||
|
||
.. versionchanged:: ``realm@12.6.0`` | ||
``baseUrl`` is not cached | ||
|
||
When you initialize the App client, the configuration is cached internally. | ||
Attempting to "close" and then re-open an App with a changed configuration | ||
within the same process has no effect. The client continues to use the | ||
cached configuration. | ||
|
||
Starting with React Native SDK version 12.6.0, the ``baseUrl`` in the ``AppConfiguration`` | ||
is *not* cached. This means that you can change the ``baseUrl`` | ||
and the App client will use the updated configuration. In earlier SDK | ||
versions, changes to the ``baseUrl`` in a cached App configuration have no | ||
effect. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters