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

Qt Background Service not working on Android Oreo

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • 5.12
    • 5.12.2, 5.15
    • Extras: Android, QPA
    • None
    • Android Oreo ARM 7 running on Xiaomi PocoPhone F1.
    • Android

    Description

      Qt Android Service is not working properly on Android version 8 or higher. 

      It works perfectly on lower versions, but after version 8, the background service stops whenever the app is switched to background. 

      I'm not quite sure if this is the reason, but I seems that this happens since QtService extends Android Service class instead of a JobIntentService. 

      Follow some info about oreo background here: https://developer.android.com/about/versions/oreo/background

      Attachments

        Issue Links

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

          Activity

            People

              rampe Rami Potinkara
              tezine Bruno Tezine
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              6 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes