-
Notifications
You must be signed in to change notification settings - Fork 305
Open
Description
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch react-native-fingerprint-scanner@6.0.0
for the project I'm working on.
contains invalid configuration: "dependency.assets" is not allowed,"dependency.hooks" is not allowed. Please verify it's properly linked using "npx react-native config" command and contact the package maintainers about this.
Here is the diff that solved my problem:
diff --git a/node_modules/react-native-fingerprint-scanner/react-native.config.js b/node_modules/react-native-fingerprint-scanner/react-native.config.js
index 5f794ab..28c1aea 100644
--- a/node_modules/react-native-fingerprint-scanner/react-native.config.js
+++ b/node_modules/react-native-fingerprint-scanner/react-native.config.js
@@ -3,9 +3,7 @@ module.exports = {
platforms: {
ios: {},
android: {},
- },
- assets: [],
- // hooks are considered anti-pattern, please avoid them
- hooks: {},
+ }
},
};
+
This issue body was partially generated by patch-package.
Metadata
Metadata
Assignees
Labels
No labels