Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix build

Neeraj Gupta00a52f6867d8
diff --git a/mobile/apps/photos/ios/Podfile.lock b/mobile/apps/photos/ios/Podfile.lock
index 7b42329806..b6c6841013 100644
--- a/mobile/apps/photos/ios/Podfile.lock
+++ b/mobile/apps/photos/ios/Podfile.lock
@@ -485,7 +485,7 @@ SPEC CHECKSUMS:
flutter_inappwebview_ios: 6f63631e2c62a7c350263b13fa5427aedefe81d4
flutter_local_notifications: ff50f8405aaa0ccdc7dcfb9022ca192e8ad9688f
flutter_native_splash: df59bb2e1421aa0282cb2e95618af4dcb0c56c29
- flutter_secure_storage: d33dac7ae2ea08509be337e775f6b59f1ff45f12
+ flutter_secure_storage: 23fc622d89d073675f2eaa109381aefbcf5a49be
flutter_sodium: a00383520fc689c688b66fd3092984174712493e
flutter_timezone: ac3da59ac941ff1c98a2e1f0293420e020120282
fluttertoast: 21eecd6935e7064cc1fcb733a4c5a428f3f24f0f
diff --git a/mobile/apps/photos/plugins/ente_feature_flag/lib/src/model.dart b/mobile/apps/photos/plugins/ente_feature_flag/lib/src/model.dart
index b4d1d6e34d..84d10c55a1 100644
--- a/mobile/apps/photos/plugins/ente_feature_flag/lib/src/model.dart
+++ b/mobile/apps/photos/plugins/ente_feature_flag/lib/src/model.dart
@@ -13,6 +13,7 @@ class RemoteFlags {
final bool betaUser;
final bool enableMobMultiPart;
final String castUrl;
+ final String embedUrl;
final String customDomain;
final String customDomainCNAME;
@@ -26,6 +27,7 @@ class RemoteFlags {
required this.betaUser,
required this.enableMobMultiPart,
required this.castUrl,
+ required this.embedUrl,
required this.customDomain,
required this.customDomainCNAME,
});
@@ -43,6 +45,7 @@ class RemoteFlags {
String? castUrl,
String? customDomain,
String? customDomainCNAME,
+ String? embedUrl,
}) {
return RemoteFlags(
enableStripe: enableStripe ?? this.enableStripe,
@@ -56,6 +59,7 @@ class RemoteFlags {
castUrl: castUrl ?? this.castUrl,
customDomain: customDomain ?? this.customDomain,
customDomainCNAME: customDomainCNAME ?? this.customDomainCNAME,
+ embedUrl: embedUrl ?? this.embedUrl,
);
}
@@ -70,6 +74,7 @@ class RemoteFlags {
enableMobMultiPart: false,
castUrl: "https://cast.ente.io",
customDomain: "",
+ embedUrl: "https://embed.ente.io",
customDomainCNAME: "my.ente.io",
);
@@ -85,6 +90,9 @@ class RemoteFlags {
'betaUser': betaUser,
'enableMobMultiPart': enableMobMultiPart,
'castUrl': castUrl,
+ 'customDomain': customDomain,
+ 'customDomainCNAME': customDomainCNAME,
+ 'embedUrl': embedUrl,
};
}
@@ -105,6 +113,7 @@ class RemoteFlags {
customDomain: map['customDomain'] ?? defaultValue.customDomain,
customDomainCNAME:
map['customDomainCNAME'] ?? defaultValue.customDomainCNAME,
+ embedUrl: map['embedUrl'] ?? defaultValue.embedUrl,
);
}
}