@stream-io/video-react-native-sdk 0.7.22 → 0.7.24
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/CHANGELOG.md +13 -0
- package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js +3 -1
- package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/HangupCallButton.js +3 -2
- package/dist/commonjs/components/Call/CallControls/HangupCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/RejectCallButton.js +2 -1
- package/dist/commonjs/components/Call/CallControls/RejectCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js +3 -1
- package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
- package/dist/commonjs/components/Call/Lobby/JoinCallButton.js +3 -1
- package/dist/commonjs/components/Call/Lobby/JoinCallButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js +4 -2
- package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +3 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamPlayer.js +20 -4
- package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamPlayer.js.map +1 -1
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +3 -1
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -1
- package/dist/commonjs/contexts/BackgroundFilters.js +1 -3
- package/dist/commonjs/contexts/BackgroundFilters.js.map +1 -1
- package/dist/commonjs/hooks/push/useIosVoipPushEventsSetupEffect.js +9 -5
- package/dist/commonjs/hooks/push/useIosVoipPushEventsSetupEffect.js.map +1 -1
- package/dist/commonjs/hooks/useAndroidKeepCallAliveEffect.js +4 -2
- package/dist/commonjs/hooks/useAndroidKeepCallAliveEffect.js.map +1 -1
- package/dist/commonjs/hooks/usePermissionRequest.js +2 -1
- package/dist/commonjs/hooks/usePermissionRequest.js.map +1 -1
- package/dist/commonjs/utils/getAndroidDefaultRingtoneUrl.js +3 -1
- package/dist/commonjs/utils/getAndroidDefaultRingtoneUrl.js.map +1 -1
- package/dist/commonjs/utils/push/android.js +7 -4
- package/dist/commonjs/utils/push/android.js.map +1 -1
- package/dist/commonjs/utils/push/ios.js +4 -2
- package/dist/commonjs/utils/push/ios.js.map +1 -1
- package/dist/commonjs/utils/push/libs/firebaseMessaging.js +3 -1
- package/dist/commonjs/utils/push/libs/firebaseMessaging.js.map +1 -1
- package/dist/commonjs/utils/push/utils.js +8 -4
- package/dist/commonjs/utils/push/utils.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/module/components/Call/CallControls/AcceptCallButton.js +3 -1
- package/dist/module/components/Call/CallControls/AcceptCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/HangupCallButton.js +3 -1
- package/dist/module/components/Call/CallControls/HangupCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/RejectCallButton.js +3 -2
- package/dist/module/components/Call/CallControls/RejectCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js +3 -1
- package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
- package/dist/module/components/Call/Lobby/JoinCallButton.js +3 -1
- package/dist/module/components/Call/Lobby/JoinCallButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js +5 -3
- package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +3 -1
- package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamPlayer/LivestreamPlayer.js +20 -4
- package/dist/module/components/Livestream/LivestreamPlayer/LivestreamPlayer.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +3 -1
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -1
- package/dist/module/contexts/BackgroundFilters.js +1 -3
- package/dist/module/contexts/BackgroundFilters.js.map +1 -1
- package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js +10 -6
- package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js.map +1 -1
- package/dist/module/hooks/useAndroidKeepCallAliveEffect.js +5 -3
- package/dist/module/hooks/useAndroidKeepCallAliveEffect.js.map +1 -1
- package/dist/module/hooks/usePermissionRequest.js +3 -2
- package/dist/module/hooks/usePermissionRequest.js.map +1 -1
- package/dist/module/utils/getAndroidDefaultRingtoneUrl.js +3 -1
- package/dist/module/utils/getAndroidDefaultRingtoneUrl.js.map +1 -1
- package/dist/module/utils/push/android.js +8 -5
- package/dist/module/utils/push/android.js.map +1 -1
- package/dist/module/utils/push/ios.js +4 -2
- package/dist/module/utils/push/ios.js.map +1 -1
- package/dist/module/utils/push/libs/firebaseMessaging.js +3 -1
- package/dist/module/utils/push/libs/firebaseMessaging.js.map +1 -1
- package/dist/module/utils/push/utils.js +9 -5
- package/dist/module/utils/push/utils.js.map +1 -1
- package/dist/module/version.js +1 -1
- package/dist/typescript/components/Call/CallControls/AcceptCallButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/HangupCallButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/RejectCallButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/internal/ReactionsPicker.d.ts.map +1 -1
- package/dist/typescript/components/Call/Lobby/JoinCallButton.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamControls/HostStartStreamButton.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamPlayer/LivestreamPlayer.d.ts.map +1 -1
- package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.d.ts.map +1 -1
- package/dist/typescript/contexts/BackgroundFilters.d.ts.map +1 -1
- package/dist/typescript/hooks/push/useIosVoipPushEventsSetupEffect.d.ts.map +1 -1
- package/dist/typescript/hooks/useAndroidKeepCallAliveEffect.d.ts.map +1 -1
- package/dist/typescript/hooks/usePermissionRequest.d.ts.map +1 -1
- package/dist/typescript/utils/getAndroidDefaultRingtoneUrl.d.ts.map +1 -1
- package/dist/typescript/utils/push/android.d.ts.map +1 -1
- package/dist/typescript/utils/push/ios.d.ts.map +1 -1
- package/dist/typescript/utils/push/libs/firebaseMessaging.d.ts.map +1 -1
- package/dist/typescript/utils/push/utils.d.ts.map +1 -1
- package/dist/typescript/version.d.ts +1 -1
- package/package.json +3 -3
- package/src/components/Call/CallControls/AcceptCallButton.tsx +3 -1
- package/src/components/Call/CallControls/HangupCallButton.tsx +3 -1
- package/src/components/Call/CallControls/RejectCallButton.tsx +3 -2
- package/src/components/Call/CallControls/internal/ReactionsPicker.tsx +3 -2
- package/src/components/Call/Lobby/JoinCallButton.tsx +3 -1
- package/src/components/Livestream/LivestreamControls/HostStartStreamButton.tsx +5 -3
- package/src/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.tsx +3 -1
- package/src/components/Livestream/LivestreamPlayer/LivestreamPlayer.tsx +21 -4
- package/src/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.tsx +4 -1
- package/src/contexts/BackgroundFilters.tsx +1 -3
- package/src/hooks/push/useIosVoipPushEventsSetupEffect.ts +10 -6
- package/src/hooks/useAndroidKeepCallAliveEffect.ts +6 -3
- package/src/hooks/usePermissionRequest.tsx +7 -2
- package/src/utils/getAndroidDefaultRingtoneUrl.ts +3 -1
- package/src/utils/push/android.ts +15 -5
- package/src/utils/push/ios.ts +4 -3
- package/src/utils/push/libs/firebaseMessaging.ts +5 -1
- package/src/utils/push/utils.ts +18 -5
- package/src/version.ts +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getLogger } from '@stream-io/video-client';
|
|
1
2
|
let messaging;
|
|
2
3
|
try {
|
|
3
4
|
messaging = require('@react-native-firebase/messaging').default;
|
|
@@ -11,7 +12,8 @@ export function getFirebaseMessagingLib() {
|
|
|
11
12
|
}
|
|
12
13
|
export function getFirebaseMessagingLibNoThrow(isExpo) {
|
|
13
14
|
if (!messaging) {
|
|
14
|
-
|
|
15
|
+
const logger = getLogger(['getFirebaseMessagingLibNoThrow']);
|
|
16
|
+
logger('warn', `${isExpo ? 'In Expo, @react-native-firebase/messaging library is required to receive ringing notifications in app killed state for Android.' : ''}${INSTALLATION_INSTRUCTION}`);
|
|
15
17
|
}
|
|
16
18
|
return messaging;
|
|
17
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["messaging","require","default","_e","INSTALLATION_INSTRUCTION","getFirebaseMessagingLib","Error","getFirebaseMessagingLibNoThrow","isExpo","
|
|
1
|
+
{"version":3,"names":["getLogger","messaging","require","default","_e","INSTALLATION_INSTRUCTION","getFirebaseMessagingLib","Error","getFirebaseMessagingLibNoThrow","isExpo","logger"],"sourceRoot":"../../../../../src","sources":["utils/push/libs/firebaseMessaging.ts"],"mappings":"AAAA,SAASA,SAAS,QAAQ,yBAAyB;AAMnD,IAAIC,SAA4C;AAEhD,IAAI;EACFA,SAAS,GAAGC,OAAO,CAAC,kCAAkC,CAAC,CAACC,OAAO;AACjE,CAAC,CAAC,OAAOC,EAAE,EAAE,CAAC;AAEd,MAAMC,wBAAwB,GAC5B,6FAA6F;AAC/F,OAAO,SAASC,uBAAuBA,CAAA,EAAG;EACxC,IAAI,CAACL,SAAS,EAAE;IACd,MAAMM,KAAK,CACT,qDAAqD,GACnDF,wBACJ,CAAC;EACH;EACA,OAAOJ,SAAS;AAClB;AAEA,OAAO,SAASO,8BAA8BA,CAACC,MAAe,EAAE;EAC9D,IAAI,CAACR,SAAS,EAAE;IACd,MAAMS,MAAM,GAAGV,SAAS,CAAC,CAAC,gCAAgC,CAAC,CAAC;IAC5DU,MAAM,CACJ,MAAM,EACL,GACCD,MAAM,GACF,iIAAiI,GACjI,EACL,GAAEJ,wBAAyB,EAC9B,CAAC;EACH;EACA,OAAOJ,SAAS;AAClB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RxUtils } from '@stream-io/video-client';
|
|
1
|
+
import { RxUtils, getLogger } from '@stream-io/video-client';
|
|
2
2
|
import { onNewCallNotification } from '../internal/newNotificationCallbacks';
|
|
3
3
|
import { pushUnsubscriptionCallbacks$ } from './rxSubjects';
|
|
4
4
|
/**
|
|
@@ -56,7 +56,8 @@ export const processCallFromPushInBackground = async (pushConfig, call_cid, acti
|
|
|
56
56
|
return;
|
|
57
57
|
}
|
|
58
58
|
} catch (e) {
|
|
59
|
-
|
|
59
|
+
const logger = getLogger(['processCallFromPushInBackground']);
|
|
60
|
+
logger('error', 'failed to create video client', e);
|
|
60
61
|
return;
|
|
61
62
|
}
|
|
62
63
|
await processCallFromPush(videoClient, call_cid, action);
|
|
@@ -74,7 +75,8 @@ export const processCallFromPush = async (client, call_cid, action) => {
|
|
|
74
75
|
try {
|
|
75
76
|
callFromPush = await client.onRingingCall(call_cid);
|
|
76
77
|
} catch (e) {
|
|
77
|
-
|
|
78
|
+
const logger = getLogger(['processCallFromPush']);
|
|
79
|
+
logger('error', 'failed to fetch call from push notification', e);
|
|
78
80
|
return;
|
|
79
81
|
}
|
|
80
82
|
// note: when action was pressed or delivered, we dont need to do anything as the only thing is to do is to get the call which adds it to the client
|
|
@@ -87,7 +89,8 @@ export const processCallFromPush = async (client, call_cid, action) => {
|
|
|
87
89
|
});
|
|
88
90
|
}
|
|
89
91
|
} catch (e) {
|
|
90
|
-
|
|
92
|
+
const logger = getLogger(['processCallFromPush']);
|
|
93
|
+
logger('error', `failed to process ${action} call from push notification`, e);
|
|
91
94
|
}
|
|
92
95
|
};
|
|
93
96
|
|
|
@@ -111,7 +114,8 @@ export const processNonIncomingCallFromPush = async (client, call_cid, nonRingin
|
|
|
111
114
|
await callFromPush.get();
|
|
112
115
|
}
|
|
113
116
|
} catch (e) {
|
|
114
|
-
|
|
117
|
+
const logger = getLogger(['processNonIncomingCallFromPush']);
|
|
118
|
+
logger('error', 'failed to fetch call from push notification', e);
|
|
115
119
|
return;
|
|
116
120
|
}
|
|
117
121
|
onNewCallNotification(callFromPush, nonRingingNotificationType);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["RxUtils","onNewCallNotification","pushUnsubscriptionCallbacks$","shouldCallBeEnded","callFromPush","created_by_id","receiver_id","callSession","state","session","rejected_by","accepted_by","mustEndCall","callkeepReason","processCallFromPushInBackground","pushConfig","call_cid","action","videoClient","createStreamVideoClient","e","
|
|
1
|
+
{"version":3,"names":["RxUtils","getLogger","onNewCallNotification","pushUnsubscriptionCallbacks$","shouldCallBeEnded","callFromPush","created_by_id","receiver_id","callSession","state","session","rejected_by","accepted_by","mustEndCall","callkeepReason","processCallFromPushInBackground","pushConfig","call_cid","action","videoClient","createStreamVideoClient","e","logger","processCallFromPush","client","onRingingCall","join","leave","reject","processNonIncomingCallFromPush","nonRingingNotificationType","_callFromPush","calls","find","c","cid","callType","callId","split","call","get","clearPushWSEventSubscriptions","unsubscriptionCallbacks","getCurrentValue","forEach","cb","next","undefined","canAddPushWSSubscriptionsRef","current"],"sourceRoot":"../../../../src","sources":["utils/push/utils.ts"],"mappings":"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"}
|
package/dist/module/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = '0.7.
|
|
1
|
+
export const version = '0.7.24';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcceptCallButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallControls/AcceptCallButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AcceptCallButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallControls/AcceptCallButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B;;GAEG;AACH,KAAK,qBAAqB,GAAG;IAC3B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;CAClC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,6CAG1B,qBAAqB,sBAmCvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HangupCallButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallControls/HangupCallButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"HangupCallButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallControls/HangupCallButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAO1D;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;CAChE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,mDAI1B,qBAAqB,sBAsCvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RejectCallButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallControls/RejectCallButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B;;GAEG;AACH,KAAK,qBAAqB,GAAG;IAC3B;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;CAClC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,6CAG1B,qBAAqB,
|
|
1
|
+
{"version":3,"file":"RejectCallButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallControls/RejectCallButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B;;GAEG;AACH,KAAK,qBAAqB,GAAG;IAC3B;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;CAClC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,6CAG1B,qBAAqB,sBA0CvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReactionsPicker.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Call/CallControls/internal/ReactionsPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EACL,eAAe,EAKhB,MAAM,cAAc,CAAC;AAKtB,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAG1D,KAAK,mBAAmB,GAAG,IAAI,CAAC,oBAAoB,EAAE,oBAAoB,CAAC,GAAG;IAC5E,8BAA8B,CAAC,EAAE,eAAe,CAAC;IACjD,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B,CAAC;AAKF,eAAO,MAAM,eAAe,8EAIzB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"ReactionsPicker.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Call/CallControls/internal/ReactionsPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EACL,eAAe,EAKhB,MAAM,cAAc,CAAC;AAKtB,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAG1D,KAAK,mBAAmB,GAAG,IAAI,CAAC,oBAAoB,EAAE,oBAAoB,CAAC,GAAG;IAC5E,8BAA8B,CAAC,EAAE,eAAe,CAAC;IACjD,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B,CAAC;AAKF,eAAO,MAAM,eAAe,8EAIzB,mBAAmB,sBA8IrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JoinCallButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/Lobby/JoinCallButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"JoinCallButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/Lobby/JoinCallButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAMrC;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,UAAU,EAAE,mBAAmB,CAAC,GAAG;IACxE,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,2CAGxB,mBAAmB,sBA8CrB,CAAC"}
|
package/dist/typescript/components/Livestream/LivestreamControls/HostStartStreamButton.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HostStartStreamButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/LivestreamControls/HostStartStreamButton.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAYxC;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IACd;;OAEG;IACH,sCAAsC,CAAC,EAAE,OAAO,CAAC;CAClD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,+FAK/B,0BAA0B,
|
|
1
|
+
{"version":3,"file":"HostStartStreamButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/LivestreamControls/HostStartStreamButton.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAYxC;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IACd;;OAEG;IACH,sCAAsC,CAAC,EAAE,OAAO,CAAC;CAClD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,+FAK/B,0BAA0B,sBA6G5B,CAAC"}
|
package/dist/typescript/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewerLeaveStreamButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ViewerLeaveStreamButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAaxC;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACzC;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;CACnC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,8BAEjC,4BAA4B,sBA4D9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LivestreamPlayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/LivestreamPlayer/LivestreamPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAEL,qBAAqB,EACtB,MAAM,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"LivestreamPlayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/LivestreamPlayer/LivestreamPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAEL,qBAAqB,EACtB,MAAM,IAAI,CAAC;AAIZ,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,qBAAqB,CAAC,CAAC;CAC/D,CAAC;AAEF,eAAO,MAAM,gBAAgB,4CAI1B,qBAAqB,6BA+CvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnimatedFloatingView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAS7D,OAAO,EACL,iBAAiB,EAKlB,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"AnimatedFloatingView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAS7D,OAAO,EACL,iBAAiB,EAKlB,MAAM,UAAU,CAAC;AAGlB,QAAA,MAAM,oBAAoB,qEAKvB,iBAAiB,sBAkKnB,CAAC;AAUF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BackgroundFilters.d.ts","sourceRoot":"","sources":["../../../src/contexts/BackgroundFilters.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,iBAAiB,EAOlB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"BackgroundFilters.d.ts","sourceRoot":"","sources":["../../../src/contexts/BackgroundFilters.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,iBAAiB,EAOlB,MAAM,OAAO,CAAC;AAcf,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAErC,QAAA,MAAM,sBAAsB,iCAA2B,CAAC;AAGxD,KAAK,eAAe,GAAG,OAAO,CAC5B,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC,CAAC,CAAC,EAC5C,KAAK,CAAC,GAAG,CAAC,CACX,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEzD,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,OAAO,CAAC;AAEpD,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,KAAK,CAAC,EAAE,eAAe,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,uBAAuB,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAC7D;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,0BAA0B,EAAE,CAAC,WAAW,EAAE,eAAe,KAAK,IAAI,CAAC;IACnE;;;;OAIG;IACH,yBAAyB,EAAE,CAAC,aAAa,EAAE,aAAa,KAAK,IAAI,CAAC;IAClE;;OAEG;IACH,iBAAiB,EAAE,MAAM,IAAI,CAAC;CAC/B,CAAC;AASF;;GAEG;AACH,eAAO,MAAM,oBAAoB,4BAahC,CAAC;AAIF;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB,iBAAkB,iBAAiB,sBA6FxE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIosVoipPushEventsSetupEffect.d.ts","sourceRoot":"","sources":["../../../../src/hooks/push/useIosVoipPushEventsSetupEffect.ts"],"names":[],"mappings":"AAuBA;;;GAGG;AACH,eAAO,MAAM,+BAA+B,
|
|
1
|
+
{"version":3,"file":"useIosVoipPushEventsSetupEffect.d.ts","sourceRoot":"","sources":["../../../../src/hooks/push/useIosVoipPushEventsSetupEffect.ts"],"names":[],"mappings":"AAuBA;;;GAGG;AACH,eAAO,MAAM,+BAA+B,YAiF3C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAndroidKeepCallAliveEffect.d.ts","sourceRoot":"","sources":["../../../src/hooks/useAndroidKeepCallAliveEffect.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useAndroidKeepCallAliveEffect.d.ts","sourceRoot":"","sources":["../../../src/hooks/useAndroidKeepCallAliveEffect.ts"],"names":[],"mappings":"AAiEA;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B,YAgEzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePermissionRequest.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePermissionRequest.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"usePermissionRequest.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePermissionRequest.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,oBAAoB,YAmEhC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAndroidDefaultRingtoneUrl.d.ts","sourceRoot":"","sources":["../../../src/utils/getAndroidDefaultRingtoneUrl.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getAndroidDefaultRingtoneUrl.d.ts","sourceRoot":"","sources":["../../../src/utils/getAndroidDefaultRingtoneUrl.ts"],"names":[],"mappings":"AAGA,wBAAsB,4BAA4B,IAAI,OAAO,CAC3D,MAAM,GAAG,SAAS,CACnB,CAcA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"android.d.ts","sourceRoot":"","sources":["../../../../src/utils/push/android.ts"],"names":[],"mappings":"AAAA,OAAgB,EAId,cAAc,EACf,MAAM,uBAAuB,CAAC;AAE/B,OAAO,
|
|
1
|
+
{"version":3,"file":"android.d.ts","sourceRoot":"","sources":["../../../../src/utils/push/android.ts"],"names":[],"mappings":"AAAA,OAAgB,EAId,cAAc,EACf,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAGL,iBAAiB,EAElB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,wBAAwB,CAAC;AA2BhC,KAAK,UAAU,GAAG,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC;AAEzD,2CAA2C;AAC3C,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,UAAU,EACtB,wBAAwB,EAAE,cAAc,QAqGzC;AAED,0DAA0D;AAC1D,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,iBAAiB,EACzB,UAAU,EAAE,UAAU,EACtB,sBAAsB,EAAE,CAAC,WAAW,EAAE,MAAM,IAAI,KAAK,IAAI,iBAsC1D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ios.d.ts","sourceRoot":"","sources":["../../../../src/utils/push/ios.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,wBAAwB,CAAC;AAahC,OAAO,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"ios.d.ts","sourceRoot":"","sources":["../../../../src/utils/push/ios.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,wBAAwB,CAAC;AAahC,OAAO,EAAE,iBAAiB,EAAa,MAAM,yBAAyB,CAAC;AAIvE,KAAK,UAAU,GAAG,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC;AAwBzD,eAAO,MAAM,qBAAqB,aACtB,MAAM,GAAG,SAAS,wBACN,MAAM,SAe7B,CAAC;AAEF,eAAO,MAAM,qBAAqB,aACtB,MAAM,GAAG,SAAS,wBACN,MAAM,cAChB,UAAU,kBAWvB,CAAC;AAgBF,eAAO,MAAM,kCAAkC,eAAgB,UAAU,SA6BxE,CAAC;AAEF,2BAA2B;AAC3B,wBAAsB,mBAAmB,CACvC,MAAM,EAAE,iBAAiB,EACzB,UAAU,EAAE,UAAU,EACtB,sBAAsB,EAAE,CAAC,WAAW,EAAE,MAAM,IAAI,KAAK,IAAI,iBA6D1D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"firebaseMessaging.d.ts","sourceRoot":"","sources":["../../../../../src/utils/push/libs/firebaseMessaging.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"firebaseMessaging.d.ts","sourceRoot":"","sources":["../../../../../src/utils/push/libs/firebaseMessaging.ts"],"names":[],"mappings":"AAEA,YAAY,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC/E,MAAM,MAAM,qBAAqB,GAC/B,cAAc,kCAAkC,EAAE,OAAO,CAAC;AAU5D,wBAAgB,uBAAuB,4OAQtC;AAED,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,OAAO,uPAa7D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/push/utils.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/push/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EAEJ,iBAAiB,EAElB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EACV,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,wBAAwB,CAAC;AAIhC,KAAK,UAAU,GAAG,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC;AAEzD,KAAK,4BAA4B,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AAEzD;;;GAGG;AACH,eAAO,MAAM,iBAAiB,iBACd,IAAI,iBACH,MAAM,GAAG,SAAS,eACpB,MAAM,GAAG,SAAS;;;CAmChC,CAAC;AAMF,eAAO,MAAM,+BAA+B,eAC9B,UAAU,YACZ,MAAM,UACR,WAAW,0BAA0B,CAAC,CAAC,CAAC,CAAC,kBAelD,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,WACtB,iBAAiB,YACf,MAAM,UACR,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,qBAAqB,kBAyBjE,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,8BAA8B,WACjC,iBAAiB,YACf,MAAM,8BACY,mBAAmB,kBAmBhD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,6BAA6B,YAQzC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,4BAA4B,EAAE,4BAE1C,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "0.7.
|
|
1
|
+
export declare const version = "0.7.24";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stream-io/video-react-native-sdk",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.24",
|
|
4
4
|
"packageManager": "yarn@3.2.4",
|
|
5
5
|
"main": "dist/commonjs/index.js",
|
|
6
6
|
"module": "dist/module/index.js",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"!**/.*"
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@stream-io/video-client": "^1.2.
|
|
50
|
-
"@stream-io/video-react-bindings": "^0.4.
|
|
49
|
+
"@stream-io/video-client": "^1.2.3",
|
|
50
|
+
"@stream-io/video-react-bindings": "^0.4.41",
|
|
51
51
|
"intl-pluralrules": "2.0.1",
|
|
52
52
|
"lodash.merge": "^4.6.2",
|
|
53
53
|
"react-native-url-polyfill": "1.3.0",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { useCall } from '@stream-io/video-react-bindings';
|
|
2
|
+
import { getLogger } from '@stream-io/video-client';
|
|
2
3
|
import React from 'react';
|
|
3
4
|
import { CallControlsButton } from './CallControlsButton';
|
|
4
5
|
import { Phone } from '../../../icons';
|
|
@@ -48,7 +49,8 @@ export const AcceptCallButton = ({
|
|
|
48
49
|
onAcceptCallHandler();
|
|
49
50
|
}
|
|
50
51
|
} catch (error) {
|
|
51
|
-
|
|
52
|
+
const logger = getLogger(['AcceptCallButton']);
|
|
53
|
+
logger('error', 'Error joining Call', error);
|
|
52
54
|
}
|
|
53
55
|
};
|
|
54
56
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { getLogger } from '@stream-io/video-client';
|
|
2
3
|
import { CallControlsButton } from './CallControlsButton';
|
|
3
4
|
import { PhoneDown } from '../../../icons';
|
|
4
5
|
import { ButtonTestIds } from '../../../constants/TestIds';
|
|
@@ -58,7 +59,8 @@ export const HangUpCallButton = ({
|
|
|
58
59
|
onHangupCallHandler();
|
|
59
60
|
}
|
|
60
61
|
} catch (error) {
|
|
61
|
-
|
|
62
|
+
const logger = getLogger(['HangUpCallButton']);
|
|
63
|
+
logger('error', 'Error leaving Call', error);
|
|
62
64
|
}
|
|
63
65
|
};
|
|
64
66
|
|
|
@@ -2,7 +2,7 @@ import { useCall, useCallStateHooks } from '@stream-io/video-react-bindings';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { CallControlsButton } from './CallControlsButton';
|
|
4
4
|
import { PhoneDown } from '../../../icons';
|
|
5
|
-
import { CallingState } from '@stream-io/video-client';
|
|
5
|
+
import { CallingState, getLogger } from '@stream-io/video-client';
|
|
6
6
|
import { useTheme } from '../../../contexts/ThemeContext';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -55,7 +55,8 @@ export const RejectCallButton = ({
|
|
|
55
55
|
onRejectCallHandler();
|
|
56
56
|
}
|
|
57
57
|
} catch (error) {
|
|
58
|
-
|
|
58
|
+
const logger = getLogger(['RejectCallButton']);
|
|
59
|
+
logger('error', 'Error rejecting Call', error);
|
|
59
60
|
}
|
|
60
61
|
};
|
|
61
62
|
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
Easing,
|
|
8
8
|
} from 'react-native';
|
|
9
9
|
import { useCall } from '@stream-io/video-react-bindings';
|
|
10
|
-
import { SendReactionRequest } from '@stream-io/video-client';
|
|
10
|
+
import { SendReactionRequest, getLogger } from '@stream-io/video-client';
|
|
11
11
|
import { ComponentTestIds } from '../../../../constants/TestIds';
|
|
12
12
|
import { useTheme } from '../../../../contexts/ThemeContext';
|
|
13
13
|
import { ReactionsButtonProps } from '../ReactionsButton';
|
|
@@ -84,7 +84,8 @@ export const ReactionsPicker = ({
|
|
|
84
84
|
const onClose = (reaction?: SendReactionRequest) => {
|
|
85
85
|
if (reaction) {
|
|
86
86
|
call?.sendReaction(reaction).catch((e) => {
|
|
87
|
-
|
|
87
|
+
const logger = getLogger(['ReactionsPicker']);
|
|
88
|
+
logger('error', 'Error on onClose-sendReaction', e, reaction);
|
|
88
89
|
});
|
|
89
90
|
}
|
|
90
91
|
Animated.timing(elasticAnimRef.current, {
|
|
@@ -3,6 +3,7 @@ import { LobbyProps } from './Lobby';
|
|
|
3
3
|
import { Pressable, StyleSheet, Text } from 'react-native';
|
|
4
4
|
import { useCall, useI18n } from '@stream-io/video-react-bindings';
|
|
5
5
|
import { useTheme } from '../../../contexts/ThemeContext';
|
|
6
|
+
import { getLogger } from '@stream-io/video-client';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* Props for the Join Call Button in the Lobby component.
|
|
@@ -35,7 +36,8 @@ export const JoinCallButton = ({
|
|
|
35
36
|
onJoinCallHandler();
|
|
36
37
|
}
|
|
37
38
|
} catch (error) {
|
|
38
|
-
|
|
39
|
+
const logger = getLogger(['JoinCallButton']);
|
|
40
|
+
logger('error', 'Error joining call:', error);
|
|
39
41
|
}
|
|
40
42
|
};
|
|
41
43
|
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from 'react-native';
|
|
14
14
|
import { useTheme } from '../../../contexts';
|
|
15
15
|
import { EndBroadcastIcon, StartStreamIcon } from '../../../icons';
|
|
16
|
-
import { SfuModels } from '@stream-io/video-client';
|
|
16
|
+
import { SfuModels, getLogger } from '@stream-io/video-client';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Props for the HostStartStreamButton component.
|
|
@@ -79,7 +79,8 @@ export const HostStartStreamButton = ({
|
|
|
79
79
|
onStartStreamHandler();
|
|
80
80
|
}
|
|
81
81
|
} catch (error) {
|
|
82
|
-
|
|
82
|
+
const logger = getLogger(['HostStartStreamButton']);
|
|
83
|
+
logger('error', 'Error starting livestream', error);
|
|
83
84
|
}
|
|
84
85
|
};
|
|
85
86
|
|
|
@@ -101,7 +102,8 @@ export const HostStartStreamButton = ({
|
|
|
101
102
|
onEndStreamHandler();
|
|
102
103
|
}
|
|
103
104
|
} catch (error) {
|
|
104
|
-
|
|
105
|
+
const logger = getLogger(['HostStartStreamButton']);
|
|
106
|
+
logger('error', 'Error stopping livestream', error);
|
|
105
107
|
}
|
|
106
108
|
};
|
|
107
109
|
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
import { useTheme } from '../../../contexts';
|
|
10
10
|
import { LeaveStreamIcon } from '../../../icons';
|
|
11
11
|
import { useCall, useI18n } from '@stream-io/video-react-bindings';
|
|
12
|
+
import { getLogger } from '@stream-io/video-client';
|
|
12
13
|
|
|
13
14
|
/**
|
|
14
15
|
* Props for the ViewerLeaveStreamButton component.
|
|
@@ -49,7 +50,8 @@ export const ViewerLeaveStreamButton = ({
|
|
|
49
50
|
await call?.leave();
|
|
50
51
|
setIsAwaitingResponse(false);
|
|
51
52
|
} catch (error) {
|
|
52
|
-
|
|
53
|
+
const logger = getLogger(['ViewerLeaveStreamButton']);
|
|
54
|
+
logger('error', 'Error stopping livestream', error);
|
|
53
55
|
}
|
|
54
56
|
};
|
|
55
57
|
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
ViewerLivestreamProps,
|
|
5
5
|
} from '..';
|
|
6
6
|
import { Call, StreamCall, useStreamVideoClient } from '../../..';
|
|
7
|
+
import { CallingState, getLogger } from '@stream-io/video-client';
|
|
7
8
|
|
|
8
9
|
export type LivestreamPlayerProps = {
|
|
9
10
|
/**
|
|
@@ -37,16 +38,32 @@ export const LivestreamPlayer = ({
|
|
|
37
38
|
const myCall = client.call(callType, callId);
|
|
38
39
|
setCall(myCall);
|
|
39
40
|
myCall.join().catch((e) => {
|
|
40
|
-
|
|
41
|
+
const logger = getLogger(['LivestreamPlayer']);
|
|
42
|
+
logger('error', 'Error joining call:', e);
|
|
41
43
|
});
|
|
42
44
|
return () => {
|
|
43
|
-
myCall.
|
|
44
|
-
|
|
45
|
-
|
|
45
|
+
if (myCall.state.callingState !== CallingState.LEFT) {
|
|
46
|
+
myCall.leave().catch((e) => {
|
|
47
|
+
const logger = getLogger(['LivestreamPlayer']);
|
|
48
|
+
logger('error', 'Error leaving call:', e);
|
|
49
|
+
});
|
|
50
|
+
}
|
|
46
51
|
setCall(undefined);
|
|
47
52
|
};
|
|
48
53
|
}, [callId, callType, client]);
|
|
49
54
|
|
|
55
|
+
useEffect(() => {
|
|
56
|
+
return () => {
|
|
57
|
+
// this handles unmount on metro reloads
|
|
58
|
+
if (call?.state.callingState !== CallingState.LEFT) {
|
|
59
|
+
call?.leave().catch((e) => {
|
|
60
|
+
const logger = getLogger(['LivestreamPlayer']);
|
|
61
|
+
logger('error', 'Error leaving call:', e);
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
}, [call]);
|
|
66
|
+
|
|
50
67
|
if (!call) {
|
|
51
68
|
return null;
|
|
52
69
|
}
|
package/src/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.tsx
CHANGED
|
@@ -14,6 +14,7 @@ import {
|
|
|
14
14
|
getClosestSnapAlignment,
|
|
15
15
|
floatingChildViewContainerStyle,
|
|
16
16
|
} from './common';
|
|
17
|
+
import { getLogger } from '@stream-io/video-client';
|
|
17
18
|
|
|
18
19
|
const AnimatedFloatingView = ({
|
|
19
20
|
initialAlignment,
|
|
@@ -114,7 +115,9 @@ const AnimatedFloatingView = ({
|
|
|
114
115
|
).current;
|
|
115
116
|
|
|
116
117
|
useEffect(() => {
|
|
117
|
-
|
|
118
|
+
const logger = getLogger(['AnimatedFloatingView']);
|
|
119
|
+
logger(
|
|
120
|
+
'info',
|
|
118
121
|
'react-native-reanimated and/or react-native-gesture-handler libraries are not installed. Please install them to get a more performant draggable local video component'
|
|
119
122
|
);
|
|
120
123
|
}, []);
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
pushUnsubscriptionCallbacks$,
|
|
18
18
|
voipPushNotificationCallCId$,
|
|
19
19
|
} from '../../utils/push/rxSubjects';
|
|
20
|
-
import { RxUtils } from '@stream-io/video-client';
|
|
20
|
+
import { RxUtils, getLogger } from '@stream-io/video-client';
|
|
21
21
|
|
|
22
22
|
let lastVoipToken: string | undefined = '';
|
|
23
23
|
|
|
@@ -41,7 +41,8 @@ export const useIosVoipPushEventsSetupEffect = () => {
|
|
|
41
41
|
client
|
|
42
42
|
.addVoipDevice(lastVoipToken, 'apn', push_provider_name)
|
|
43
43
|
.catch((err) => {
|
|
44
|
-
|
|
44
|
+
const logger = getLogger(['useIosVoipPushEventsSetupEffect']);
|
|
45
|
+
logger('warn', 'Failed to send lastVoipToken to stream', err);
|
|
45
46
|
});
|
|
46
47
|
}
|
|
47
48
|
const voipPushNotification = getVoipPushNotificationLib();
|
|
@@ -53,14 +54,16 @@ export const useIosVoipPushEventsSetupEffect = () => {
|
|
|
53
54
|
return;
|
|
54
55
|
}
|
|
55
56
|
client.addVoipDevice(token, 'apn', push_provider_name).catch((err) => {
|
|
56
|
-
|
|
57
|
+
const logger = getLogger(['useIosVoipPushEventsSetupEffect']);
|
|
58
|
+
logger('warn', 'Failed to send voip token to stream', err);
|
|
57
59
|
});
|
|
58
60
|
// set the logout callback
|
|
59
61
|
setPushLogoutCallback(async () => {
|
|
60
62
|
try {
|
|
61
|
-
client.removeDevice(token);
|
|
63
|
+
await client.removeDevice(token);
|
|
62
64
|
} catch (err) {
|
|
63
|
-
|
|
65
|
+
const logger = getLogger(['PushLogoutCallback']);
|
|
66
|
+
logger('warn', 'Failed to remove voip token from stream', err);
|
|
64
67
|
}
|
|
65
68
|
});
|
|
66
69
|
};
|
|
@@ -151,7 +154,8 @@ const onNotificationReceived = async (notification: any) => {
|
|
|
151
154
|
call_cid
|
|
152
155
|
);
|
|
153
156
|
} catch (error) {
|
|
154
|
-
|
|
157
|
+
const logger = getLogger(['useIosVoipPushEventsSetupEffect']);
|
|
158
|
+
logger('error', 'Error in getting call uuid from native module', error);
|
|
155
159
|
}
|
|
156
160
|
if (!uuid) {
|
|
157
161
|
return;
|
|
@@ -3,7 +3,7 @@ import { useEffect, useRef } from 'react';
|
|
|
3
3
|
import notifee, { AuthorizationStatus } from '@notifee/react-native';
|
|
4
4
|
import { StreamVideoRN } from '../utils';
|
|
5
5
|
import { Platform } from 'react-native';
|
|
6
|
-
import { CallingState } from '@stream-io/video-client';
|
|
6
|
+
import { CallingState, getLogger } from '@stream-io/video-client';
|
|
7
7
|
|
|
8
8
|
function setForegroundService() {
|
|
9
9
|
if (Platform.OS !== 'android') {
|
|
@@ -11,7 +11,8 @@ function setForegroundService() {
|
|
|
11
11
|
}
|
|
12
12
|
notifee.registerForegroundService(() => {
|
|
13
13
|
return new Promise(() => {
|
|
14
|
-
|
|
14
|
+
const logger = getLogger(['setForegroundService method']);
|
|
15
|
+
logger('info', 'Foreground service running for call in progress');
|
|
15
16
|
});
|
|
16
17
|
});
|
|
17
18
|
}
|
|
@@ -27,7 +28,9 @@ async function startForegroundService(call_cid: string) {
|
|
|
27
28
|
// request for notification permission and then start the foreground service
|
|
28
29
|
const settings = await notifee.getNotificationSettings();
|
|
29
30
|
if (settings.authorizationStatus !== AuthorizationStatus.AUTHORIZED) {
|
|
30
|
-
|
|
31
|
+
const logger = getLogger(['startForegroundService']);
|
|
32
|
+
logger(
|
|
33
|
+
'info',
|
|
31
34
|
'Notification permission not granted, can not start foreground service to keep the call alive'
|
|
32
35
|
);
|
|
33
36
|
return;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
OwnCapability,
|
|
3
|
+
PermissionRequestEvent,
|
|
4
|
+
getLogger,
|
|
5
|
+
} from '@stream-io/video-client';
|
|
2
6
|
import { useCall, useCallStateHooks } from '@stream-io/video-react-bindings';
|
|
3
7
|
import { useCallback, useEffect } from 'react';
|
|
4
8
|
import { Alert } from 'react-native';
|
|
@@ -35,7 +39,8 @@ export const usePermissionRequest = () => {
|
|
|
35
39
|
await call?.revokePermissions(user.id, permissions);
|
|
36
40
|
}
|
|
37
41
|
} catch (err) {
|
|
38
|
-
|
|
42
|
+
const logger = getLogger(['usePermissionRequest']);
|
|
43
|
+
logger('error', 'error handling permissions: ', err);
|
|
39
44
|
}
|
|
40
45
|
};
|
|
41
46
|
},
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getLogger } from '@stream-io/video-client';
|
|
1
2
|
import { NativeModules, Platform } from 'react-native';
|
|
2
3
|
|
|
3
4
|
export async function getAndroidDefaultRingtoneUrl(): Promise<
|
|
@@ -11,7 +12,8 @@ export async function getAndroidDefaultRingtoneUrl(): Promise<
|
|
|
11
12
|
await NativeModules.StreamVideoReactNative?.getDefaultRingtoneUrl();
|
|
12
13
|
return url;
|
|
13
14
|
} catch (e) {
|
|
14
|
-
|
|
15
|
+
const logger = getLogger(['getAndroidDefaultRingtoneUrl']);
|
|
16
|
+
logger('warn', 'Failed to get default ringtone from native module', e);
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
return undefined;
|
|
@@ -5,7 +5,12 @@ import notifee, {
|
|
|
5
5
|
AndroidChannel,
|
|
6
6
|
} from '@notifee/react-native';
|
|
7
7
|
import { FirebaseMessagingTypes } from '@react-native-firebase/messaging';
|
|
8
|
-
import {
|
|
8
|
+
import {
|
|
9
|
+
Call,
|
|
10
|
+
RxUtils,
|
|
11
|
+
StreamVideoClient,
|
|
12
|
+
getLogger,
|
|
13
|
+
} from '@stream-io/video-client';
|
|
9
14
|
import { AppState, Platform } from 'react-native';
|
|
10
15
|
import type {
|
|
11
16
|
NonRingingPushEvent,
|
|
@@ -157,9 +162,10 @@ export async function initAndroidPushToken(
|
|
|
157
162
|
const setDeviceToken = async (token: string) => {
|
|
158
163
|
setPushLogoutCallback(async () => {
|
|
159
164
|
try {
|
|
160
|
-
client.removeDevice(token);
|
|
165
|
+
await client.removeDevice(token);
|
|
161
166
|
} catch (err) {
|
|
162
|
-
|
|
167
|
+
const logger = getLogger(['initAndroidPushToken']);
|
|
168
|
+
logger('warn', 'Failed to remove firebase token from stream', err);
|
|
163
169
|
}
|
|
164
170
|
});
|
|
165
171
|
const push_provider_name = pushConfig.android.pushProviderName;
|
|
@@ -265,7 +271,9 @@ const firebaseMessagingOnMessageHandler = async (
|
|
|
265
271
|
const incomingCallNotificationTextGetters =
|
|
266
272
|
pushConfig.android.incomingCallNotificationTextGetters;
|
|
267
273
|
if (!incomingCallChannel || !incomingCallNotificationTextGetters) {
|
|
268
|
-
|
|
274
|
+
const logger = getLogger(['firebaseMessagingOnMessageHandler']);
|
|
275
|
+
logger(
|
|
276
|
+
'info',
|
|
269
277
|
"Can't show incoming call notification as either or both incomingCallChannel and incomingCallNotificationTextGetters were not provided"
|
|
270
278
|
);
|
|
271
279
|
return;
|
|
@@ -348,7 +356,9 @@ const firebaseMessagingOnMessageHandler = async (
|
|
|
348
356
|
const callNotificationTextGetters =
|
|
349
357
|
pushConfig.android.callNotificationTextGetters;
|
|
350
358
|
if (!callChannel || !callNotificationTextGetters) {
|
|
351
|
-
|
|
359
|
+
const logger = getLogger(['firebaseMessagingOnMessageHandler']);
|
|
360
|
+
logger(
|
|
361
|
+
'info',
|
|
352
362
|
"Can't show call notification as either or both callChannel and callNotificationTextGetters is not provided"
|
|
353
363
|
);
|
|
354
364
|
return;
|