Closed
Description
Bug report
-
I've checked the example to reproduce the issue.
-
Reproduced on:
-
iOS
Description
I have the following code to check if answercall was pressed early before JS context is loaded.
But in this scenario isCallActive is returning me undefined all the time. First console log is printed so i know that my method is executed but isCallActive doesnt work properly so the whole 1 second timer loop doesnt work.
Steps to Reproduce
this.callAcceptanceTimer = setInterval(async () => {
console.log('Is Call Accepted for UUID: ', uuid);
if (await RNCallKeep.isCallActive(uuid)) {
this._onCallAccept(uuid);
console.log('awesome');
}
}, 1000);
Versions
- Callkeep: 4.0
- React Native: 0.63.3
- iOS: 14+
Metadata
Metadata
Assignees
Labels
No labels