Notification

development_aamir
Aamir Muhammad 2 years ago
parent ca6b482a8e
commit c55c3d6a91

@ -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() {}
}

Loading…
Cancel
Save