Android 8.0 (Oreo) API level 26 target tweaks #216

Closed
opened 2018-08-02 14:50:12 +02:00 by akinwale · 0 comments
akinwale commented 2018-08-02 14:50:12 +02:00 (Migrated from github.com)

There is a November 2018 deadline for apps published to the Play Store to set API level 26 as the minimum value for targetSdkVersion.

Due to a couple of changes in the way Android Oreo handles notifications and background services, the current implementation does not work as expected after the value for targetSdkVersion is updated for the build.

There are two things that need to be fixed for Oreo.

There is a November 2018 deadline for apps published to the Play Store to set API level 26 as the minimum value for `targetSdkVersion`. Due to a couple of changes in the way Android Oreo handles notifications and background services, the current implementation does not work as expected after the value for `targetSdkVersion` is updated for the build. There are two things that need to be fixed for Oreo. * Use a notification channel to display the file download progress notifications (reference https://developer.android.com/guide/topics/ui/notifiers/notifications#ManageChannels). This is already done in the WIP branch (https://github.com/lbryio/lbry-android/tree/android-oreo-tweaks) * Display an icon in the status bar to indicate that the LBRY daemon service is running. This essentially allows the daemon to behave as expected with the "keep daemon running in background" setting option.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-android#216
No description provided.