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

namespace is automatically specified as required #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nespjin
Copy link

@nespjin nespjin commented Nov 17, 2024

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

To fix namespace not specified. Specify a namespace in the module's build file.
@diljith-dev
Copy link

@nespjin

This library doesnt currently support the newest gradle version. But you can quickly fix it yourself:

Go to your Pub/Cache folder where flutter caches your packages, look for flutter_vibrate

to find folder try this command sudo ~/.pub-cache/hosted/pub.dev

and the build.gradle file.

Then add:

namespace = "flutter.plugins.vibrate"
right before
compileSdkVersion 31

Screenshot 2024-11-21 at 4 45 20 PM

@nespjin
Copy link
Author

nespjin commented Nov 21, 2024

@nespjin

This library doesnt currently support the newest gradle version. But you can quickly fix it yourself:

Go to your Pub/Cache folder where flutter caches your packages, look for flutter_vibrate

to find folder try this command sudo ~/.pub-cache/hosted/pub.dev

and the build.gradle file.

Then add:

namespace = "flutter.plugins.vibrate"
right before
compileSdkVersion 31

Screenshot 2024-11-21 at 4 45 20 PM

This PR supports the new version of Gradle while also being compatible with previous versions.

If the project is using a new version of gradle, the namespace property will be set automatically, while nothing will happen for the old version of gradle

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.

2 participants