-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
After following the instructions in the README to add this module to my android/setting.gradle file and my android/app/build.gradle file, gradle sync fails with this error:
Configuration with name 'default' not found
Also, the instructions on registering the module in the MainActivity.java seem to be out of date, newer versions of RN for Android just have you add a new package instance to a list like so:
/**
* A list of packages used by the app. If the app uses additional views
* or modules besides the default ones, add more packages here.
*/
@Override
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
new MainReactPackage(),
new Vibration() // <- Add new package here
);
}Has anyone else run into any problems adding this module to their android projects?
Metadata
Metadata
Assignees
Labels
No labels