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

Support namespace in gradle #20

Closed
michelesacc opened this issue May 30, 2023 · 1 comment · Fixed by #22
Closed

Support namespace in gradle #20

michelesacc opened this issue May 30, 2023 · 1 comment · Fixed by #22

Comments

@michelesacc
Copy link

The new gradle plugin now adds the namespace in the app's gradle file.

Can we please add support for rename this:

if (project.android.hasProperty("namespace")) { namespace 'com.app.bundle.to.rename' }

https://developer.android.com/build/configure-app-module#groovy

@OutdatedGuy
Copy link
Owner

Changing namespace is supported starting from version v1.3.0 of this plugin. Can you try upgrading your package to this or the later versions and check again.

Also I noticed a bug in package that prevents namespace update if the value is surrounded in a single quotes ' instead of double quotes ".

if (project.android.hasProperty("namespace")) { namespace 'com.app.bundle.to.rename' }

Try upgrading namespace to namespace "com.app.bundle.to.rename" and then try running the package.

I'll publish a new release to make the package quotes insensitive.

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 a pull request may close this issue.

2 participants