Skip to content

Commit

Permalink
Updated changelog for room kit
Browse files Browse the repository at this point in the history
  • Loading branch information
Decoder07 committed Dec 7, 2023
1 parent 385f6c4 commit 006f792
Showing 1 changed file with 37 additions and 3 deletions.
40 changes: 37 additions & 3 deletions packages/hms_room_kit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,42 @@ Please follow the below instructions to test the app for iOS Platform
```json
platform :ios, '12.0'
```
2. Allow camera, recording audio and internet permissions by adding the below snippet to the `ios/Runner/info.plist` file.

2. To add PIP support in your iOS app:
<br />
```xml section=iosPermissions
<key>NSMicrophoneUsageDescription</key>
<string>{YourAppName} wants to use your microphone</string>
<key>NSCameraUsageDescription</key>
<string>{YourAppName} wants to use your camera</string>
<key>NSLocalNetworkUsageDescription</key>
<string>{YourAppName} App wants to use your local network</string>
<key>NSBluetoothAlwaysUsageDescription</key>
<string>{YourAppName} needs access to bluetooth to connect to nearby devices.</string>
```

3. Add the below snippet to the `ios/Podfile` in post_install section:

```json
target.build_configurations.each do |config|
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
'$(inherited)',
## dart: PermissionGroup.camera
'PERMISSION_CAMERA=1',
## dart: PermissionGroup.microphone
'PERMISSION_MICROPHONE=1',
## dart: PermissionGroup.bluetooth
'PERMISSION_BLUETOOTH=1',
]
end
```

4. To add PIP support in your iOS app:

- Minimum Requirements:
- Minimum iOS version required to support PiP is iOS 15
Expand All @@ -186,9 +220,9 @@ After you receive permission from Apple, add the Entitlement to your app by open

![Entitlements](https://www.100ms.live/docs/docs/v2/flutter-multitasking-camera-entitlement.png)

3. To add screen share support in iOS app, checkout the docs [here](https://www.100ms.live/docs/flutter/v2/how-to-guides/set-up-video-conferencing/screen-share#ios-setup)
5. To add screen share support in iOS app, checkout the docs [here](https://www.100ms.live/docs/flutter/v2/how-to-guides/set-up-video-conferencing/screen-share#ios-setup)

4. Pass the `iOSScreenshareConfig` in `HMSPrebuiltOptions` parameter of `HMSPrebuilt` widget to enable screen share in your app.
6. Pass the `iOSScreenshareConfig` in `HMSPrebuiltOptions` parameter of `HMSPrebuilt` widget to enable screen share in your app.

```dart
// Pass the correct App Group & Preferred Extension parameters in HMSIOSScreenshareConfig class.
Expand Down

0 comments on commit 006f792

Please sign in to comment.