Skip to content

armgit / ente

Public Imported from GitHub
0

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

Add native splash screen for Android and iOS

ashilkn4e7cfd121040
diff --git a/mobile/apps/locker/android/app/src/main/res/drawable-hdpi/android12splash.png b/mobile/apps/locker/android/app/src/main/res/drawable-hdpi/android12splash.png
new file mode 100644
index 0000000000..9996531e07
Binary files /dev/null and b/mobile/apps/locker/android/app/src/main/res/drawable-hdpi/android12splash.png differ
diff --git a/mobile/apps/locker/android/app/src/main/res/drawable-hdpi/splash.png b/mobile/apps/locker/android/app/src/main/res/drawable-hdpi/splash.png
new file mode 100644
index 0000000000..9996531e07
Binary files /dev/null and b/mobile/apps/locker/android/app/src/main/res/drawable-hdpi/splash.png differ
diff --git a/mobile/apps/locker/android/app/src/main/res/drawable-mdpi/android12splash.png b/mobile/apps/locker/android/app/src/main/res/drawable-mdpi/android12splash.png
new file mode 100644
index 0000000000..11de35697a
Binary files /dev/null and b/mobile/apps/locker/android/app/src/main/res/drawable-mdpi/android12splash.png differ
diff --git a/mobile/apps/locker/android/app/src/main/res/drawable-mdpi/splash.png b/mobile/apps/locker/android/app/src/main/res/drawable-mdpi/splash.png
new file mode 100644
index 0000000000..11de35697a
Binary files /dev/null and b/mobile/apps/locker/android/app/src/main/res/drawable-mdpi/splash.png differ
diff --git a/mobile/apps/locker/android/app/src/main/res/drawable-night-hdpi/android12splash.png b/mobile/apps/locker/android/app/src/main/res/drawable-night-hdpi/android12splash.png
new file mode 100644
index 0000000000..9996531e07
Binary files /dev/null and b/mobile/apps/locker/android/app/src/main/res/drawable-night-hdpi/android12splash.png differ
diff --git a/mobile/apps/locker/android/app/src/main/res/drawable-night-mdpi/android12splash.png b/mobile/apps/locker/android/app/src/main/res/drawable-night-mdpi/android12splash.png
new file mode 100644
index 0000000000..11de35697a
Binary files /dev/null and b/mobile/apps/locker/android/app/src/main/res/drawable-night-mdpi/android12splash.png differ
diff --git a/mobile/apps/locker/android/app/src/main/res/drawable-night-v21/background.png b/mobile/apps/locker/android/app/src/main/res/drawable-night-v21/background.png
new file mode 100644
index 0000000000..e815fd621f
Binary files /dev/null and b/mobile/apps/locker/android/app/src/main/res/drawable-night-v21/background.png differ
diff --git a/mobile/apps/locker/android/app/src/main/res/drawable-night-v21/launch_background.xml b/mobile/apps/locker/android/app/src/main/res/drawable-night-v21/launch_background.xml
new file mode 100644
index 0000000000..3cc4948a14
--- /dev/null
+++ b/mobile/apps/locker/android/app/src/main/res/drawable-night-v21/launch_background.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
+ <item>
+ <bitmap android:gravity="fill" android:src="@drawable/background"/>
+ </item>
+ <item>
+ <bitmap android:gravity="center" android:src="@drawable/splash"/>
+ </item>
+</layer-list>
diff --git a/mobile/apps/locker/android/app/src/main/res/drawable-night-xhdpi/android12splash.png b/mobile/apps/locker/android/app/src/main/res/drawable-night-xhdpi/android12splash.png
new file mode 100644
index 0000000000..59095d7c8c
Binary files /dev/null and b/mobile/apps/locker/android/app/src/main/res/drawable-night-xhdpi/android12splash.png differ
diff --git a/mobile/apps/locker/android/app/src/main/res/drawable-night-xxhdpi/android12splash.png b/mobile/apps/locker/android/app/src/main/res/drawable-night-xxhdpi/android12splash.png
new file mode 100644
index 0000000000..05b2c35c01
Binary files /dev/null and b/mobile/apps/locker/android/app/src/main/res/drawable-night-xxhdpi/android12splash.png differ
diff --git a/mobile/apps/locker/android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png b/mobile/apps/locker/android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png
new file mode 100644
index 0000000000..a5e5668335
Binary files /dev/null and b/mobile/apps/locker/android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png differ
diff --git a/mobile/apps/locker/android/app/src/main/res/drawable-night/background.png b/mobile/apps/locker/android/app/src/main/res/drawable-night/background.png
new file mode 100644
index 0000000000..e815fd621f
Binary files /dev/null and b/mobile/apps/locker/android/app/src/main/res/drawable-night/background.png differ
diff --git a/mobile/apps/locker/android/app/src/main/res/drawable-night/launch_background.xml b/mobile/apps/locker/android/app/src/main/res/drawable-night/launch_background.xml
new file mode 100644
index 0000000000..3cc4948a14
--- /dev/null
+++ b/mobile/apps/locker/android/app/src/main/res/drawable-night/launch_background.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
+ <item>
+ <bitmap android:gravity="fill" android:src="@drawable/background"/>
+ </item>
+ <item>
+ <bitmap android:gravity="center" android:src="@drawable/splash"/>
+ </item>
+</layer-list>
diff --git a/mobile/apps/locker/android/app/src/main/res/drawable-v21/background.png b/mobile/apps/locker/android/app/src/main/res/drawable-v21/background.png
new file mode 100644
index 0000000000..8e21404806
Binary files /dev/null and b/mobile/apps/locker/android/app/src/main/res/drawable-v21/background.png differ
diff --git a/mobile/apps/locker/android/app/src/main/res/drawable-v21/launch_background.xml b/mobile/apps/locker/android/app/src/main/res/drawable-v21/launch_background.xml
index f74085f3f6..3cc4948a14 100644
--- a/mobile/apps/locker/android/app/src/main/res/drawable-v21/launch_background.xml
+++ b/mobile/apps/locker/android/app/src/main/res/drawable-v21/launch_background.xml
@@ -1,12 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:drawable="?android:colorBackground" />
-
- <!-- You can insert your own image assets here -->
- <!-- <item>
- <bitmap
- android:gravity="center"
- android:src="@mipmap/launch_image" />
- </item> -->
+ <item>
+ <bitmap android:gravity="fill" android:src="@drawable/background"/>
+ </item>
+ <item>
+ <bitmap android:gravity="center" android:src="@drawable/splash"/>
+ </item>
</layer-list>
diff --git a/mobile/apps/locker/android/app/src/main/res/drawable-xhdpi/android12splash.png b/mobile/apps/locker/android/app/src/main/res/drawable-xhdpi/android12splash.png
new file mode 100644
index 0000000000..59095d7c8c
Binary files /dev/null and b/mobile/apps/locker/android/app/src/main/res/drawable-xhdpi/android12splash.png differ
diff --git a/mobile/apps/locker/android/app/src/main/res/drawable-xhdpi/splash.png b/mobile/apps/locker/android/app/src/main/res/drawable-xhdpi/splash.png
new file mode 100644
index 0000000000..59095d7c8c
Binary files /dev/null and b/mobile/apps/locker/android/app/src/main/res/drawable-xhdpi/splash.png differ
diff --git a/mobile/apps/locker/android/app/src/main/res/drawable-xxhdpi/android12splash.png b/mobile/apps/locker/android/app/src/main/res/drawable-xxhdpi/android12splash.png
new file mode 100644
index 0000000000..05b2c35c01
Binary files /dev/null and b/mobile/apps/locker/android/app/src/main/res/drawable-xxhdpi/android12splash.png differ
diff --git a/mobile/apps/locker/android/app/src/main/res/drawable-xxhdpi/splash.png b/mobile/apps/locker/android/app/src/main/res/drawable-xxhdpi/splash.png
new file mode 100644
index 0000000000..05b2c35c01
Binary files /dev/null and b/mobile/apps/locker/android/app/src/main/res/drawable-xxhdpi/splash.png differ
diff --git a/mobile/apps/locker/android/app/src/main/res/drawable-xxxhdpi/android12splash.png b/mobile/apps/locker/android/app/src/main/res/drawable-xxxhdpi/android12splash.png
new file mode 100644
index 0000000000..a5e5668335
Binary files /dev/null and b/mobile/apps/locker/android/app/src/main/res/drawable-xxxhdpi/android12splash.png differ
diff --git a/mobile/apps/locker/android/app/src/main/res/drawable-xxxhdpi/splash.png b/mobile/apps/locker/android/app/src/main/res/drawable-xxxhdpi/splash.png
new file mode 100644
index 0000000000..a5e5668335
Binary files /dev/null and b/mobile/apps/locker/android/app/src/main/res/drawable-xxxhdpi/splash.png differ
diff --git a/mobile/apps/locker/android/app/src/main/res/drawable/background.png b/mobile/apps/locker/android/app/src/main/res/drawable/background.png
new file mode 100644
index 0000000000..8e21404806
Binary files /dev/null and b/mobile/apps/locker/android/app/src/main/res/drawable/background.png differ
diff --git a/mobile/apps/locker/android/app/src/main/res/drawable/launch_background.xml b/mobile/apps/locker/android/app/src/main/res/drawable/launch_background.xml
index 304732f884..3cc4948a14 100644
--- a/mobile/apps/locker/android/app/src/main/res/drawable/launch_background.xml
+++ b/mobile/apps/locker/android/app/src/main/res/drawable/launch_background.xml
@@ -1,12 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:drawable="@android:color/white" />
-
- <!-- You can insert your own image assets here -->
- <!-- <item>
- <bitmap
- android:gravity="center"
- android:src="@mipmap/launch_image" />
- </item> -->
+ <item>
+ <bitmap android:gravity="fill" android:src="@drawable/background"/>
+ </item>
+ <item>
+ <bitmap android:gravity="center" android:src="@drawable/splash"/>
+ </item>
</layer-list>
diff --git a/mobile/apps/locker/android/app/src/main/res/values-night-v31/styles.xml b/mobile/apps/locker/android/app/src/main/res/values-night-v31/styles.xml
new file mode 100644
index 0000000000..b2f5a775f5
--- /dev/null
+++ b/mobile/apps/locker/android/app/src/main/res/values-night-v31/styles.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->
+ <style name="LaunchTheme" parent="@android:style/Theme.Black.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">#000000</item>
+ <item name="android:windowSplashScreenAnimatedIcon">@drawable/android12splash</item>
+ <item name="android:windowSplashScreenIconBackgroundColor">#000000</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
+ Flutter UI initializes, as well as behind your Flutter UI while its
+ running.
+
+ This Theme is only used starting with V2 of Flutter's Android embedding. -->
+ <style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
+ <item name="android:windowBackground">?android:colorBackground</item>
+ </style>
+</resources>
diff --git a/mobile/apps/locker/android/app/src/main/res/values-night/styles.xml b/mobile/apps/locker/android/app/src/main/res/values-night/styles.xml
index 06952be745..dbc9ea9f1b 100644
--- a/mobile/apps/locker/android/app/src/main/res/values-night/styles.xml
+++ b/mobile/apps/locker/android/app/src/main/res/values-night/styles.xml
@@ -5,6 +5,10 @@
<!-- Show a splash screen on the activity. Automatically removed when
the Flutter engine draws its first frame -->
<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.
This theme determines the color of the Android Window while your
diff --git a/mobile/apps/locker/android/app/src/main/res/values-v31/styles.xml b/mobile/apps/locker/android/app/src/main/res/values-v31/styles.xml
new file mode 100644
index 0000000000..8012d02cf3
--- /dev/null
+++ b/mobile/apps/locker/android/app/src/main/res/values-v31/styles.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->
+ <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">#FFFFFF</item>
+ <item name="android:windowSplashScreenAnimatedIcon">@drawable/android12splash</item>
+ <item name="android:windowSplashScreenIconBackgroundColor">#FFFFFF</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
+ Flutter UI initializes, as well as behind your Flutter UI while its
+ running.
+
+ This Theme is only used starting with V2 of Flutter's Android embedding. -->
+ <style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
+ <item name="android:windowBackground">?android:colorBackground</item>
+ </style>
+</resources>
diff --git a/mobile/apps/locker/android/app/src/main/res/values/styles.xml b/mobile/apps/locker/android/app/src/main/res/values/styles.xml
index cb1ef88056..0d1fa8fce8 100644
--- a/mobile/apps/locker/android/app/src/main/res/values/styles.xml
+++ b/mobile/apps/locker/android/app/src/main/res/values/styles.xml
@@ -5,6 +5,10 @@
<!-- Show a splash screen on the activity. Automatically removed when
the Flutter engine draws its first frame -->
<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.
This theme determines the color of the Android Window while your
diff --git a/mobile/apps/locker/ios/Runner/Assets.xcassets/LaunchBackground.imageset/Contents.json b/mobile/apps/locker/ios/Runner/Assets.xcassets/LaunchBackground.imageset/Contents.json
new file mode 100644
index 0000000000..8bb185b107
--- /dev/null
+++ b/mobile/apps/locker/ios/Runner/Assets.xcassets/LaunchBackground.imageset/Contents.json
@@ -0,0 +1,22 @@
+{
+ "images" : [
+ {
+ "filename" : "background.png",
+ "idiom" : "universal"
+ },
+ {
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "filename" : "darkbackground.png",
+ "idiom" : "universal"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/mobile/apps/locker/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png b/mobile/apps/locker/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png
new file mode 100644
index 0000000000..8e21404806
Binary files /dev/null and b/mobile/apps/locker/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png differ
diff --git a/mobile/apps/locker/ios/Runner/Assets.xcassets/LaunchBackground.imageset/darkbackground.png b/mobile/apps/locker/ios/Runner/Assets.xcassets/LaunchBackground.imageset/darkbackground.png
new file mode 100644
index 0000000000..e815fd621f
Binary files /dev/null and b/mobile/apps/locker/ios/Runner/Assets.xcassets/LaunchBackground.imageset/darkbackground.png differ
diff --git a/mobile/apps/locker/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/mobile/apps/locker/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
index 0bedcf2fd4..00cabce836 100644
--- a/mobile/apps/locker/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
+++ b/mobile/apps/locker/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
@@ -1,23 +1,23 @@
{
"images" : [
{
- "idiom" : "universal",
"filename" : "LaunchImage.png",
+ "idiom" : "universal",
"scale" : "1x"
},
{
- "idiom" : "universal",
"filename" : "[email protected]",
+ "idiom" : "universal",
"scale" : "2x"
},
{
- "idiom" : "universal",
"filename" : "[email protected]",
+ "idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
- "version" : 1,
- "author" : "xcode"
+ "author" : "xcode",
+ "version" : 1
}
}
diff --git a/mobile/apps/locker/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/mobile/apps/locker/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
index 9da19eacad..11de35697a 100644
Binary files a/mobile/apps/locker/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png and b/mobile/apps/locker/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png differ
diff --git a/mobile/apps/locker/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] b/mobile/apps/locker/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
index 9da19eacad..59095d7c8c 100644
Binary files a/mobile/apps/locker/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] and b/mobile/apps/locker/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] differ
diff --git a/mobile/apps/locker/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] b/mobile/apps/locker/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected]
index 9da19eacad..05b2c35c01 100644
Binary files a/mobile/apps/locker/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] and b/mobile/apps/locker/ios/Runner/Assets.xcassets/LaunchImage.imageset/[email protected] differ
diff --git a/mobile/apps/locker/ios/Runner/Base.lproj/LaunchScreen.storyboard b/mobile/apps/locker/ios/Runner/Base.lproj/LaunchScreen.storyboard
index f2e259c7c9..8d2b7d51a3 100644
--- a/mobile/apps/locker/ios/Runner/Base.lproj/LaunchScreen.storyboard
+++ b/mobile/apps/locker/ios/Runner/Base.lproj/LaunchScreen.storyboard
@@ -16,13 +16,19 @@
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
- <imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" image="LaunchImage" translatesAutoresizingMaskIntoConstraints="NO" id="YRO-k0-Ey4">
- </imageView>
+ <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" image="LaunchBackground" translatesAutoresizingMaskIntoConstraints="NO" id="tWc-Dq-wcI"/>
+ <imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" image="LaunchImage" translatesAutoresizingMaskIntoConstraints="NO" id="YRO-k0-Ey4"></imageView>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
- <constraint firstItem="YRO-k0-Ey4" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="1a2-6s-vTC"/>
- <constraint firstItem="YRO-k0-Ey4" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="centerY" id="4X2-HB-R7a"/>
+ <constraint firstItem="YRO-k0-Ey4" firstAttribute="leading" secondItem="Ze5-6b-2t3" secondAttribute="leading" id="3T2-ad-Qdv"/>
+ <constraint firstItem="tWc-Dq-wcI" firstAttribute="bottom" secondItem="Ze5-6b-2t3" secondAttribute="bottom" id="RPx-PI-7Xg"/>
+ <constraint firstItem="tWc-Dq-wcI" firstAttribute="top" secondItem="Ze5-6b-2t3" secondAttribute="top" id="SdS-ul-q2q"/>
+ <constraint firstAttribute="trailing" secondItem="tWc-Dq-wcI" secondAttribute="trailing" id="Swv-Gf-Rwn"/>
+ <constraint firstAttribute="trailing" secondItem="YRO-k0-Ey4" secondAttribute="trailing" id="TQA-XW-tRk"/>
+ <constraint firstItem="YRO-k0-Ey4" firstAttribute="bottom" secondItem="Ze5-6b-2t3" secondAttribute="bottom" id="duK-uY-Gun"/>
+ <constraint firstItem="tWc-Dq-wcI" firstAttribute="leading" secondItem="Ze5-6b-2t3" secondAttribute="leading" id="kV7-tw-vXt"/>
+ <constraint firstItem="YRO-k0-Ey4" firstAttribute="top" secondItem="Ze5-6b-2t3" secondAttribute="top" id="xPn-NY-SIU"/>
</constraints>
</view>
</viewController>
@@ -32,6 +38,7 @@
</scene>
</scenes>
<resources>
- <image name="LaunchImage" width="168" height="185"/>
+ <image name="LaunchImage" width="1024" height="1024"/>
+ <image name="LaunchBackground" width="1" height="1"/>
</resources>
</document>
diff --git a/mobile/apps/locker/ios/Runner/Info.plist b/mobile/apps/locker/ios/Runner/Info.plist
index 9c03cc67c2..132605a595 100644
--- a/mobile/apps/locker/ios/Runner/Info.plist
+++ b/mobile/apps/locker/ios/Runner/Info.plist
@@ -1,78 +1,80 @@
<?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>CFBundleDevelopmentRegion</key>
- <string>$(DEVELOPMENT_LANGUAGE)</string>
- <key>CFBundleDisplayName</key>
- <string>Ente Locker</string>
- <key>CFBundleExecutable</key>
- <string>$(EXECUTABLE_NAME)</string>
- <key>CFBundleIdentifier</key>
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>Ente Locker</string>
- <key>CFBundlePackageType</key>
- <string>APPL</string>
- <key>CFBundleShortVersionString</key>
- <string>$(FLUTTER_BUILD_NAME)</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>CFBundleVersion</key>
- <string>$(FLUTTER_BUILD_NUMBER)</string>
- <key>LSRequiresIPhoneOS</key>
- <true/>
- <key>UILaunchStoryboardName</key>
- <string>LaunchScreen</string>
- <key>UIMainStoryboardFile</key>
- <string>Main</string>
- <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>CADisableMinimumFrameDurationOnPhone</key>
- <true/>
- <key>UIApplicationSupportsIndirectInputEvents</key>
- <true/>
- <key>ITSAppUsesNonExemptEncryption</key>
- <false/>
- <key>NSCameraUsageDescription</key>
- <string>Please allow access to camera so that Ente can scan and backup your documents.</string>
- <key>NSPhotoLibraryUsageDescription</key>
- <string>Please allow access to your library so that Ente can encrypt and back up your documents.</string>
- <key>NSPhotoLibraryAddUsageDescription</key>
- <string>Please allow access to your library so that Ente can encrypt and back up your documents.</string>
- <key>AppGroupId</key>
- <string>$(CUSTOM_GROUP_ID)</string>
- <key>CFBundleURLTypes</key>
- <array>
- <dict>
- <key>CFBundleTypeRole</key>
- <string>Editor</string>
- <key>CFBundleURLSchemes</key>
- <array>
- <string>ShareMedia-$(PRODUCT_BUNDLE_IDENTIFIER)</string>
- </array>
- </dict>
- <dict>
- <key>CFBundleURLName</key>
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
- <key>CFBundleURLSchemes</key>
- <array>
- <string>entelocker</string>
- </array>
- </dict>
- </array>
-</dict>
+ <dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>$(DEVELOPMENT_LANGUAGE)</string>
+ <key>CFBundleDisplayName</key>
+ <string>Ente Locker</string>
+ <key>CFBundleExecutable</key>
+ <string>$(EXECUTABLE_NAME)</string>
+ <key>CFBundleIdentifier</key>
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>Ente Locker</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>$(FLUTTER_BUILD_NAME)</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>$(FLUTTER_BUILD_NUMBER)</string>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+ <key>UILaunchStoryboardName</key>
+ <string>LaunchScreen</string>
+ <key>UIMainStoryboardFile</key>
+ <string>Main</string>
+ <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>CADisableMinimumFrameDurationOnPhone</key>
+ <true/>
+ <key>UIApplicationSupportsIndirectInputEvents</key>
+ <true/>
+ <key>ITSAppUsesNonExemptEncryption</key>
+ <false/>
+ <key>NSCameraUsageDescription</key>
+ <string>Please allow access to camera so that Ente can scan and backup your documents.</string>
+ <key>NSPhotoLibraryUsageDescription</key>
+ <string>Please allow access to your library so that Ente can encrypt and back up your documents.</string>
+ <key>NSPhotoLibraryAddUsageDescription</key>
+ <string>Please allow access to your library so that Ente can encrypt and back up your documents.</string>
+ <key>AppGroupId</key>
+ <string>$(CUSTOM_GROUP_ID)</string>
+ <key>CFBundleURLTypes</key>
+ <array>
+ <dict>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>CFBundleURLSchemes</key>
+ <array>
+ <string>ShareMedia-$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+ </array>
+ </dict>
+ <dict>
+ <key>CFBundleURLName</key>
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+ <key>CFBundleURLSchemes</key>
+ <array>
+ <string>entelocker</string>
+ </array>
+ </dict>
+ </array>
+ <key>UIStatusBarHidden</key>
+ <false/>
+ </dict>
</plist>
diff --git a/mobile/apps/locker/pubspec.lock b/mobile/apps/locker/pubspec.lock
index 8cb20a84d6..3f38933536 100644
--- a/mobile/apps/locker/pubspec.lock
+++ b/mobile/apps/locker/pubspec.lock
@@ -9,6 +9,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.7.2"
+ ansicolor:
+ dependency: transitive
+ description:
+ name: ansicolor
+ sha256: "50e982d500bc863e1d703448afdbf9e5a72eb48840a4f766fa361ffd6877055f"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.0.3"
app_links:
dependency: transitive
description:
@@ -521,6 +529,14 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
+ flutter_native_splash:
+ dependency: "direct dev"
+ description:
+ name: flutter_native_splash
+ sha256: "4fb9f4113350d3a80841ce05ebf1976a36de622af7d19aca0ca9a9911c7ff002"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.4.7"
flutter_plugin_android_lifecycle:
dependency: transitive
description:
@@ -1400,6 +1416,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.4.1"
+ universal_io:
+ dependency: transitive
+ description:
+ name: universal_io
+ sha256: f63cbc48103236abf48e345e07a03ce5757ea86285ed313a6a032596ed9301e2
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.3.1"
universal_platform:
dependency: transitive
description:
diff --git a/mobile/apps/locker/pubspec.yaml b/mobile/apps/locker/pubspec.yaml
index 6cfbfe1e56..0ca519646b 100644
--- a/mobile/apps/locker/pubspec.yaml
+++ b/mobile/apps/locker/pubspec.yaml
@@ -78,6 +78,7 @@ dependencies:
dev_dependencies:
flutter_launcher_icons: ^0.14.3
flutter_lints: ^4.0.0
+ flutter_native_splash: ^2.2.13
flutter_test:
sdk: flutter
@@ -112,3 +113,19 @@ flutter_launcher_icons:
adaptive_icon_foreground_inset: 0
image_path_ios_dark_transparent: "assets/launcher-icons/icon-ios-dark.png"
image_path_ios_tinted_grayscale: "assets/launcher-icons/icon-ios-tinted.png"
+
+flutter_native_splash:
+ color: "#FFFFFF"
+ color_dark: "#000000"
+ image: "assets/launcher-icons/icon-foreground.png"
+ android_gravity: center
+ ios_content_mode: center
+ android: true
+ ios: true
+ web: false
+ android_12:
+ image: "assets/launcher-icons/icon-foreground.png"
+ color: "#FFFFFF"
+ icon_background_color: "#FFFFFF"
+ color_dark: "#000000"
+ icon_background_color_dark: "#000000"