File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ const RNCallKeepShowIncomingCallUi = 'RNCallKeepShowIncomingCallUi';
19
19
const RNCallKeepOnSilenceIncomingCall = 'RNCallKeepOnSilenceIncomingCall' ;
20
20
const RNCallKeepOnIncomingConnectionFailed = 'RNCallKeepOnIncomingConnectionFailed' ;
21
21
const RNCallKeepDidChangeAudioRoute = 'RNCallKeepDidChangeAudioRoute' ;
22
+ const RNCallKeepHasActiveCall = 'RNCallKeepHasActiveCall' ;
22
23
const isIOS = Platform . OS === 'ios' ;
23
24
24
25
const didReceiveStartCallAction = handler => {
@@ -60,6 +61,9 @@ const didDisplayIncomingCall = handler => eventEmitter.addListener(RNCallKeepDid
60
61
const didPerformSetMutedCallAction = handler =>
61
62
eventEmitter . addListener ( RNCallKeepDidPerformSetMutedCallAction , ( data ) => handler ( data ) ) ;
62
63
64
+ const onHasActiveCall = handler =>
65
+ eventEmitter . addListener ( RNCallKeepHasActiveCall , handler ) ;
66
+
63
67
const didToggleHoldCallAction = handler =>
64
68
eventEmitter . addListener ( RNCallKeepDidToggleHoldAction , handler ) ;
65
69
@@ -103,4 +107,5 @@ export const listeners = {
103
107
silenceIncomingCall,
104
108
createIncomingConnectionFailed,
105
109
didChangeAudioRoute,
110
+ onHasActiveCall
106
111
} ;
You can’t perform that action at this time.
0 commit comments