haroon_dev
haroon amjad 3 days ago
parent e1084028d6
commit 2175ff0784

@ -405,7 +405,7 @@ class PushNotificationHandler {
) async {
log('🎈 example: onDidAcceptIncomingCall $uuid - $callerId');
String zoomSessionID = callerId.split("*")[0];
String zoomSessionID = callerId.split("_").sublist(0, callerId.split("_").length - 1).join("_");
await voIPKit.acceptIncomingCall(callerState: CallStateType.calling);
await voIPKit.callConnected();

@ -762,6 +762,8 @@ class BookAppointmentsRepoImp implements BookAppointmentsRepo {
"IsVirtual": false,
"DeviceType": Platform.isIOS ? 'iOS' : 'Android',
"DeviceToken": await Utils.getStringFromPrefs(CacheConst.pushToken),
"VoipToken": await Utils.getStringFromPrefs(CacheConst.voipToken),
"IsVoip": Platform.isIOS ? true : false,
"BookedBy": 102,
"VisitType": 1,
"VisitFor": 1,

@ -622,7 +622,7 @@ class MyAppointmentsRepoImp implements MyAppointmentsRepo {
"AcceptedBy": patientAppointmentHistoryResponseModel.doctorID,
"IsFlutter": true,
"DeviceToken": await Utils.getStringFromPrefs(CacheConst.pushToken),
"VoipToken": "", // TODO: Add VoIP Token functionality
"VoipToken": await Utils.getStringFromPrefs(CacheConst.voipToken),
"IsVoip": Platform.isIOS ? true : false
};

@ -159,7 +159,8 @@ class _MedicalReportsPageState extends State<MedicalReportsPage> {
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
CustomButton(
text: "${medicalFileVM.patientMedicalReportsViewList[index].medicalReportsList!.length} Reports Available",
text:
"${medicalFileVM.patientMedicalReportsViewList[index].medicalReportsList!.length} ${medicalFileVM.patientMedicalReportsViewList[index].medicalReportsList!.length > 1 ? 'Reports' : 'Report'}",
onPressed: () {},
backgroundColor: AppColors.greyColor,
borderColor: AppColors.greyColor,

Loading…
Cancel
Save