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 updates for API 34 + Flutter 3.24 #29

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

luckyrat
Copy link
Contributor

@luckyrat luckyrat commented Aug 9, 2024

These 3 commits were necessary for me to get the plugin to be included in a Release build targeting API 34 and Flutter 3.24. I saw no errors in a debug build but didn't thoroughly test functionality that depends on this plugin before finding that the apk build failed in release mode. I haven't tested any older API or Flutter versions.

I'm not 100% sure every change was needed in the end but it is working for me so I thought might be useful for others and if there are no problems with backwards compatibility, could potentially be merged in for a future release.

If there are any backwards compatibility problems you're bothered about, feel free to close the PR or ask for changes.

I've not migrated the plugin to the new Flutter Gradle declarative plugins block but have done that for other plugins recently so let me know if you'd like me to work on a follow-up PR with that change later.

Edit: In case it helps others find this, the build error that led me down this path was along the lines of "AAPT: error: resource android:attr/lStar not found."

@Ansis100
Copy link

Please merge this, the package literally breaks compilation of the entire app because of this issue.

@jakusb
Copy link

jakusb commented Oct 31, 2024

@daadu : Please consider this Pull Request or make a similar one that solves this issue.
My project breaks now without proper workaround. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants