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

Compiler warning in AGP 8: Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported #644

Open
phoenixy1 opened this issue Mar 25, 2024 · 0 comments

Comments

@phoenixy1
Copy link
Collaborator

The problem

When building the Tiny Quickstart using plaid-link-react-native 11.6.0, after upgrading from AGP 7.4.2 to AGP 8.6, I get the following warning:

> Task :react-native-plaid-link-sdk:processDebugManifest
package="com.plaid" found in source AndroidManifest.xml: /Users/ahoffer/tiny-quickstart/react_native/TinyQuickstartReactNative/node_modules/react-native-plaid-link-sdk/android/src/main/AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.
Recommendation: remove package="com.plaid" from the source AndroidManifest.xml: /Users/ahoffer/tiny-quickstart/react_native/TinyQuickstartReactNative/node_modules/react-native-plaid-link-sdk/android/src/main/AndroidManifest.xml.

Some Googling suggests that this is a new warning in AGP 8.
No errors occur, but we should probably do what the nice warning says and remove this line.

@phoenixy1 phoenixy1 changed the title Compiler warning in AGP 8: Setting the namespace via the package attribute in the source AndroidManifest.xml is no loner supported Compiler warning in AGP 8: Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported Mar 25, 2024
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

No branches or pull requests

1 participant