hiennguyen92 / flutter_callkit_incoming

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

Unrecognized field "textCallback" #539

Open Tim-byte-afk opened 5 months ago

Tim-byte-afk commented 5 months ago

I turn off missed notifications, but on some devices the error continues to occur

missedCallNotification: const NotificationParams(
  showNotification: false,
  isShowCallback: false,
),
android: const AndroidParams(
  isCustomNotification: false,
  isShowLogo: false,
  ringtonePath: 'system_ringtone_default',
  backgroundColor: '#0955fa',
  actionColor: '#4CAF50',
  isShowCallID: false,
  incomingCallNotificationChannelName: "Incoming Call",
  missedCallNotificationChannelName: "Missed Call",
  isShowFullLockedScreen: true,
)

PlatformException: PlatformException(error, Unrecognized field "textCallback" (class com.hiennv.flutter_callkit_incoming.Data), not marked as ignorable

This is the stacktrace:

message_codecs.dart in StandardMethodCodec.decodeEnvelope at line 651 within flutter
platform_channel.dart in MethodChannel._invokeMethod at line 334 within flutter
<asynchronous suspension>
flutter_callkit_incoming.dart in FlutterCallkitIncoming.endAllCalls at line 103 within flutter_callkit_incoming

I use version 2.0.4+1

@hiennguyen92 please, help