@stream-io/video-react-native-sdk 1.26.2 → 1.26.3-alpha.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/android/src/main/java/com/streamvideo/reactnative/util/CallAlivePermissionsHelper.kt +1 -2
- package/android/src/main/java/com/streamvideo/reactnative/util/CallAliveServiceChecker.kt +5 -6
- package/dist/commonjs/utils/push/libs/notifee/index.js +1 -8
- package/dist/commonjs/utils/push/libs/notifee/index.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/commonjs/version.js.map +1 -1
- package/dist/module/utils/push/libs/notifee/index.js +1 -8
- package/dist/module/utils/push/libs/notifee/index.js.map +1 -1
- package/dist/module/version.js +1 -1
- package/dist/module/version.js.map +1 -1
- package/dist/typescript/utils/push/libs/notifee/index.d.ts.map +1 -1
- package/dist/typescript/version.d.ts +1 -1
- package/dist/typescript/version.d.ts.map +1 -1
- package/expo-config-plugin/dist/withAndroidManifest.js +1 -1
- package/expo-config-plugin/dist/withAndroidPermissions.js +1 -1
- package/ios/StreamVideoReactNative.xcodeproj/project.xcworkspace/xcuserdata/santhoshvaiyapuri.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/StreamVideoReactNative.xcodeproj/xcuserdata/santhoshvaiyapuri.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
- package/package.json +1 -1
- package/src/utils/push/libs/notifee/index.ts +3 -12
- package/src/version.ts +1 -1
package/android/src/main/java/com/streamvideo/reactnative/util/CallAlivePermissionsHelper.kt
CHANGED
|
@@ -23,8 +23,7 @@ object CallAlivePermissionsHelper {
|
|
|
23
23
|
"android.permission.FOREGROUND_SERVICE",
|
|
24
24
|
"android.permission.FOREGROUND_SERVICE_CAMERA",
|
|
25
25
|
"android.permission.FOREGROUND_SERVICE_MICROPHONE",
|
|
26
|
-
"android.permission.
|
|
27
|
-
"android.permission.FOREGROUND_SERVICE_DATA_SYNC"
|
|
26
|
+
"android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK"
|
|
28
27
|
)
|
|
29
28
|
|
|
30
29
|
val missingPermissions =
|
|
@@ -26,14 +26,13 @@ object CallAliveServiceChecker {
|
|
|
26
26
|
|
|
27
27
|
val expectedForegroundServiceTypes =
|
|
28
28
|
ServiceInfo.FOREGROUND_SERVICE_TYPE_SHORT_SERVICE or
|
|
29
|
-
ServiceInfo.
|
|
29
|
+
ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK or
|
|
30
30
|
ServiceInfo.FOREGROUND_SERVICE_TYPE_CAMERA or
|
|
31
|
-
ServiceInfo.FOREGROUND_SERVICE_TYPE_MICROPHONE
|
|
32
|
-
ServiceInfo.FOREGROUND_SERVICE_TYPE_CONNECTED_DEVICE
|
|
31
|
+
ServiceInfo.FOREGROUND_SERVICE_TYPE_MICROPHONE
|
|
33
32
|
|
|
34
|
-
val
|
|
33
|
+
val actualForegroundServiceTypes = serviceInfo.foregroundServiceType
|
|
35
34
|
|
|
36
|
-
if (
|
|
35
|
+
if (actualForegroundServiceTypes == expectedForegroundServiceTypes) {
|
|
37
36
|
return true
|
|
38
37
|
} else {
|
|
39
38
|
Log.w(
|
|
@@ -42,7 +41,7 @@ object CallAliveServiceChecker {
|
|
|
42
41
|
foregroundServiceTypeToString(
|
|
43
42
|
expectedForegroundServiceTypes
|
|
44
43
|
)
|
|
45
|
-
}, actual=${foregroundServiceTypeToString(
|
|
44
|
+
}, actual=${foregroundServiceTypeToString(actualForegroundServiceTypes)}"
|
|
46
45
|
)
|
|
47
46
|
return false
|
|
48
47
|
}
|
|
@@ -43,7 +43,7 @@ function getNotifeeLibNoThrowForKeepCallAlive() {
|
|
|
43
43
|
return _lib.lib;
|
|
44
44
|
}
|
|
45
45
|
async function getKeepCallAliveForegroundServiceTypes() {
|
|
46
|
-
const types = [];
|
|
46
|
+
const types = [AndroidForegroundServiceType.FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK];
|
|
47
47
|
const hasCameraPermission = await _reactNative.PermissionsAndroid.check(_reactNative.PermissionsAndroid.PERMISSIONS.CAMERA);
|
|
48
48
|
if (hasCameraPermission) {
|
|
49
49
|
types.push(AndroidForegroundServiceType.FOREGROUND_SERVICE_TYPE_CAMERA);
|
|
@@ -52,13 +52,6 @@ async function getKeepCallAliveForegroundServiceTypes() {
|
|
|
52
52
|
if (hasMicrophonePermission) {
|
|
53
53
|
types.push(AndroidForegroundServiceType.FOREGROUND_SERVICE_TYPE_MICROPHONE);
|
|
54
54
|
}
|
|
55
|
-
const hasConnectionPermission = await _reactNative.PermissionsAndroid.check(_reactNative.PermissionsAndroid.PERMISSIONS.BLUETOOTH_CONNECT);
|
|
56
|
-
if (hasConnectionPermission) {
|
|
57
|
-
types.push(AndroidForegroundServiceType.FOREGROUND_SERVICE_TYPE_CONNECTED_DEVICE);
|
|
58
|
-
}
|
|
59
|
-
if (types.length === 0) {
|
|
60
|
-
types.push(AndroidForegroundServiceType.FOREGROUND_SERVICE_TYPE_DATA_SYNC);
|
|
61
|
-
}
|
|
62
55
|
return types;
|
|
63
56
|
}
|
|
64
57
|
function getIncomingCallForegroundServiceTypes() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_lib","_videoClient","AndroidForegroundServiceType","INSTALLATION_INSTRUCTION","getNotifeeLibThrowIfNotInstalledForPush","lib","Error","getNotifeeLibNoThrowForKeepCallAlive","logger","videoLoggerSystem","getLogger","info","getKeepCallAliveForegroundServiceTypes","types","hasCameraPermission","PermissionsAndroid","check","PERMISSIONS","CAMERA","push","FOREGROUND_SERVICE_TYPE_CAMERA","hasMicrophonePermission","RECORD_AUDIO","FOREGROUND_SERVICE_TYPE_MICROPHONE","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_lib","_videoClient","AndroidForegroundServiceType","INSTALLATION_INSTRUCTION","getNotifeeLibThrowIfNotInstalledForPush","lib","Error","getNotifeeLibNoThrowForKeepCallAlive","logger","videoLoggerSystem","getLogger","info","getKeepCallAliveForegroundServiceTypes","types","FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK","hasCameraPermission","PermissionsAndroid","check","PERMISSIONS","CAMERA","push","FOREGROUND_SERVICE_TYPE_CAMERA","hasMicrophonePermission","RECORD_AUDIO","FOREGROUND_SERVICE_TYPE_MICROPHONE","getIncomingCallForegroundServiceTypes","FOREGROUND_SERVICE_TYPE_SHORT_SERVICE"],"sourceRoot":"../../../../../../src","sources":["utils/push/libs/notifee/index.ts"],"mappings":";;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,IAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AAA4D,IAIvDG,4BAA4B,0BAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAAA,OAA5BA,4BAA4B;AAAA,EAA5BA,4BAA4B;AAkBjC,MAAMC,wBAAwB,GAC5B,6FAA6F;AAExF,SAASC,uCAAuCA,CAAA,EAAG;EACxD,IAAI,CAACC,QAAG,EAAE;IACR,MAAMC,KAAK,CACT,8FAA8F,GAC5FH,wBACJ,CAAC;EACH;EACA,OAAOE,QAAG;AACZ;AAEO,SAASE,oCAAoCA,CAAA,EAAG;EACrD,IAAI,CAACF,QAAG,EAAE;IACR,MAAMG,MAAM,GAAGC,8BAAiB,CAACC,SAAS,CAAC,sBAAsB,CAAC;IAClEF,MAAM,CAACG,IAAI,CACT,GAAG,gHAAgH,GAAGR,wBAAwB,EAChJ,CAAC;EACH;EACA,OAAOE,QAAG;AACZ;AAEO,eAAeO,sCAAsCA,CAAA,EAAG;EAC7D,MAAMC,KAAqC,GAAG,CAC5CX,4BAA4B,CAACY,sCAAsC,CACpE;EACD,MAAMC,mBAAmB,GAAG,MAAMC,+BAAkB,CAACC,KAAK,CACxDD,+BAAkB,CAACE,WAAW,CAACC,MACjC,CAAC;EACD,IAAIJ,mBAAmB,EAAE;IACvBF,KAAK,CAACO,IAAI,CAAClB,4BAA4B,CAACmB,8BAA8B,CAAC;EACzE;EACA,MAAMC,uBAAuB,GAAG,MAAMN,+BAAkB,CAACC,KAAK,CAC5DD,+BAAkB,CAACE,WAAW,CAACK,YACjC,CAAC;EACD,IAAID,uBAAuB,EAAE;IAC3BT,KAAK,CAACO,IAAI,CAAClB,4BAA4B,CAACsB,kCAAkC,CAAC;EAC7E;EACA,OAAOX,KAAK;AACd;AAEO,SAASY,qCAAqCA,CAAA,EAAG;EACtD,MAAMZ,KAAqC,GAAG,CAC5CX,4BAA4B,CAACwB,qCAAqC,CACnE;EACD,OAAOb,KAAK;AACd","ignoreList":[]}
|
package/dist/commonjs/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["version","exports"],"sourceRoot":"../../src","sources":["version.ts"],"mappings":";;;;;;AAAO,MAAMA,OAAO,GAAAC,OAAA,CAAAD,OAAA,GAAG,
|
|
1
|
+
{"version":3,"names":["version","exports"],"sourceRoot":"../../src","sources":["version.ts"],"mappings":";;;;;;AAAO,MAAMA,OAAO,GAAAC,OAAA,CAAAD,OAAA,GAAG,gBAAgB","ignoreList":[]}
|
|
@@ -34,7 +34,7 @@ export function getNotifeeLibNoThrowForKeepCallAlive() {
|
|
|
34
34
|
return lib;
|
|
35
35
|
}
|
|
36
36
|
export async function getKeepCallAliveForegroundServiceTypes() {
|
|
37
|
-
const types = [];
|
|
37
|
+
const types = [AndroidForegroundServiceType.FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK];
|
|
38
38
|
const hasCameraPermission = await PermissionsAndroid.check(PermissionsAndroid.PERMISSIONS.CAMERA);
|
|
39
39
|
if (hasCameraPermission) {
|
|
40
40
|
types.push(AndroidForegroundServiceType.FOREGROUND_SERVICE_TYPE_CAMERA);
|
|
@@ -43,13 +43,6 @@ export async function getKeepCallAliveForegroundServiceTypes() {
|
|
|
43
43
|
if (hasMicrophonePermission) {
|
|
44
44
|
types.push(AndroidForegroundServiceType.FOREGROUND_SERVICE_TYPE_MICROPHONE);
|
|
45
45
|
}
|
|
46
|
-
const hasConnectionPermission = await PermissionsAndroid.check(PermissionsAndroid.PERMISSIONS.BLUETOOTH_CONNECT);
|
|
47
|
-
if (hasConnectionPermission) {
|
|
48
|
-
types.push(AndroidForegroundServiceType.FOREGROUND_SERVICE_TYPE_CONNECTED_DEVICE);
|
|
49
|
-
}
|
|
50
|
-
if (types.length === 0) {
|
|
51
|
-
types.push(AndroidForegroundServiceType.FOREGROUND_SERVICE_TYPE_DATA_SYNC);
|
|
52
|
-
}
|
|
53
46
|
return types;
|
|
54
47
|
}
|
|
55
48
|
export function getIncomingCallForegroundServiceTypes() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["PermissionsAndroid","lib","videoLoggerSystem","AndroidForegroundServiceType","INSTALLATION_INSTRUCTION","getNotifeeLibThrowIfNotInstalledForPush","Error","getNotifeeLibNoThrowForKeepCallAlive","logger","getLogger","info","getKeepCallAliveForegroundServiceTypes","types","hasCameraPermission","check","PERMISSIONS","CAMERA","push","FOREGROUND_SERVICE_TYPE_CAMERA","hasMicrophonePermission","RECORD_AUDIO","FOREGROUND_SERVICE_TYPE_MICROPHONE","
|
|
1
|
+
{"version":3,"names":["PermissionsAndroid","lib","videoLoggerSystem","AndroidForegroundServiceType","INSTALLATION_INSTRUCTION","getNotifeeLibThrowIfNotInstalledForPush","Error","getNotifeeLibNoThrowForKeepCallAlive","logger","getLogger","info","getKeepCallAliveForegroundServiceTypes","types","FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK","hasCameraPermission","check","PERMISSIONS","CAMERA","push","FOREGROUND_SERVICE_TYPE_CAMERA","hasMicrophonePermission","RECORD_AUDIO","FOREGROUND_SERVICE_TYPE_MICROPHONE","getIncomingCallForegroundServiceTypes","FOREGROUND_SERVICE_TYPE_SHORT_SERVICE"],"sourceRoot":"../../../../../../src","sources":["utils/push/libs/notifee/index.ts"],"mappings":"AAAA,SAASA,kBAAkB,QAAQ,cAAc;AACjD,SAASC,GAAG,QAAmB,OAAO;AACtC,SAASC,iBAAiB,QAAQ,yBAAyB;AAAC,IAIvDC,4BAA4B,0BAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAA5BA,4BAA4B,CAA5BA,4BAA4B;EAAA,OAA5BA,4BAA4B;AAAA,EAA5BA,4BAA4B;AAkBjC,MAAMC,wBAAwB,GAC5B,6FAA6F;AAE/F,OAAO,SAASC,uCAAuCA,CAAA,EAAG;EACxD,IAAI,CAACJ,GAAG,EAAE;IACR,MAAMK,KAAK,CACT,8FAA8F,GAC5FF,wBACJ,CAAC;EACH;EACA,OAAOH,GAAG;AACZ;AAEA,OAAO,SAASM,oCAAoCA,CAAA,EAAG;EACrD,IAAI,CAACN,GAAG,EAAE;IACR,MAAMO,MAAM,GAAGN,iBAAiB,CAACO,SAAS,CAAC,sBAAsB,CAAC;IAClED,MAAM,CAACE,IAAI,CACT,GAAG,gHAAgH,GAAGN,wBAAwB,EAChJ,CAAC;EACH;EACA,OAAOH,GAAG;AACZ;AAEA,OAAO,eAAeU,sCAAsCA,CAAA,EAAG;EAC7D,MAAMC,KAAqC,GAAG,CAC5CT,4BAA4B,CAACU,sCAAsC,CACpE;EACD,MAAMC,mBAAmB,GAAG,MAAMd,kBAAkB,CAACe,KAAK,CACxDf,kBAAkB,CAACgB,WAAW,CAACC,MACjC,CAAC;EACD,IAAIH,mBAAmB,EAAE;IACvBF,KAAK,CAACM,IAAI,CAACf,4BAA4B,CAACgB,8BAA8B,CAAC;EACzE;EACA,MAAMC,uBAAuB,GAAG,MAAMpB,kBAAkB,CAACe,KAAK,CAC5Df,kBAAkB,CAACgB,WAAW,CAACK,YACjC,CAAC;EACD,IAAID,uBAAuB,EAAE;IAC3BR,KAAK,CAACM,IAAI,CAACf,4BAA4B,CAACmB,kCAAkC,CAAC;EAC7E;EACA,OAAOV,KAAK;AACd;AAEA,OAAO,SAASW,qCAAqCA,CAAA,EAAG;EACtD,MAAMX,KAAqC,GAAG,CAC5CT,4BAA4B,CAACqB,qCAAqC,CACnE;EACD,OAAOZ,KAAK;AACd","ignoreList":[]}
|
package/dist/module/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = '1.26.
|
|
1
|
+
export const version = '1.26.3-alpha.1';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["version"],"sourceRoot":"../../src","sources":["version.ts"],"mappings":"AAAA,OAAO,MAAMA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"names":["version"],"sourceRoot":"../../src","sources":["version.ts"],"mappings":"AAAA,OAAO,MAAMA,OAAO,GAAG,gBAAgB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/utils/push/libs/notifee/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,IAAI,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC;AAE9B,aAAK,4BAA4B;IAC/B,8BAA8B,KAAK;IACnC,wCAAwC,KAAK;IAC7C,iCAAiC,IAAI;IACrC,8BAA8B,MAAM;IACpC,gCAAgC,IAAI;IACpC,sCAAsC,IAAI;IAC1C,wCAAwC,KAAK;IAC7C,wCAAwC,OAAO;IAC/C,kCAAkC,MAAM;IACxC,kCAAkC,IAAI;IACtC,wCAAwC,MAAM;IAC9C,qCAAqC,OAAO;IAC5C,mCAAmC,aAAa;IAChD,uCAAuC,OAAO;IAC9C,gCAAgC,KAAK;CACtC;AAKD,wBAAgB,uCAAuC,2CAQtD;AAED,wBAAgB,oCAAoC,uDAQnD;AAED,wBAAsB,sCAAsC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/utils/push/libs/notifee/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,IAAI,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC;AAE9B,aAAK,4BAA4B;IAC/B,8BAA8B,KAAK;IACnC,wCAAwC,KAAK;IAC7C,iCAAiC,IAAI;IACrC,8BAA8B,MAAM;IACpC,gCAAgC,IAAI;IACpC,sCAAsC,IAAI;IAC1C,wCAAwC,KAAK;IAC7C,wCAAwC,OAAO;IAC/C,kCAAkC,MAAM;IACxC,kCAAkC,IAAI;IACtC,wCAAwC,MAAM;IAC9C,qCAAqC,OAAO;IAC5C,mCAAmC,aAAa;IAChD,uCAAuC,OAAO;IAC9C,gCAAgC,KAAK;CACtC;AAKD,wBAAgB,uCAAuC,2CAQtD;AAED,wBAAgB,oCAAoC,uDAQnD;AAED,wBAAsB,sCAAsC,4CAiB3D;AAED,wBAAgB,qCAAqC,mCAKpD"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "1.26.
|
|
1
|
+
export declare const version = "1.26.3-alpha.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,mBAAmB,CAAC"}
|
|
@@ -12,7 +12,7 @@ function getNotifeeService(isKeepCallAliveEnabled = false) {
|
|
|
12
12
|
let foregroundServiceType = 'shortService';
|
|
13
13
|
if (isKeepCallAliveEnabled) {
|
|
14
14
|
foregroundServiceType =
|
|
15
|
-
'
|
|
15
|
+
'mediaPlayback|camera|microphone|' + foregroundServiceType;
|
|
16
16
|
}
|
|
17
17
|
let head = prefixAndroidKeys({
|
|
18
18
|
name: 'app.notifee.core.ForegroundService',
|
|
@@ -17,7 +17,7 @@ const withStreamVideoReactNativeSDKAndroidPermissions = (configuration, props) =
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
if (props?.androidKeepCallAlive || props?.ringingPushNotifications) {
|
|
20
|
-
permissions.push('android.permission.FOREGROUND_SERVICE_CAMERA', 'android.permission.FOREGROUND_SERVICE_MICROPHONE', 'android.permission.
|
|
20
|
+
permissions.push('android.permission.FOREGROUND_SERVICE_CAMERA', 'android.permission.FOREGROUND_SERVICE_MICROPHONE', 'android.permission.FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK');
|
|
21
21
|
}
|
|
22
22
|
if (props?.ringingPushNotifications?.showWhenLockedAndroid) {
|
|
23
23
|
permissions.push('android.permission.USE_FULL_SCREEN_INTENT');
|
|
Binary file
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>SchemeUserState</key>
|
|
6
|
+
<dict>
|
|
7
|
+
<key>StreamVideoReactNative.xcscheme_^#shared#^_</key>
|
|
8
|
+
<dict>
|
|
9
|
+
<key>orderHint</key>
|
|
10
|
+
<integer>0</integer>
|
|
11
|
+
</dict>
|
|
12
|
+
</dict>
|
|
13
|
+
</dict>
|
|
14
|
+
</plist>
|
package/package.json
CHANGED
|
@@ -46,7 +46,9 @@ export function getNotifeeLibNoThrowForKeepCallAlive() {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
export async function getKeepCallAliveForegroundServiceTypes() {
|
|
49
|
-
const types: AndroidForegroundServiceType[] = [
|
|
49
|
+
const types: AndroidForegroundServiceType[] = [
|
|
50
|
+
AndroidForegroundServiceType.FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK,
|
|
51
|
+
];
|
|
50
52
|
const hasCameraPermission = await PermissionsAndroid.check(
|
|
51
53
|
PermissionsAndroid.PERMISSIONS.CAMERA!,
|
|
52
54
|
);
|
|
@@ -59,17 +61,6 @@ export async function getKeepCallAliveForegroundServiceTypes() {
|
|
|
59
61
|
if (hasMicrophonePermission) {
|
|
60
62
|
types.push(AndroidForegroundServiceType.FOREGROUND_SERVICE_TYPE_MICROPHONE);
|
|
61
63
|
}
|
|
62
|
-
const hasConnectionPermission = await PermissionsAndroid.check(
|
|
63
|
-
PermissionsAndroid.PERMISSIONS.BLUETOOTH_CONNECT!,
|
|
64
|
-
);
|
|
65
|
-
if (hasConnectionPermission) {
|
|
66
|
-
types.push(
|
|
67
|
-
AndroidForegroundServiceType.FOREGROUND_SERVICE_TYPE_CONNECTED_DEVICE,
|
|
68
|
-
);
|
|
69
|
-
}
|
|
70
|
-
if (types.length === 0) {
|
|
71
|
-
types.push(AndroidForegroundServiceType.FOREGROUND_SERVICE_TYPE_DATA_SYNC);
|
|
72
|
-
}
|
|
73
64
|
return types;
|
|
74
65
|
}
|
|
75
66
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '1.26.
|
|
1
|
+
export const version = '1.26.3-alpha.1';
|