Update to stores, VersionID 21.6

haroon_dev
haroon amjad 2 weeks ago
parent 25e96d7afb
commit c774109abc

@ -316,10 +316,8 @@ class ApiConsts {
static String googleCloudStorageENTranslationFileBaseURL = "https://storage.googleapis.com/hmg-patientapp-translations";
// ************ static values for Api ****************
// static final double appVersionID = 21.9;
static final double appVersionID = 21.5;
static final double appVersionID = 21.6;
// static final double appVersionID = 50.7;
static final int appChannelId = 3;
static final String appIpAddress = "10.20.10.20";
static final String appGeneralId = "Cs2020@2016\$2958";

@ -68,11 +68,10 @@ class OccasionConfigModel {
factory OccasionConfigModel.fromJson(Map<String, dynamic> json) {
return OccasionConfigModel(
key: (json['key'] as String?) ?? 'none',
// enabled: (json['enabled'] as bool?) ?? false,
enabled: (json['enabled'] as bool?) ?? false,
// enabled: true,
startDate: _parseDate(json['start_date']),
endDate: _parseDate(json['end_date']),
enabled: true,
// TODO: FOR TESTING ONLY — REMOVE BEFORE RELEASE. The "enabled" field is not yet supported in remote config, so we always treat it as true for now.
primaryColorHex: json['primary_color'] as String?,
backgroundOpacityImage: json['background_opacity_image'] as String?,
backgroundImageOpacity: (json['background_image_opacity'] as num?)?.toDouble() ?? 1.0,

@ -314,6 +314,8 @@ class MyInAppBrowser extends InAppBrowser {
if (isLiveCareAppo) {
form = form.replaceFirst('IS_SCHEDULE_VALUE', "true");
} else {
form = form.replaceFirst('IS_SCHEDULE_VALUE', "false");
}
var bytes = utf8.encode(form);

Loading…
Cancel
Save