fix: AGP 8+ namespace compatibility and dependency updates#252
Open
ssoad wants to merge 3 commits intoCariusLars:mainfrom
Open
fix: AGP 8+ namespace compatibility and dependency updates#252ssoad wants to merge 3 commits intoCariusLars:mainfrom
ssoad wants to merge 3 commits intoCariusLars:mainfrom
Conversation
for AGP 8.0 compatibility
for AGP 8.0 compatibility
…update Android build configurations including Gradle wrapper.
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.
fix: AGP 8+ namespace compatibility and dependency updates
Summary
This PR fixes build failures when using
ar_flutter_pluginwith Android Gradle Plugin 8.0+ and newer Flutter/Dart versions.Problem
Starting with AGP 8.0, the
namespaceproperty is required inbuild.gradle. The plugin was failing to build with: Namespace not specified. Specify a namespace in the module's build file.Additionally, there were compatibility issues with:
permission_handlerusing deprecated v1 Flutter embeddingChanges
android/build.gradlenamespace 'io.carius.lars.ar_flutter_plugin'1.3.50→1.8.04.1.0→7.3.0kotlinOptions { jvmTarget = '1.8' }android/src/main/AndroidManifest.xmlpackageattribute (now defined vianamespace)pubspec.yaml
permission_handler:^10.4.5→^12.0.0example/android/gradle/wrapper/gradle-wrapper.properties7.5→8.5Testing
Checklist