flutter_callkit_incoming icon indicating copy to clipboard operation
flutter_callkit_incoming copied to clipboard

Incoming call notification not appear after update to Flutter 3.3 (Android)

Open booooohdan opened this issue 2 years ago • 8 comments

I use flutter_callkit_incoming: ^1.0.2+2 only with Android at Flutter 2.10.3 and all worked fine. After updating the project to Flutter 3.3 in debug mode:

  • all work well In release mode (after building in Codemagic CI/CD)
  • calls in background and terminated states stopped working
  • calls in the foreground (when the app is open) work well. No errors in Sentry, push notification works well App has "Ignore Battery Optimization" permission

booooohdan avatar Sep 26 '22 12:09 booooohdan

Channel name seems like giving this issue.

JoshanTandukar avatar Sep 28 '22 03:09 JoshanTandukar

I'm also facing same issue, breaking my head to solve it. Anyone got it fix?

santhoshrao519 avatar Oct 07 '22 14:10 santhoshrao519

The same issue after updating to Flutter 3.3.+

idrats avatar Oct 18 '22 06:10 idrats

@idrats @santhoshrao519 did you try with Flutter 3.0, not 3.3? Maybe the package works with 3.0?

booooohdan avatar Oct 18 '22 08:10 booooohdan

@booooohdan yes, there were no problem on Flutter 3.0.5 But we can not stay on 3.0.5 because of other packages updates

idrats avatar Oct 18 '22 08:10 idrats

The same issue after updating to Flutter 3.3.4

anocean2 avatar Oct 18 '22 09:10 anocean2

downgraded to flutter 3.0.5, when i try with getActiveCalls() I'm getting Unhandled Exception: PlatformException(error, Missing type parameter., , null) exception in app terminated state

santhoshrao519 avatar Oct 18 '22 10:10 santhoshrao519

Hi guys I am facing the same issue in debug it works fine but not working in the release even I try 3.3.4 and 3.3.5 same issue is not working in the release any other solution

jimykhan avatar Oct 26 '22 11:10 jimykhan

@jimykhan Try

@pragma('vm:entry-point') Future _firebaseMessagingBackgroundHandler(RemoteMessage message) async { // code here }

santhoshrao519 avatar Nov 07 '22 06:11 santhoshrao519

Is this being looked at?

neilhosey avatar Nov 08 '22 22:11 neilhosey

@pragma('vm:entry-point') Future _firebaseMessagingBackgroundHandler(RemoteMessage message) async { // code here }

Resolved

booooohdan avatar Dec 20 '22 17:12 booooohdan