@livekit/react-native 2.4.0 → 2.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -295,7 +295,12 @@ Enabling screenshare requires extra installation steps:
295
295
 
296
296
  Android screenshare requires a foreground service with type `mediaProjection` to be present.
297
297
 
298
- From version 2.4.0 onwards, this is handled internally and no extra setup is required.
298
+ From version 2.4.0 onwards, the foreground service is handled internally,
299
+ but you must declare the permission yourself in your app's AndroidManifest.xml file.
300
+
301
+ ```
302
+ <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" />
303
+ ```
299
304
 
300
305
  ### iOS
301
306
 
@@ -11,5 +11,4 @@
11
11
  <uses-permission android:name="android.permission.BLUETOOTH" />
12
12
  <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
13
13
  <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
14
- <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" />
15
14
  </manifest>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livekit/react-native",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "description": "LiveKit for React Native",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",