Skip to content

Commit 03be33b

Browse files
committed
its not ios that cant do declined elsewhere
1 parent 17f28ac commit 03be33b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ RNCallKeep.reportEndCallWithUUID(uuid, reason);
259259
- Remote user ended call: 2
260260
- Remote user did not answer: 3
261261
- Call Answered elsewhere: 4
262-
- Call declined elsewhere: 5 (on iOS this will map to Remote user ended call if you use the constants)
262+
- Call declined elsewhere: 5 (on Android this will map to Remote user ended call if you use the constants)
263263
- Access reasons as constants
264264
```js
265265
const { CONSTANTS as CK_CONSTANTS, RNCallKeep } from 'react-native-callkeep';

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const CONSTANTS = {
1212
REMOTE_ENDED: 2,
1313
UNANSWERED: 3,
1414
ANSWERED_ELSEWHERE: 4,
15-
DECLINED_ELSEWHERE: isIOS ? 2 : 5 // make declined elsewhere link to "Remote ended" because that's kinda true
15+
DECLINED_ELSEWHERE: isIOS ? 5 : 2 // make declined elsewhere link to "Remote ended" on android because that's kinda true
1616
}
1717
};
1818

0 commit comments

Comments
 (0)