@ -78,6 +78,5 @@ AndroidNotificationChannel channel = const AndroidNotificationChannel(
Future<dynamic> backgroundMessageHandler(RemoteMessage message) async {
await Firebase.initializeApp();
Utils.saveStringFromPrefs("isAppOpendByChat", "true");
logger.w(message.data["user_chat_history_response"]);
Utils.saveStringFromPrefs("notificationData", message.data["user_chat_history_response"].toString());
}
@ -1466,4 +1466,10 @@ class ChatProviderModel with ChangeNotifier, DiagnosticableTreeMixin {
///////////////////// Web RTC Video Calling ///////////////////////////////
void startCall({required String callType}) {}
void endCall() {}