Android 13 support#86
Merged
Merged
Conversation
Owner
Author
There was a mismatch/conflict between version from android studio and project, it might be due to android studio update.
13 has a new permission managing system for posting notifications. ref0:https://developer.android.com/develop/ui/views/notifications/notification-permission ref1: https://developer.android.com/training/permissions/requesting ref2: https://developer.android.com/reference/androidx/activity/result/contract/ActivityResultContracts.RequestPermission#RequestPermission()
…hared preferences. This fixes infinite permission loop, when user denies the permission window.
+ hide and unhide grant permission dynamically + restart notification service when granted permission
…or android 13 and above..add check to see if notification posting permissions are also granted + refactor permission checks to separate file + update permission granting UI + update/add translations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update compile & Target SDK to 33.
As off march 12, 2023. Update from android docs https://developer.android.com/google/play/requirements/target-sdk
Starting in August 2023 new apps must target Android 13 (API level 33) or higher; except for Wear OS apps, which must target Android 11 (API level 30) or higher.
Starting in November 2023, app updates must target Android 13 or higher and adjust for behavioral changes in Android 13; except for Wear OS apps, which must target Android 11 or higher.
Persistent Notification & Foreground services
Foreground services can be viewed now
on Android 13, persistent notification are not a thing, user can dismiss the notification at any time from any app (even music player notifications)
all-players-notifications-removed.mov
trello