Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix(auth): update splash

Prateek Sunal10e717a4efe2
diff --git a/auth/android/app/src/main/res/drawable-hdpi/android12splash.png b/auth/android/app/src/main/res/drawable-hdpi/android12splash.png
new file mode 100644
index 0000000000..494139b926
Binary files /dev/null and b/auth/android/app/src/main/res/drawable-hdpi/android12splash.png differ
diff --git a/auth/android/app/src/main/res/drawable-hdpi/splash.png b/auth/android/app/src/main/res/drawable-hdpi/splash.png
index e0efb670e0..9bb1e2aeec 100644
Binary files a/auth/android/app/src/main/res/drawable-hdpi/splash.png and b/auth/android/app/src/main/res/drawable-hdpi/splash.png differ
diff --git a/auth/android/app/src/main/res/drawable-mdpi/android12splash.png b/auth/android/app/src/main/res/drawable-mdpi/android12splash.png
new file mode 100644
index 0000000000..f9048fefbd
Binary files /dev/null and b/auth/android/app/src/main/res/drawable-mdpi/android12splash.png differ
diff --git a/auth/android/app/src/main/res/drawable-mdpi/splash.png b/auth/android/app/src/main/res/drawable-mdpi/splash.png
index 899cecf22c..2d83d16291 100644
Binary files a/auth/android/app/src/main/res/drawable-mdpi/splash.png and b/auth/android/app/src/main/res/drawable-mdpi/splash.png differ
diff --git a/auth/android/app/src/main/res/drawable-night-hdpi/android12splash.png b/auth/android/app/src/main/res/drawable-night-hdpi/android12splash.png
new file mode 100644
index 0000000000..494139b926
Binary files /dev/null and b/auth/android/app/src/main/res/drawable-night-hdpi/android12splash.png differ
diff --git a/auth/android/app/src/main/res/drawable-night-hdpi/splash.png b/auth/android/app/src/main/res/drawable-night-hdpi/splash.png
deleted file mode 100644
index c82843dfb4..0000000000
Binary files a/auth/android/app/src/main/res/drawable-night-hdpi/splash.png and /dev/null differ
diff --git a/auth/android/app/src/main/res/drawable-night-mdpi/android12splash.png b/auth/android/app/src/main/res/drawable-night-mdpi/android12splash.png
new file mode 100644
index 0000000000..f9048fefbd
Binary files /dev/null and b/auth/android/app/src/main/res/drawable-night-mdpi/android12splash.png differ
diff --git a/auth/android/app/src/main/res/drawable-night-mdpi/splash.png b/auth/android/app/src/main/res/drawable-night-mdpi/splash.png
deleted file mode 100644
index 87f84c70e6..0000000000
Binary files a/auth/android/app/src/main/res/drawable-night-mdpi/splash.png and /dev/null differ
diff --git a/auth/android/app/src/main/res/drawable-night-v21/background.png b/auth/android/app/src/main/res/drawable-night-v21/background.png
deleted file mode 100644
index 1b5df34e7b..0000000000
Binary files a/auth/android/app/src/main/res/drawable-night-v21/background.png and /dev/null differ
diff --git a/auth/android/app/src/main/res/drawable-night-xhdpi/android12splash.png b/auth/android/app/src/main/res/drawable-night-xhdpi/android12splash.png
new file mode 100644
index 0000000000..0ea61e2fe1
Binary files /dev/null and b/auth/android/app/src/main/res/drawable-night-xhdpi/android12splash.png differ
diff --git a/auth/android/app/src/main/res/drawable-night-xhdpi/splash.png b/auth/android/app/src/main/res/drawable-night-xhdpi/splash.png
deleted file mode 100644
index ce01bec05c..0000000000
Binary files a/auth/android/app/src/main/res/drawable-night-xhdpi/splash.png and /dev/null differ
diff --git a/auth/android/app/src/main/res/drawable-night-xxhdpi/android12splash.png b/auth/android/app/src/main/res/drawable-night-xxhdpi/android12splash.png
new file mode 100644
index 0000000000..666c9c7a84
Binary files /dev/null and b/auth/android/app/src/main/res/drawable-night-xxhdpi/android12splash.png differ
diff --git a/auth/android/app/src/main/res/drawable-night-xxhdpi/splash.png b/auth/android/app/src/main/res/drawable-night-xxhdpi/splash.png
deleted file mode 100644
index 75f4b1f3c5..0000000000
Binary files a/auth/android/app/src/main/res/drawable-night-xxhdpi/splash.png and /dev/null differ
diff --git a/auth/android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png b/auth/android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png
new file mode 100644
index 0000000000..6da9d045fa
Binary files /dev/null and b/auth/android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png differ
diff --git a/auth/android/app/src/main/res/drawable-night-xxxhdpi/splash.png b/auth/android/app/src/main/res/drawable-night-xxxhdpi/splash.png
deleted file mode 100644
index 2beb1c8167..0000000000
Binary files a/auth/android/app/src/main/res/drawable-night-xxxhdpi/splash.png and /dev/null differ
diff --git a/auth/android/app/src/main/res/drawable-night/background.png b/auth/android/app/src/main/res/drawable-night/background.png
deleted file mode 100644
index 1b5df34e7b..0000000000
Binary files a/auth/android/app/src/main/res/drawable-night/background.png and /dev/null differ
diff --git a/auth/android/app/src/main/res/drawable-v21/background.png b/auth/android/app/src/main/res/drawable-v21/background.png
index e29b3b59f9..370fb3c793 100644
Binary files a/auth/android/app/src/main/res/drawable-v21/background.png and b/auth/android/app/src/main/res/drawable-v21/background.png differ
diff --git a/auth/android/app/src/main/res/drawable-xhdpi/android12splash.png b/auth/android/app/src/main/res/drawable-xhdpi/android12splash.png
new file mode 100644
index 0000000000..0ea61e2fe1
Binary files /dev/null and b/auth/android/app/src/main/res/drawable-xhdpi/android12splash.png differ
diff --git a/auth/android/app/src/main/res/drawable-xhdpi/splash.png b/auth/android/app/src/main/res/drawable-xhdpi/splash.png
index 4bb7a5751b..e7caec0b3b 100644
Binary files a/auth/android/app/src/main/res/drawable-xhdpi/splash.png and b/auth/android/app/src/main/res/drawable-xhdpi/splash.png differ
diff --git a/auth/android/app/src/main/res/drawable-xxhdpi/android12splash.png b/auth/android/app/src/main/res/drawable-xxhdpi/android12splash.png
new file mode 100644
index 0000000000..666c9c7a84
Binary files /dev/null and b/auth/android/app/src/main/res/drawable-xxhdpi/android12splash.png differ
diff --git a/auth/android/app/src/main/res/drawable-xxhdpi/splash.png b/auth/android/app/src/main/res/drawable-xxhdpi/splash.png
index 176f0c723b..ad77a8b1fd 100644
Binary files a/auth/android/app/src/main/res/drawable-xxhdpi/splash.png and b/auth/android/app/src/main/res/drawable-xxhdpi/splash.png differ
diff --git a/auth/android/app/src/main/res/drawable-xxxhdpi/android12splash.png b/auth/android/app/src/main/res/drawable-xxxhdpi/android12splash.png
new file mode 100644
index 0000000000..6da9d045fa
Binary files /dev/null and b/auth/android/app/src/main/res/drawable-xxxhdpi/android12splash.png differ
diff --git a/auth/android/app/src/main/res/drawable-xxxhdpi/splash.png b/auth/android/app/src/main/res/drawable-xxxhdpi/splash.png
index a0d1a26f75..9bf76a941d 100644
Binary files a/auth/android/app/src/main/res/drawable-xxxhdpi/splash.png and b/auth/android/app/src/main/res/drawable-xxxhdpi/splash.png differ
diff --git a/auth/android/app/src/main/res/drawable/background.png b/auth/android/app/src/main/res/drawable/background.png
index e29b3b59f9..370fb3c793 100644
Binary files a/auth/android/app/src/main/res/drawable/background.png and b/auth/android/app/src/main/res/drawable/background.png differ
diff --git a/auth/android/app/src/main/res/values-night-v31/styles.xml b/auth/android/app/src/main/res/values-night-v31/styles.xml
index 2c379953fa..d840be93ac 100644
--- a/auth/android/app/src/main/res/values-night-v31/styles.xml
+++ b/auth/android/app/src/main/res/values-night-v31/styles.xml
@@ -4,7 +4,10 @@
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
<item name="android:forceDarkAllowed">false</item>
<item name="android:windowFullscreen">false</item>
- <item name="android:windowSplashScreenBackground">#000000</item>
+ <item name="android:windowDrawsSystemBarBackgrounds">false</item>
+ <item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
+ <item name="android:windowSplashScreenBackground">#12001B</item>
+ <item name="android:windowSplashScreenAnimatedIcon">@drawable/android12splash</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
@@ -15,4 +18,4 @@
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
<item name="android:windowBackground">?android:colorBackground</item>
</style>
-</resources>
\ No newline at end of file
+</resources>
diff --git a/auth/android/app/src/main/res/values-night/styles.xml b/auth/android/app/src/main/res/values-night/styles.xml
index b9921e9a0b..7b20e158ca 100644
--- a/auth/android/app/src/main/res/values-night/styles.xml
+++ b/auth/android/app/src/main/res/values-night/styles.xml
@@ -7,6 +7,7 @@
<item name="android:windowBackground">@drawable/launch_background</item>
<item name="android:forceDarkAllowed">false</item>
<item name="android:windowFullscreen">false</item>
+ <item name="android:windowDrawsSystemBarBackgrounds">false</item>
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
diff --git a/auth/android/app/src/main/res/values-v31/styles.xml b/auth/android/app/src/main/res/values-v31/styles.xml
index f5fdb6b73d..2b3ccb4733 100644
--- a/auth/android/app/src/main/res/values-v31/styles.xml
+++ b/auth/android/app/src/main/res/values-v31/styles.xml
@@ -4,7 +4,10 @@
<style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
<item name="android:forceDarkAllowed">false</item>
<item name="android:windowFullscreen">false</item>
+ <item name="android:windowDrawsSystemBarBackgrounds">false</item>
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
+ <item name="android:windowSplashScreenBackground">#F1D6FF</item>
+ <item name="android:windowSplashScreenAnimatedIcon">@drawable/android12splash</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
diff --git a/auth/assets/splash-bg.png b/auth/assets/splash-bg.png
new file mode 100644
index 0000000000..370fb3c793
Binary files /dev/null and b/auth/assets/splash-bg.png differ
diff --git a/auth/assets/splash-fg.png b/auth/assets/splash-fg.png
new file mode 100644
index 0000000000..66cb001e3c
Binary files /dev/null and b/auth/assets/splash-fg.png differ
diff --git a/auth/assets/splash-icon-fg.png b/auth/assets/splash-icon-fg.png
new file mode 100644
index 0000000000..525bd53a98
Binary files /dev/null and b/auth/assets/splash-icon-fg.png differ
diff --git a/auth/assets/splash-screen-dark.png b/auth/assets/splash-screen-dark.png
deleted file mode 100644
index 5401a47adc..0000000000
Binary files a/auth/assets/splash-screen-dark.png and /dev/null differ
diff --git a/auth/assets/splash-screen-light.png b/auth/assets/splash-screen-light.png
deleted file mode 100644
index a97df13b30..0000000000
Binary files a/auth/assets/splash-screen-light.png and /dev/null differ
diff --git a/auth/ios/Runner/Assets.xcassets/LaunchBackground.imageset/Contents.json b/auth/ios/Runner/Assets.xcassets/LaunchBackground.imageset/Contents.json
index fa3132785b..9f447e1b38 100644
--- a/auth/ios/Runner/Assets.xcassets/LaunchBackground.imageset/Contents.json
+++ b/auth/ios/Runner/Assets.xcassets/LaunchBackground.imageset/Contents.json
@@ -6,43 +6,12 @@
"scale" : "1x"
},
{
- "appearances" : [
- {
- "appearance" : "luminosity",
- "value" : "dark"
- }
- ],
- "filename" : "darkbackground.png",
- "idiom" : "universal",
- "scale" : "1x"
- },
- {
- "idiom" : "universal",
- "scale" : "2x"
- },
- {
- "appearances" : [
- {
- "appearance" : "luminosity",
- "value" : "dark"
- }
- ],
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
- },
- {
- "appearances" : [
- {
- "appearance" : "luminosity",
- "value" : "dark"
- }
- ],
- "idiom" : "universal",
- "scale" : "3x"
}
],
"info" : {
diff --git a/auth/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png b/auth/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png
index e29b3b59f9..370fb3c793 100644
Binary files a/auth/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png and b/auth/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png differ
diff --git a/auth/ios/Runner/Assets.xcassets/LaunchBackground.imageset/darkbackground.png b/auth/ios/Runner/Assets.xcassets/LaunchBackground.imageset/darkbackground.png
deleted file mode 100644
index 1b5df34e7b..0000000000
Binary files a/auth/ios/Runner/Assets.xcassets/LaunchBackground.imageset/darkbackground.png and /dev/null differ
diff --git a/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
index f3387d4ae7..00cabce836 100644
--- a/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
+++ b/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
@@ -5,48 +5,15 @@
"idiom" : "universal",
"scale" : "1x"
},
- {
- "appearances" : [
- {
- "appearance" : "luminosity",
- "value" : "dark"
- }
- ],
- "filename" : "LaunchImageDark.png",
- "idiom" : "universal",
- "scale" : "1x"
- },
{
"filename" : "[email protected]",
"idiom" : "universal",
"scale" : "2x"
},
- {
- "appearances" : [
- {
- "appearance" : "luminosity",
- "value" : "dark"
- }
- ],
- "filename" : "[email protected]",
- "idiom" : "universal",
- "scale" : "2x"
- },
{
"filename" : "[email protected]",
"idiom" : "universal",
"scale" : "3x"
- },
- {
- "appearances" : [
- {
- "appearance" : "luminosity",
- "value" : "dark"
- }
- ],
- "filename" : "[email protected]",
- "idiom" : "universal",
- "scale" : "3x"
}
],
"info" : {
diff --git a/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
index 899cecf22c..2d83d16291 100644
Binary files a/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png and b/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png differ
diff --git a/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] b/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
index 4bb7a5751b..e7caec0b3b 100644
Binary files a/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] and b/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] differ
diff --git a/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] b/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
index 176f0c723b..ad77a8b1fd 100644
Binary files a/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] and b/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] differ
diff --git a/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark.png b/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark.png
deleted file mode 100644
index 87f84c70e6..0000000000
Binary files a/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark.png and /dev/null differ
diff --git a/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] b/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
deleted file mode 100644
index ce01bec05c..0000000000
Binary files a/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] and /dev/null differ
diff --git a/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] b/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
deleted file mode 100644
index 75f4b1f3c5..0000000000
Binary files a/auth/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] and /dev/null differ
diff --git a/auth/ios/Runner/Info.plist b/auth/ios/Runner/Info.plist
index 35921ba0cc..f24fa7f9ef 100644
--- a/auth/ios/Runner/Info.plist
+++ b/auth/ios/Runner/Info.plist
@@ -1,86 +1,86 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
-<dict>
- <key>CADisableMinimumFrameDurationOnPhone</key>
- <true/>
- <key>CFBundleDevelopmentRegion</key>
- <string>$(DEVELOPMENT_LANGUAGE)</string>
- <key>CFBundleDisplayName</key>
- <string>auth</string>
- <key>CFBundleExecutable</key>
- <string>$(EXECUTABLE_NAME)</string>
- <key>CFBundleIdentifier</key>
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleLocalizations</key>
- <array>
- <string>en</string>
- <string>es</string>
- </array>
- <key>CFBundleName</key>
- <string>auth</string>
- <key>CFBundlePackageType</key>
- <string>APPL</string>
- <key>CFBundleShortVersionString</key>
- <string>$(FLUTTER_BUILD_NAME)</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>CFBundleURLTypes</key>
- <array>
- <dict>
- <key>CFBundleTypeRole</key>
- <string>Editor</string>
- <key>CFBundleURLName</key>
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
- <key>CFBundleURLSchemes</key>
- <array>
- <string>otpauth</string>
- <string>enteauth</string>
- </array>
- </dict>
- </array>
- <key>CFBundleVersion</key>
- <string>$(FLUTTER_BUILD_NUMBER)</string>
- <key>ITSAppUsesNonExemptEncryption</key>
- <false/>
- <key>LSRequiresIPhoneOS</key>
- <true/>
- <key>MinimumOSVersion</key>
- <string>12.0</string>
- <key>NSCameraUsageDescription</key>
- <string>This app needs camera access to scan QR codes</string>
- <key>NSFaceIDUsageDescription</key>
- <string>Please allow auth to lock itself with FaceID or TouchID</string>
- <key>NSPhotoLibraryUsageDescription</key>
- <string>Please allow auth to pick a file to import data from</string>
- <key>UIApplicationSupportsIndirectInputEvents</key>
- <true/>
- <key>UILaunchStoryboardName</key>
- <string>LaunchScreen</string>
- <key>UIMainStoryboardFile</key>
- <string>Main</string>
- <key>UIStatusBarHidden</key>
- <false/>
- <key>UISupportedInterfaceOrientations</key>
- <array>
- <string>UIInterfaceOrientationPortrait</string>
- <string>UIInterfaceOrientationLandscapeLeft</string>
- <string>UIInterfaceOrientationLandscapeRight</string>
- </array>
- <key>UISupportedInterfaceOrientations~ipad</key>
- <array>
- <string>UIInterfaceOrientationPortrait</string>
- <string>UIInterfaceOrientationPortraitUpsideDown</string>
- <string>UIInterfaceOrientationLandscapeLeft</string>
- <string>UIInterfaceOrientationLandscapeRight</string>
- </array>
- <key>UIViewControllerBasedStatusBarAppearance</key>
- <false/>
- <key>LSSupportsOpeningDocumentsInPlace</key>
- <true/>
- <key>UIFileSharingEnabled</key>
- <true/>
-</dict>
+ <dict>
+ <key>CADisableMinimumFrameDurationOnPhone</key>
+ <true/>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>$(DEVELOPMENT_LANGUAGE)</string>
+ <key>CFBundleDisplayName</key>
+ <string>auth</string>
+ <key>CFBundleExecutable</key>
+ <string>$(EXECUTABLE_NAME)</string>
+ <key>CFBundleIdentifier</key>
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleLocalizations</key>
+ <array>
+ <string>en</string>
+ <string>es</string>
+ </array>
+ <key>CFBundleName</key>
+ <string>auth</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>$(FLUTTER_BUILD_NAME)</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleURLTypes</key>
+ <array>
+ <dict>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>CFBundleURLName</key>
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+ <key>CFBundleURLSchemes</key>
+ <array>
+ <string>otpauth</string>
+ <string>enteauth</string>
+ </array>
+ </dict>
+ </array>
+ <key>CFBundleVersion</key>
+ <string>$(FLUTTER_BUILD_NUMBER)</string>
+ <key>ITSAppUsesNonExemptEncryption</key>
+ <false/>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+ <key>MinimumOSVersion</key>
+ <string>12.0</string>
+ <key>NSCameraUsageDescription</key>
+ <string>This app needs camera access to scan QR codes</string>
+ <key>NSFaceIDUsageDescription</key>
+ <string>Please allow auth to lock itself with FaceID or TouchID</string>
+ <key>NSPhotoLibraryUsageDescription</key>
+ <string>Please allow auth to pick a file to import data from</string>
+ <key>UIApplicationSupportsIndirectInputEvents</key>
+ <true/>
+ <key>UILaunchStoryboardName</key>
+ <string>LaunchScreen</string>
+ <key>UIMainStoryboardFile</key>
+ <string>Main</string>
+ <key>UIStatusBarHidden</key>
+ <false/>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+ <key>UISupportedInterfaceOrientations~ipad</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+ <key>UIViewControllerBasedStatusBarAppearance</key>
+ <false/>
+ <key>LSSupportsOpeningDocumentsInPlace</key>
+ <true/>
+ <key>UIFileSharingEnabled</key>
+ <true/>
+ </dict>
</plist>
diff --git a/auth/pubspec.yaml b/auth/pubspec.yaml
index f1e36d1bca..a5808b42c5 100644
--- a/auth/pubspec.yaml
+++ b/auth/pubspec.yaml
@@ -153,10 +153,32 @@ flutter_icons:
remove_alpha_ios: true
flutter_native_splash:
- color: "#ffffff"
- color_dark: "#000000"
- image: assets/splash-screen-light.png
- image_dark: assets/splash-screen-dark.png
- android_fullscreen: true
+ background_image: assets/splash-bg.png
+ image: assets/splash-icon-fg.png
android_gravity: center
ios_content_mode: center
+ android_12:
+ # The image parameter sets the splash screen icon image. If this parameter is not specified,
+ # the app's launcher icon will be used instead.
+ # Please note that the splash screen will be clipped to a circle on the center of the screen.
+ # App icon with an icon background: This should be 960Γ—960 pixels, and fit within a circle
+ # 640 pixels in diameter.
+ # App icon without an icon background: This should be 1152Γ—1152 pixels, and fit within a circle
+ # 768 pixels in diameter.
+ image: assets/splash-fg.png
+
+ # Splash screen background color.
+ color: "#F1D6FF"
+
+ # App icon background color.
+ #icon_background_color: "#111111"
+
+ # The branding property allows you to specify an image used as branding in the splash screen.
+ #branding: assets/dart.png
+
+ # The image_dark, color_dark, icon_background_color_dark, and branding_dark set values that
+ # apply when the device is in dark mode. If they are not specified, the app will use the
+ # parameters from above.
+ #image_dark: assets/android12splash-invert.png
+ color_dark: "#12001B"
+ #icon_background_color_dark: "#eeeeee"
diff --git a/auth/web/index.html b/auth/web/index.html
index ef953df53b..faceb4e9ba 100644
--- a/auth/web/index.html
+++ b/auth/web/index.html
@@ -29,9 +29,75 @@
<title>Auth</title>
<link rel="manifest" href="manifest.json">
- <link rel="stylesheet" type="text/css" href="splash/style.css">
+
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
- <script src="splash/splash.js"></script>
+
+ <style id="splash-screen-style">
+ html {
+ height: 100%
+ }
+
+ body {
+ margin: 0;
+ min-height: 100%;
+ background-color: #ffffff;
+ background-image: url("splash/img/light-background.png");
+ background-size: 100% 100%;
+ }
+
+ .center {
+ margin: 0;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ -ms-transform: translate(-50%, -50%);
+ transform: translate(-50%, -50%);
+ }
+
+ .contain {
+ display:block;
+ width:100%; height:100%;
+ object-fit: contain;
+ }
+
+ .stretch {
+ display:block;
+ width:100%; height:100%;
+ }
+
+ .cover {
+ display:block;
+ width:100%; height:100%;
+ object-fit: cover;
+ }
+
+ .bottom {
+ position: absolute;
+ bottom: 0;
+ left: 50%;
+ -ms-transform: translate(-50%, 0);
+ transform: translate(-50%, 0);
+ }
+
+ .bottomLeft {
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ }
+
+ .bottomRight {
+ position: absolute;
+ bottom: 0;
+ right: 0;
+ }
+ </style>
+ <script id="splash-screen-script">
+ function removeSplashFromWeb() {
+ document.getElementById("splash")?.remove();
+ document.getElementById("splash-branding")?.remove();
+ document.body.style.background = "transparent";
+ }
+ </script>
</head>
<body>
@@ -40,6 +106,7 @@
<source srcset="splash/img/dark-1x.png 1x, splash/img/dark-2x.png 2x, splash/img/dark-3x.png 3x, splash/img/dark-4x.png 4x" media="(prefers-color-scheme: dark)">
<img class="center" aria-hidden="true" src="splash/img/light-1x.png" alt="">
</picture>
+
<!-- This script installs service_worker.js to provide PWA functionality to
application. For more information, see:
https://developers.google.com/web/fundamentals/primers/service-workers -->
diff --git a/auth/web/splash/img/dark-1x.png b/auth/web/splash/img/dark-1x.png
index 87f84c70e6..2d83d16291 100644
Binary files a/auth/web/splash/img/dark-1x.png and b/auth/web/splash/img/dark-1x.png differ
diff --git a/auth/web/splash/img/dark-2x.png b/auth/web/splash/img/dark-2x.png
index ce01bec05c..e7caec0b3b 100644
Binary files a/auth/web/splash/img/dark-2x.png and b/auth/web/splash/img/dark-2x.png differ
diff --git a/auth/web/splash/img/dark-3x.png b/auth/web/splash/img/dark-3x.png
index 75f4b1f3c5..ad77a8b1fd 100644
Binary files a/auth/web/splash/img/dark-3x.png and b/auth/web/splash/img/dark-3x.png differ
diff --git a/auth/web/splash/img/dark-4x.png b/auth/web/splash/img/dark-4x.png
index 2beb1c8167..9bf76a941d 100644
Binary files a/auth/web/splash/img/dark-4x.png and b/auth/web/splash/img/dark-4x.png differ
diff --git a/auth/web/splash/img/light-1x.png b/auth/web/splash/img/light-1x.png
index 899cecf22c..2d83d16291 100644
Binary files a/auth/web/splash/img/light-1x.png and b/auth/web/splash/img/light-1x.png differ
diff --git a/auth/web/splash/img/light-2x.png b/auth/web/splash/img/light-2x.png
index 4bb7a5751b..e7caec0b3b 100644
Binary files a/auth/web/splash/img/light-2x.png and b/auth/web/splash/img/light-2x.png differ
diff --git a/auth/web/splash/img/light-3x.png b/auth/web/splash/img/light-3x.png
index 176f0c723b..ad77a8b1fd 100644
Binary files a/auth/web/splash/img/light-3x.png and b/auth/web/splash/img/light-3x.png differ
diff --git a/auth/web/splash/img/light-4x.png b/auth/web/splash/img/light-4x.png
index a0d1a26f75..9bf76a941d 100644
Binary files a/auth/web/splash/img/light-4x.png and b/auth/web/splash/img/light-4x.png differ
diff --git a/auth/web/splash/img/light-background.png b/auth/web/splash/img/light-background.png
new file mode 100644
index 0000000000..370fb3c793
Binary files /dev/null and b/auth/web/splash/img/light-background.png differ