hiennguyen92 / flutter_callkit_incoming

Flutter Callkit Incoming
https://pub.dev/packages/flutter_callkit_incoming
MIT License
180 stars 312 forks source link

Not showing in Android #466

Closed dk-dsndr27 closed 8 months ago

dk-dsndr27 commented 8 months ago

Hi @hiennguyen92 On Android, do we need to add some code in native like iOS?

Nazeer-Nageb commented 8 months ago

@dk-dsndr27 Did work with you on ios? If I worked with you on ios, contact me to share ideas, I worked with me on android, but it didn't work on ios

dk-dsndr27 commented 8 months ago

@Nazeer-Nageb of course working properly

btw, how about terminate state on Android? Do you giving code on your native android?

Nazeer-Nageb commented 8 months ago

@dk-dsndr27 There is no code to add native in android Share your code with me to tell you what problem
And tell me in ios how to use file Voip.pem

dk-dsndr27 commented 8 months ago

@Nazeer-Nageb i'm only had with terminated state on Android

test your iOS project to this url https://apnspush.com/ if working properly, you only have to create with APNs notification, not with FCM

disclaimer: i'm only FE Developer, not BE

Nazeer-Nageb commented 8 months ago

@dk-dsndr27 I'm use fcm in android and I had no problem showing call in func onbackground but in ios I didn't know how to use the Voip.pem file Is there another way to receive and send a call, and how can I learn this method?

dk-dsndr27 commented 8 months ago

I have problem on terminate state on Android Background state and terminated state I think that a different think's bro @Nazeer-Nageb

you have to set .pem/.p12 file in your backend, i think every frameworks have a different APNs documentation

datpt11 commented 8 months ago

Screenshot 2024-03-05 at 3 00 40 PM

same android 14

dk-dsndr27 commented 8 months ago

Solved, i’am combine fcm backgroundHandler with flutter_background_service But i got a new issues #478 @hiennguyen92