We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a04cf4a commit 08088d2Copy full SHA for 08088d2
actions.js
@@ -43,9 +43,12 @@ const didDisplayIncomingCall = handler =>
43
const didPerformSetMutedCallAction = handler =>
44
eventEmitter.addListener(RNCallKeepDidPerformSetMutedCallAction, (data) => handler(data.muted));
45
46
-const didPerformDTMFAction = handler => {
47
- eventEmitter.addListener(RNCallKeepDidPerformDTMFAction, handler);
48
-};
+const didPerformDTMFAction = handler =>
+ eventEmitter.addListener(RNCallKeepDidPerformDTMFAction, (data) => {
+ const payload = isIOS ? { dtmf: data.digits, callUUID: data.callUUID } : data;
49
+
50
+ return handler(payload);
51
+ });
52
53
export const listeners = {
54
didReceiveStartCallAction,
0 commit comments