|
1 | | -# dogfooding |
| 1 | +# Dogfooding App |
2 | 2 |
|
3 | | -A new Flutter project. |
| 3 | +The Dogfooding App is built using the [Stream Video Flutter](https://pub.dev/packages/stream_video_flutter) package, designed to showcase both core and advanced features of the package. It also serves as an internal testing tool for the Stream team. |
| 4 | + |
| 5 | +For a more basic example of how to use the Stream Video Flutter package, check out the [example app here](https://github.com/GetStream/stream-video-flutter/tree/main/packages/stream_video_flutter/example). |
| 6 | + |
| 7 | +## Features |
| 8 | + |
| 9 | +- **Video Calls**: Test various aspects of video call functionality. |
| 10 | + - Create or join a video meeting. |
| 11 | + - Make direct calls to other users with ringing. |
| 12 | + |
| 13 | +- **Screen Sharing**: Experience seamless screen sharing between participants. |
| 14 | + |
| 15 | +- **Picture-in-Picture (PiP)**: Test Picture-in-Picture mode on both iOS and Android devices. |
| 16 | + |
| 17 | +- **Chat Integration**: Send and receive messages during calls. |
| 18 | + |
| 19 | +- **Testing Ground**: Used by Stream developers for feature validation and bug testing. |
4 | 20 |
|
5 | 21 | ## Getting Started |
6 | 22 |
|
7 | | -This project is a starting point for a Flutter application. |
| 23 | +To set up and run the app, follow these steps: |
| 24 | + |
| 25 | +1. Clone the repo and install the dependencies |
| 26 | +First, clone the repository to your local machine and install the required Flutter packages: |
| 27 | + |
| 28 | +```bash |
| 29 | +git clone https://github.com/GetStream/stream-video-flutter.git |
| 30 | +cd stream-video-flutter/dogfooding |
| 31 | +flutter pub get |
| 32 | +``` |
| 33 | + |
| 34 | +2. (iOS setup) Open iOS project in Xcode |
| 35 | + |
| 36 | +```bash |
| 37 | +cd ios |
| 38 | +open Runner.xcworkspace |
| 39 | +``` |
| 40 | + |
| 41 | +3. (iOS setup) Update the Bundle Identifier and Configure Signing |
| 42 | + |
| 43 | +- In Xcode, go to the Signing & Capabilities tab. |
| 44 | +- Under Team, select your own development team. |
| 45 | +- Update the bundle identifier for both Runner and ScreenSharing targets to something unique: |
| 46 | + - Example: `com.yourname.StreamDogfooding` |
| 47 | + - Example (ScreenSharing): com.yourname.StreamDogfooding.ScreenSharing |
| 48 | +- Update the App Group for both targets: |
| 49 | + - Remove the existing group. |
| 50 | + - Create a new app group based on your updated bundle identifier. |
| 51 | + - Example: `group.com.yourname.StreamDogfooding` |
| 52 | + |
| 53 | +4. Run the app |
| 54 | +Once the setup is complete, you can run the app using Flutter: |
| 55 | + |
| 56 | +```bash |
| 57 | +## Ensure you're in the dogfooding directory |
| 58 | +flutter run |
| 59 | +``` |
| 60 | + |
| 61 | +The app should now launch on your connected device or simulator. |
| 62 | + |
| 63 | +:::note |
| 64 | +When logging in with an email address, note that the user_id for the created user will automatically replace the `@` and `.` characters with underscores (`_`). |
| 65 | + |
| 66 | +For example, if you log in with `[email protected]`, the corresponding `user_id` will be `test_test_com`. |
| 67 | + |
| 68 | +This is crucial to keep in mind, especially when testing direct calls, as you'll need to reference the correct `user_id`. |
| 69 | +::: |
| 70 | + |
| 71 | +## License |
| 72 | + |
| 73 | +``` |
| 74 | +Copyright (c) 2014-2024 Stream.io Inc. All rights reserved. |
8 | 75 |
|
9 | | -A few resources to get you started if this is your first Flutter project: |
| 76 | +Licensed under the Stream License; |
| 77 | +you may not use this file except in compliance with the License. |
| 78 | +You may obtain a copy of the License at |
10 | 79 |
|
11 | | -- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab) |
12 | | -- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook) |
| 80 | + https://github.com/GetStream/stream-video-android/blob/main/LICENSE |
13 | 81 |
|
14 | | -For help getting started with Flutter development, view the |
15 | | -[online documentation](https://docs.flutter.dev/), which offers tutorials, |
16 | | -samples, guidance on mobile development, and a full API reference. |
| 82 | +Unless required by applicable law or agreed to in writing, software |
| 83 | +distributed under the License is distributed on an "AS IS" BASIS, |
| 84 | +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 85 | +See the License for the specific language governing permissions and |
| 86 | +limitations under the License. |
| 87 | +``` |
0 commit comments