-
-
Notifications
You must be signed in to change notification settings - Fork 998
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
fix(package_info_plus): Address changed fields nullability on Android 15 (API 35) #2975
fix(package_info_plus): Address changed fields nullability on Android 15 (API 35) #2975
Conversation
Could you share how you were able to reproduce the compilation failure? In which setup? Because the plugin switched to I assume it is something happening with some different set of Android dependencies than the ones that we have in the example app, because I can't see any of these warnings and can run it successfully. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't tested, but I believe this ?
is not necessary.
...info_plus/android/src/main/kotlin/dev/fluttercommunity/plus/packageinfo/PackageInfoPlugin.kt
Outdated
Show resolved
Hide resolved
It is weird indeed that we haven't seen this compilation issues, but checking the documentation, these two methods |
Yes, I also checked docs when was reviewing the PR a few days ago, but I am curios on how to get these compile issues from the PR description. |
Apologies, the initial description was wrong. The new signatures are in API level 35: https://developer.android.com/about/versions/15 |
…kotlin/dev/fluttercommunity/plus/packageinfo/PackageInfoPlugin.kt Co-authored-by: Miguel Beltran <m@beltran.work>
Installed Android 15 (API 35) and validated the changes - everything is Ok. |
There is a failing integration test on Android API 34 which is not related to timeouts we usually have and not related to changes in this PR. |
Description
This plugin fails to compile with the latest nullability signatures for Android 35
The compilation error messages are:
Checklist
CHANGELOG.md
nor the plugin version inpubspec.yaml
files.flutter analyze
) does not report any problems on my PR.Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?
!
in the title as explained in Conventional Commits).