Merge branch 'dev_v3.13.6' of http://34.17.52.79/Haroon6138/diplomatic-quarter into dev_v3.13.6

merge-update-with-lab-changes
Sultan khan 2 years ago
commit d459600f22

@ -64,7 +64,7 @@ class _PrescriptionDetailsPageState extends State<PrescriptionDetailsPage> {
widget.prescriptions!.doctorName!, widget.prescriptions!.doctorName!,
widget.prescriptions!.doctorID!, widget.prescriptions!.doctorID!,
widget.prescriptions!.doctorImageURL!, widget.prescriptions!.doctorImageURL!,
widget.prescriptions!.speciality!, widget.prescriptions!.speciality ?? [""],
"", "",
widget.prescriptions!.name!, widget.prescriptions!.name!,
DateUtil.convertStringToDate(widget.prescriptions!.appointmentDate!), DateUtil.convertStringToDate(widget.prescriptions!.appointmentDate!),

@ -204,7 +204,8 @@ class LiveCareService extends BaseService {
Map<String, dynamic> request; Map<String, dynamic> request;
String? deviceToken; String? deviceToken;
String voipToken = await AppSharedPreferences().getString(ONESIGNAL_APNS_TOKEN);
String voipToken = Platform.isIOS ? (await AppSharedPreferences().getString(ONESIGNAL_APNS_TOKEN)): "";
getDeviceToken().then((value) { getDeviceToken().then((value) {
print(value); print(value);
deviceToken = value; deviceToken = value;

@ -58,7 +58,7 @@ dependencies:
shared_preferences: ^2.0.0 shared_preferences: ^2.0.0
# flutter_flexible_toast: ^0.1.4 # flutter_flexible_toast: ^0.1.4
fluttertoast: ^8.0.8 fluttertoast: ^8.0.8
firebase_messaging: ^14.1.0 firebase_messaging: ^14.7.4
firebase_analytics: ^10.0.5 firebase_analytics: ^10.0.5
# Progress bar # Progress bar
flutter_progress_hud: ^2.0.2 flutter_progress_hud: ^2.0.2

Loading…
Cancel
Save