Skip to content

Commit 631a8d7

Browse files
authored
Merge pull request #523 from yunusaydinonline/event_is_not_supported_issue
Added RNCallKeepDidChangeAudioRoute to supportedEvents
2 parents 0f04cb0 + 1132220 commit 631a8d7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ declare module 'react-native-callkeep' {
1111
'didResetProvider' |
1212
'checkReachability' |
1313
'didPerformSetMutedCallAction' |
14+
'didChangeAudioRoute' |
1415
'didLoadWithEvents' |
1516
'showIncomingCallUi' |
1617
'silenceIncomingCall' |

ios/RNCallKeep/RNCallKeep.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ - (void)dealloc
105105
RNCallKeepDidToggleHoldAction,
106106
RNCallKeepProviderReset,
107107
RNCallKeepCheckReachability,
108+
RNCallKeepDidChangeAudioRoute,
108109
RNCallKeepDidLoadWithEvents
109110
];
110111
}

0 commit comments

Comments
 (0)