Skip to content

Commit

Permalink
Update environments and hosts for demo-app flavors (#948)
Browse files Browse the repository at this point in the history
- Swap demo and pronto environments
- Update README.md to reflect changes
  • Loading branch information
liviu-timar authored Nov 29, 2023
1 parent dbabcc2 commit b1f0ed9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions demo-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ If you want to build and run the [dogfooding app](https://github.com/GetStream/s

```
# Environment Variable for dogfooding app
DOGFOODING_BUILD_CONFIG_API_KEY=YOUR_STREAM_API_KEY
PRODUCTION_BUILD_CONFIG_API_KEY=YOUR_STREAM_API_KEY
DOGFOODING_RES_CONFIG_DEEPLINKING_HOST=stream-calls-dogfood.vercel.app
DOGFOODING_RES_CONFIG_DEEPLINKING_HOST=pronto.getstream.io
PRODUCTION_RES_CONFIG_DEEPLINKING_HOST=getstream.io
DOGFOODING_RES_CONFIG_DEEPLINKING_PATH_PREFIX=/
PRODUCTION_RES_CONFIG_DEEPLINKING_PATH_PREFIX=/video/demos/
Expand Down
2 changes: 1 addition & 1 deletion demo-app/src/main/kotlin/io/getstream/video/android/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ class App : Application() {
}
}

val STREAM_SDK_ENVIRONMENT = if (BuildConfig.FLAVOR == StreamFlavors.production) "pronto" else "demo"
val STREAM_SDK_ENVIRONMENT = if (BuildConfig.FLAVOR == StreamFlavors.production) "demo" else "pronto"

val Context.app get() = applicationContext as App

0 comments on commit b1f0ed9

Please sign in to comment.