react-native-paper-onboarding icon indicating copy to clipboard operation
react-native-paper-onboarding copied to clipboard

Support react-native-gesture-handler@2

Open ftzi opened this issue 3 years ago • 1 comments

Feature Request

I ask you to add support for the react-native-gesture-handler@2. The current peerDep is "react-native-gesture-handler": "^1.10.3".

Why it is needed

[email protected] is the latest version, and already being used across the libs.

Error when installing this lib:

❯ npm install @gorhom/paper-onboarding
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: myapp1.0.0
npm ERR! Found: [email protected]
npm ERR! node_modules/react-native-gesture-handler
npm ERR!   react-native-gesture-handler@"~2.1.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react-native-gesture-handler@"^1.10.3" from @gorhom/[email protected]
npm ERR! node_modules/@gorhom/paper-onboarding
npm ERR!   @gorhom/paper-onboarding@"*" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

ftzi avatar Feb 05 '22 01:02 ftzi

It seem to be working with react-native-gesture-handler@2 (i have installed paper-boarding with -f flag to force install)

ftzi avatar Feb 05 '22 20:02 ftzi