-
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.
clean up ios app: readme and configurable api base url
- Loading branch information
Showing
2 changed files
with
23 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,23 @@ | ||
# Moderated Chat using iOS Client | ||
# iOS Moderated Chat App | ||
|
||
## Running the example using the Xcode simulator | ||
This directory contains an iOS client of the Moderated Chat demo. | ||
|
||
1. Open the `ios/moderated_chat` directory as an Xcode project. | ||
3. Click Run (in the Product menu). | ||
## Prerequisites | ||
|
||
- [Xcode](https://developer.apple.com/xcode/) | ||
|
||
## Running the demo | ||
|
||
Create an environment variable to specify the base URL for your API endpoints. | ||
|
||
```bash | ||
VITE_API_BASE_URL="https://chat-api.your-chosen-domain-name.com" | ||
``` | ||
|
||
You may also need to specify a variable to enable logging output: | ||
|
||
```bash | ||
IDEPreferLogStreaming=YES | ||
``` | ||
|
||
To run the app using a simulator, simply open the `ios/moderated_chat` directory as an Xcode project and click "Run". |