Open ahmedJD opened 3 years ago
Did you find solution for this?
i used shared prefrences to pass variable from background Message handler to answerCall method but i think it's not the better solution
@ahmedJD Use IsolateNameServer to pass data from onbackgroundMessagehandler to application and at reciever port end store them in class level variables. Now you will be able to use these variables in answercall.
@shreyansh2211 do you have an example how to use IsolateNameServer to push data and get them in other function method
i'm using agora with callkeep to join the same channel when app is in background or in foreground. how can i pass the channel id received in onBackgroundMessage(fcm) to callkeep answerCall() method.