Interactive Streaming iOS app
This app is to be launched from XCode. The app launches the Streaming SDK inside of a webview. The app is loaded from unpkg. The versions are fetched from npm on load. This allows us to test future version as they are released.
Env Variables
-
Open the directory in XCode
-
Click on Product > Scheme > Edit Scheme
-
Under environment variables, add variables for the following:
- ENV_URL
- OPERATOR_ID
- OPERATOR_SECRET
- EVENT_ID
The last 3 variables can be edited inside the app, but setting them here will save you from having to enter these on the app.
Debugging
Enable safari devtools. In the develop dropdown menu, real and simulated devices will appear here when the webview is active.