|
|
|
|
@ -747,7 +747,8 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
"DeviceTypeID": req.DeviceTypeID,
|
|
|
|
|
"PatientID": authUser.patientID,
|
|
|
|
|
"PatientTypeID": authUser.patientType,
|
|
|
|
|
"PatientType": authUser.patientType
|
|
|
|
|
"PatientType": authUser.patientType,
|
|
|
|
|
"VoipToken": await sharedPref.getString(ONESIGNAL_APNS_TOKEN),
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
dynamic localRes;
|
|
|
|
|
@ -985,11 +986,13 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
"DeviceTypeID": req.DeviceTypeID,
|
|
|
|
|
"PatientID": authUser.patientID,
|
|
|
|
|
"PatientTypeID": authUser.patientType,
|
|
|
|
|
"PatientType": authUser.patientType
|
|
|
|
|
"PatientType": authUser.patientType,
|
|
|
|
|
"DeviceToken": await sharedPref.getString(PUSH_TOKEN),
|
|
|
|
|
"VoipToken": await sharedPref.getString(ONESIGNAL_APNS_TOKEN),
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// request.DeviceToken = this.cs.sharedService.getSharedData(AuthenticationService.DEVICE_TOKEN, false);
|
|
|
|
|
// request.Latitude = this.cs.sharedService.getSharedData('userLat', false);
|
|
|
|
|
// request.Latitude = this.cs.szharedService.getSharedData('userLat', false);
|
|
|
|
|
// request.Longitude = this.cs.sharedService.getSharedData('userLong', false);
|
|
|
|
|
// request.ServiceID = apptData.ServiceID;
|
|
|
|
|
// request.ProjectID = apptData.ProjectID;
|
|
|
|
|
|