Skip to content

Commit 085c08e

Browse files
(DOCSP-39165) Node and RN: Change baseURL during runtime (#3243)
## Pull Request Info Jira ticket: https://jira.mongodb.org/browse/DOCSP-39165 - [Node.js: Connect to an Atlas App Services Backend](https://preview-mongodbkrollinsmdb.gatsbyjs.io/realm/DOCSP-39165/sdk/node/app-services/connect-to-app-services-backend/#connect-to-a-specific-server) - [React Native: Connect to an Atlas App Services App](https://preview-mongodbkrollinsmdb.gatsbyjs.io/realm/DOCSP-39165/sdk/react-native/app-services/connect-to-app-services-app/#connect-to-a-specific-server) This PR adds content to both the Node.js and React Native SDKs for changing the base URL during runtime. However, it only includes examples for the Node.js SDK. Right now, the experimental module does not really work for React Native. So, the React Native content notes that this feature exists, but is experimental and points to the Node.js content. Sorry for the large number of changed files. I couldn't resist removing an old React Native app that we weren't using for anything. Build errors: - There's a build error about not being able to find `label:node-change-server-during-runtime`. Manually testing shows the ref link working. - Looks like there are a couple flaky React Native tests. They're unrelated to any changes I've made. I'll need to set aside time to look at them later. ### Reminder Checklist Before merging your PR, make sure to check a few things. - [x] Did you tag pages appropriately? - genre - meta.keywords - meta.description - [x] Describe your PR's changes in the Release Notes section - [x] Create a Jira ticket for related docs-app-services work, if any ### Release Notes - **Node.js SDK** - App Services/Connect to an Atlas App Services Backend: Add new sections and examples for updating the baseUrl, including during runtime. - **React Native SDK** - App Services/Connect to an Atlas App Services App: Add new sections that address updating the baseUrl. ### Review Guidelines [REVIEWING.md](https://github.com/mongodb/docs-realm/blob/master/REVIEWING.md) ### Animal Wearing a Hat <img src="https://i.pinimg.com/1200x/59/fd/50/59fd501a656ce121c4c15ea52051c215.jpg" width=400> --------- Co-authored-by: lindseymoore <71525840+lindseymoore@users.noreply.github.com>
1 parent 71e9e8b commit 085c08e

File tree

99 files changed

+498
-35639
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+498
-35639
lines changed

examples/node/legacy/realmRnApp/.buckconfig

Lines changed: 0 additions & 6 deletions
This file was deleted.

examples/node/legacy/realmRnApp/.bundle/config

Lines changed: 0 additions & 2 deletions
This file was deleted.

examples/node/legacy/realmRnApp/.eslintrc.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

examples/node/legacy/realmRnApp/.flowconfig

Lines changed: 0 additions & 67 deletions
This file was deleted.

examples/node/legacy/realmRnApp/.gitignore

Lines changed: 0 additions & 61 deletions
This file was deleted.

examples/node/legacy/realmRnApp/.prettierrc.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

examples/node/legacy/realmRnApp/.ruby-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/node/legacy/realmRnApp/.watchmanconfig

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/node/legacy/realmRnApp/App.js

Lines changed: 0 additions & 116 deletions
This file was deleted.

examples/node/legacy/realmRnApp/Gemfile

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)