2021-07-21 20:47:43 +00:00
|
|
|
const int kThumbnailSmallSize = 256;
|
|
|
|
const int kThumbnailQuality = 50;
|
|
|
|
const int kThumbnailLargeSize = 512;
|
|
|
|
const int kCompressedThumbnailResolution = 1080;
|
|
|
|
const int kThumbnailDataLimit = 100 * 1024;
|
|
|
|
const String kSentryDSN =
|
2021-07-22 09:30:03 +00:00
|
|
|
"https://2235e5c99219488ea93da34b9ac1cb68@sentry.ente.io/4";
|
2021-07-21 20:47:43 +00:00
|
|
|
const String kSentryDebugDSN =
|
2021-07-22 09:30:03 +00:00
|
|
|
"https://ca5e686dd7f149d9bf94e620564cceba@sentry.ente.io/3";
|
2022-05-28 23:20:23 +00:00
|
|
|
const String kSentryTunnel = "https://sentry-reporter.ente.io";
|
2021-07-21 20:47:43 +00:00
|
|
|
const String kRoadmapURL = "https://roadmap.ente.io";
|
|
|
|
const int kMicroSecondsInDay = 86400000000;
|
|
|
|
const int kAndroid11SDKINT = 30;
|
2021-07-21 20:53:51 +00:00
|
|
|
const int kGalleryLoadStartTime = -8000000000000000; // Wednesday, March 6, 1748
|
2021-07-23 12:53:39 +00:00
|
|
|
|
|
|
|
// used to identify which ente file are available in app cache
|
2021-07-24 13:30:33 +00:00
|
|
|
const String kSharedMediaIdentifier = 'ente-shared://';
|
2021-08-10 07:21:13 +00:00
|
|
|
|
|
|
|
const int kMaxLivePhotoToastCount = 2;
|
2021-08-10 08:08:07 +00:00
|
|
|
const String kLivePhotoToastCounterKey = "show_live_photo_toast";
|
2021-09-14 18:48:26 +00:00
|
|
|
|
|
|
|
const kThumbnailDiskLoadDeferDuration = Duration(milliseconds: 40);
|
|
|
|
const kThumbnailServerLoadDeferDuration = Duration(milliseconds: 80);
|
2021-11-12 17:40:56 +00:00
|
|
|
|
|
|
|
// 256 bit key maps to 24 words
|
|
|
|
// https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki#Generating_the_mnemonic
|
|
|
|
const kMnemonicKeyWordCount = 24;
|
2022-03-14 11:44:18 +00:00
|
|
|
|
|
|
|
// https://stackoverflow.com/a/61162219
|
|
|
|
const kDragSensitivity = 8;
|
2022-05-31 07:52:47 +00:00
|
|
|
|
|
|
|
const kSupportEmail = 'support@ente.io';
|
2022-06-03 10:13:19 +00:00
|
|
|
|
|
|
|
// Default values for various feature flags
|
|
|
|
class FFDefault {
|
|
|
|
static const bool enableStripe = true;
|
|
|
|
static const bool disableUrlSharing = false;
|
|
|
|
static const bool disableCFWorker = false;
|
|
|
|
}
|