https://bugs.kde.org/show_bug.cgi?id=393840

            Bug ID: 393840
           Summary: KDE Connect connection lost when the Android app is
                    swiped off in Recent App list
           Product: kdeconnect
           Version: 1.8
          Platform: Debian stable
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: android-application
          Assignee: albertv...@gmail.com
          Reporter: shanmukhat...@gmail.com
  Target Milestone: ---

The KDE Connect Android app and the desktop application stay connected as long
as the  Android app is open or remains in the background (like say, tapping the
circle while the app is open) 

However, the connection is lost if the app is cleared from Recent app list
(long press the square and swipe the KDE Connect app)

For people like me who often clear the Recent app list, I find myself having to
constantly open the KDE Connect app on my Android phone.


Steps to Reproduce:

1. Launch the KDE Connect app on Android phone.

2. Pair the device to computer

3. Clear the app from the "Recent App" list.


Actual Result:

The network connection between the Android app and the paired computer is
severed as soon as the app is swiped off Recent List.


Proposed Result:

The network connection remains connected even after the app is swiped off from
the "Recents" list.

I would very much like to contribute to resolving this issue on the KDE Android
app. I propose two viable solutions to resolve this issue:

1. We can override onTaskRemoved method on org.kde.kdeconnect.BackgroundService
class to restart the network connectivity. 

2. Create a Foreground service which stays on the Notifications as soon as the
Android app is launched. We can set this Notification priority to
NotificationCompat.PRIORITY_LOW to "keep it low" for the user.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to