Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-140165

Android vitals overview

XMLWordPrintable

    • Icon: User Story User Story
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.9.2
    • Other
    • None
    • Android

      Reviewing "Android Vitals Overview" for an application, I am faced with the following problems.

      Edge-to-edge may not display for all users

      From Android 15, apps targeting SDK 35 will display edge-to-edge by default. Apps targeting SDK 35 should handle insets to make sure that their app displays correctly on Android 15 and later. Investigate this issue and allow time to test edge-to-edge and make the required updates. Alternatively, call enableEdgeToEdge() for Kotlin or EdgeToEdge.enable() for Java for backward compatibility.
       
      https://developer.android.com/about/versions/15/behavior-changes-15#edge-to-edge
       

      Your app uses deprecated APIs or parameters for edge-to-edge

      One or more of the APIs you use or parameters that you set for edge-to-edge and window display have been deprecated in Android 15. Your app uses the following deprecated APIs or parameters:

      • android.view.Window.getStatusBarColor
      • android.view.Window.setStatusBarColor
      • android.view.Window.setNavigationBarColor

      These start in the following places:

      • org.qtproject.qt.android.QtActivityDelegateBase.handleUiModeChange
      • org.qtproject.qt.android.QtDisplayManager.setSystemUiVisibility

      To prepare for the change to Android 15, migrate away from these APIs or parameters.

      https://developer.android.com/about/versions/15/behavior-changes-15#edge-to-edge 
       

      Recompile your app with 16 KB native library alignment

      Your app uses native libraries that are not aligned to support devices with 16 KB memory page sizes. These devices may not be able to install or start your app, or your app may start and then crash.

      There are new app bundles in this release that do not support 16 KB.

      Version codes:

      • XXXX

      Android 15 supports devices with 16 KB memory page sizes, which can improve your app's performance. We recommend recompiling your app when you migrate to Android 15 and testing your app in a 16 KB environment to avoid issues for users.
      Your app uses native libraries that are not aligned to support devices with 16 KB memory page sizes. These devices may not be able to install or start your app, or your app may start and then crash.

      Some crashes or ANRs have a note from an SDK provider

      User-perceived crashes or ANRs are occurring in a production version of your app. One of your SDK providers has additional information about this issue to help you fix it.

       

      [libQt6Gui_arm64-v8a.so] QInputDevicePrivate::isRegistered

       
      The provider of Sentry Android Core (io.sentry:sentry-android-core) added this note on May 23, 2024:
       
      "Not caused by SDK: The SDK just forwards the call to the system, without performing any operation."

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            rampe Rami Potinkara
            bruno.vunderl Bruno Vunderl
            Bruno Vunderl Bruno Vunderl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes