]> git.proxmox.com Git - flutter/pve_flutter_frontend.git/commit
android: migrate to compiled API v31+, with splash screen support
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 9 Dec 2021 06:47:44 +0000 (07:47 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 9 Dec 2021 07:15:51 +0000 (08:15 +0100)
commite37cd7c6a6dbf597a7bc22177cbb8cb602b7ddec
treed90e26b5c44270086476c6c6fe339ae6a4497446
parent50bbbd9ec26f416824f1280b720239b311a5f673
android: migrate to compiled API v31+, with splash screen support

use AndroidX for getting compat support with our min SDK level v23

The splash screen support is now handled directly by android, I
actually noticed that as Flutter complained about the old way
being used and pointed to
http://flutter.dev/go/android-splash-migration
which redirects to
https://docs.flutter.dev/development/ui/advanced/splash-screen

Note, I saw some issues with the icon not showing up on Android 12
while the older versions were OK, seems like it could be:
https://issuetracker.google.com/issues/207095799

But need to closer investigate, for now splash screen is not /that/
essential and the basics should be right, so we better move forward
now and bugfix whatever it is.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
android/app/build.gradle
android/app/src/main/AndroidManifest.xml
android/app/src/main/kotlin/com/proxmox/app/pve_flutter_frontend/MainActivity.kt
android/app/src/main/res/drawable/launch_background.xml
android/app/src/main/res/values/styles.xml
android/build.gradle