Keep getting "No Callback Found" error on iOS Simulator
hdcaruth opened this issue · 7 comments
hdcaruth commented
This is the code in my componentWillUnmount()
method:
async componentWillUnmount() {
console.log("Unmounting");
await this.state.rtmEngine.leaveChannel("testChatChannel").catch(error => console.log("Error leaving", error.code));;
await this.state.rtmEngine.logout().catch(error => console.log("Error logging out", error.code));
console.log("Left channel...");
}
I intermittently get the following error (see uploaded image):
What's going on here?
LichKing-2234 commented
Sorry for the late reply, is this issue still exist?
rajaneeshBridgera commented
Sach-SPF commented
@LichKing-2234 - I'm also facing the same problem with the latest version of RTM 1.4.8, Can anyone from maintainers or you share the fix, as iOS 15 is coming out today 14 Sept
LichKing-2234 commented
have you followed our example?
hdcaruth commented
While allegedly deprecated, you may have luck with calling the destroyClient(..)
fn on the RTM Engine instance. I would say that is worth a shot.
jafar-jabr commented
@LichKing-2234
this is still in v1.5.1, but this time with leaveChannel.
No callback found with cbID 35777 and callID 17888 for AgoraRTM.leaveChannel