|
|
|
|
@ -22,6 +22,7 @@ import 'package:firebase_messaging/firebase_messaging.dart' as fir;
|
|
|
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
|
import 'package:flutter/foundation.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
|
|
// import 'package:flutter_ios_voip_kit/call_state_type.dart';
|
|
|
|
|
// import 'package:flutter_ios_voip_kit/flutter_ios_voip_kit.dart';
|
|
|
|
|
import 'package:flutter_local_notifications/flutter_local_notifications.dart';
|
|
|
|
|
@ -393,7 +394,8 @@ class PushNotificationHandler {
|
|
|
|
|
if (remoteMessage.data['is_call'] == 'true' || remoteMessage.data['is_call'] == true) {
|
|
|
|
|
_incomingCall(remoteMessage.data);
|
|
|
|
|
// showCallkitIncoming(remoteMessage.data);
|
|
|
|
|
}if(remoteMessage.data['is_navigation'] == 'true' || remoteMessage.data['is_navigation'] == true ){
|
|
|
|
|
}
|
|
|
|
|
else if (remoteMessage.data['is_navigation'] == 'true' || remoteMessage.data['is_navigation'] == true) {
|
|
|
|
|
NavigationClinicDetails data = NavigationClinicDetails();
|
|
|
|
|
data.clinicId = remoteMessage.data['clinic_Id'];
|
|
|
|
|
data.patientId = remoteMessage.data['patient_Id'];
|
|
|
|
|
|