Skip to content

fix: Add namespace for AGP 8.0+ compatibility#62

Open
Keith-wright wants to merge 1 commit intopusher:masterfrom
Keith-wright:fix/android-namespace-agp8
Open

fix: Add namespace for AGP 8.0+ compatibility#62
Keith-wright wants to merge 1 commit intopusher:masterfrom
Keith-wright:fix/android-namespace-agp8

Conversation

@Keith-wright
Copy link

Summary

  • Adds namespace declaration to pusher_beams_android for Android Gradle Plugin 8.0+ compatibility

Problem

Starting with AGP 8.0, the namespace property must be declared in build.gradle rather than relying on the package attribute in AndroidManifest.xml. Without this, builds fail with:

Namespace not specified. Specify a namespace in the module's build file.

Solution

Added namespace 'com.pusher.pusher_beams' to the android block in packages/pusher_beams_android/android/build.gradle.

Fixes

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.

Missing Namespace in latest AGP Missing Namespace in latest AGP Flutter 3 Error Namespace not specified

2 participants