File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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 ';
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments