Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(android_alarm_manager_plus): Update to target and compile SDK 34 on Android #2714

Merged
merged 1 commit into from
Mar 17, 2024

Conversation

vbuberen
Copy link
Collaborator

Description

Moving the plugin to target and compile against SDK 34 (Android 14).

Decided to also rework the example app a bit to let users request SCHEDULE_EXACT_ALARM permission. When app has no such permission schedule alarm button is disabled and request permission buttons is enabled. When user provides the permission schedule button becomes enabled while request permission button disables.
Additionally improved texts to improve UX by explaining what is currently happening.

Breaking Change

Does your PR require plugin users to manually update their apps to accommodate your change?

  • Yes, this is a breaking change (please indicate that with a ! in the title as explained in Conventional Commits).
  • No, this is not a breaking change.

@@ -35,6 +35,10 @@ android {
targetCompatibility JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = 17
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had to do, so Android Studio doesn't pick 21 which is not supported yet but used Kotlin versions.
In fact, moving to Java 17 is something I want to do to the rest of plugins to be up to date. But such change will happen in another set of PRs.

@vbuberen
Copy link
Collaborator Author

One more thing I would like to address in follow-up PRs is to update the documentation and README with Android 14 related behavior changes information

@vbuberen vbuberen merged commit 0262766 into main Mar 17, 2024
9 of 10 checks passed
@vbuberen vbuberen deleted the update/android_alarm_manager branch March 17, 2024 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants