You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Description
Fix documentation to tell the user where to get env variables from as
well as remove env buttons from Room tab when env variable for
VIDEOROOM_STAGING_SANDBOX_URL is not present. I also deleted some code
that was left over from the times when we didn't use env variables to
save in async storage preferred environment.
## Motivation and Context
It helps outsiders build fishjam-chat example and cleans the code a
little bit
## Documentation impact
- [ ] Documentation update required
- [ ] Documentation updated [in another PR](_)
- [X] No documentation update required
## Types of changes
- [X] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to
not work as expected)
Copy file name to clipboardExpand all lines: examples/mobile-client/fishjam-chat/README.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,16 @@
2
2
3
3
## Prerequisites
4
4
5
-
Create a `.env` file in the `examples/mobile-client/fishjam-chat` directory (optional), or copy the `.env.example` file. The following environment variables are required:
5
+
Copy `.env.example` to `.env`in the `examples/mobile-client/fishjam-chat` directory and fill in the required value:
6
6
7
-
-`EXPO_PUBLIC_VIDEOROOM_STAGING_SANDBOX_URL` - Sandbox URL for VideoRoom staging environment
8
7
-`EXPO_PUBLIC_FISHJAM_ID` - Fishjam ID for production environment
9
8
9
+
You can find the value for this variable by creating an account on [fishjam.io](https://fishjam.io) and copying it from the sandbox dashboard.
10
+
11
+
There also exists this additional environment variable, which is used for internal testing purposes:
12
+
13
+
-`EXPO_PUBLIC_VIDEOROOM_STAGING_SANDBOX_URL` - Sandbox URL for VideoRoom staging environment
14
+
10
15
## Example Overview
11
16
12
17
The app has 2 tabs showing different ways to connect to Fishjam video calls:
0 commit comments