Skip to content

Commit 89aabb6

Browse files
committed
Disable didPerformDTMFAction on iOS
1 parent eefa5a9 commit 89aabb6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

actions.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,14 @@ const didDisplayIncomingCall = handler =>
4343
const didPerformSetMutedCallAction = handler =>
4444
eventEmitter.addListener(RNCallKeepDidPerformSetMutedCallAction, (data) => { handler(data.muted); });
4545

46-
const didPerformDTMFAction = handler =>
46+
const didPerformDTMFAction = handler => {
47+
// @TODO: handle DTMF on iOS
48+
if (isIOS) {
49+
return;
50+
}
51+
4752
eventEmitter.addListener(RNCallKeepDidPerformDTMFAction, (data) => { handler(data.number); });
53+
};
4854

4955
export const listeners = {
5056
didReceiveStartCallAction,

0 commit comments

Comments
 (0)