Open dk-dsndr27 opened 8 months ago
please make sure Firebase.init() before showCallkitIncoming()
hi @hiennguyen92 Previously i'm already used that, but it's still not working
btw, where this message came?? maybe i'll try to trigger in that events
D/JSON ( 7336): [{"args":{},"accepted":false,"customNotification":false,"customSmallExNotification":false,"muted":false,"onHold":false,"showCallID":false,"showCallback":true,"showFullLockedScreen":true,"showLogo":false,"showMissedCallNotification":true,"actionColor":"#4CAF50","appName":"","audioRoute":1,"avatar":"":"","duration":30000,"extra":{},"from":"notification","handle":"","headers":{},"id":"2bd5c917-c688-4979-b240-c9ac548e6012","incomingCallNotificationChannelName":null,"isAccepted":false,"isCustomNotification":false,"isCustomSmallExNotification":false,"isMuted":false,"isOnHold":false,"isShowCallID":false,"isShowCallback":true,"isShowFullLockedScreen":true,"isShowLogo":false,"isShowMissedCallNotification":true,"missedCallNotificationChannelName":null,"missedNotificationCallbackText":"","missedNotificationCount":1,"missedNotificationId":0,"missedNotificationSubtitle":"","nameCaller":"Dino","ringtonePath":"","textAccept":"Accept","textColor":"#ffffff","textDecline":"Decline","type":0,"uuid":""}] W/FlutterJNI( 7336): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: flutter_callkit_incoming_events. Response ID: 43 V/MediaPlayer( 7336): resetDrmState: mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false V/MediaPlayer( 7336): cleanDrmObj: mDrmObj=null mDrmSessionId=null D/JSON ( 7336): [] W/MediaPlayer( 7336): mediaplayer went away with unhandled events W/FlutterJNI( 7336): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: flutter_callkit_incoming_events. Response ID: 44 I/TRuntime.CctTransportBackend( 7336): Making request to: https://firebaselogging-pa.googleapis.com/v1/firelog/legacy/batchlog I/TRuntime.CctTransportBackend( 7336): Status Code: 200
I think that messages was triggered to native Android, do you have example for that? @hiennguyen92
Hi @hiennguyen92 How to handle the events when Android app was Terminated? They all not working to me This is a bug??
Disclamer: I have already use backgroundHandler