ansible-role-varnish icon indicating copy to clipboard operation
ansible-role-varnish copied to clipboard

Ringtone not playing when ConnectycubeFlutterCallKit.showCallNotification is called from within the FirebaseMessaging.onBackgroundMessage

Open lifehetu opened this issue 3 years ago • 1 comments

When the App is in the running state, and the custom ringtone, kept in app/src/main/res/raw folder plays when ConnectycubeFlutterCallKit.showCallNotification(callEvent); is called.

ConnectycubeFlutterCallKit.instance.init( onCallAccepted: _onCallAccepted, onCallRejected: _onCallRejected, ringtone: 'custom_ringtone', icon: 'lifehetu_logo', color: '#07711e');

But when the Flutter App is in the background state, the ringtone does not play when Connecticube updateConfig is called from within the FirebaseMessaging.onBackgroundMessage method.

ConnectycubeFlutterCallKit.instance.updateConfig( ringtone: 'custom_ringtone', icon: 'lifehetu_logo', color: '#07711e'); How do I play my custom ringtone when Connecticube ConnectycubeFlutterCallKit.showCallNotification(callEvent); is invoked from within the firebase background handler method?

lifehetu avatar Jun 01 '22 03:06 lifehetu

Any updates on this issue?

prashantjdgit avatar Apr 11 '23 05:04 prashantjdgit