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

Animated.event now requires a second argument for options #98

Open
alejandroAhumada opened this issue May 4, 2020 · 7 comments
Open

Comments

@alejandroAhumada
Copy link

WARN: Animated.event now requires a second argument for options

The new update of react native requires a modification in the use of Animated.event.

@Mhmetengineer
Copy link

Mhmetengineer commented Sep 10, 2020

Did u solve this problem ? @alejandroAhumada

@ghasemikasra39
Copy link

I have the same issue. Any solution?

@ighosh07
Copy link

1.Go to your node modules and navigate to 'react-native-swipeable' folder.
2. open index.js
3. go to line number 81
4. add , {useNativeDriver: false}
5. save
6. do npm cache clean --force
7. npm install

Worked for me.Not getting the warning.
image

@Alucard314
Copy link

@jshanson7 Hi Jeff, would you be ok if I send a pull request for this? Thanks.

@ghost
Copy link

ghost commented Jul 19, 2021

Looks like is fixed on master. Can you create a new tag for it? :)

@pierroo
Copy link

pierroo commented Dec 10, 2021

Unfortunately I am no expert with Git so I'm not sure to understand: was this fixed implemented somewhere already?
It seems like this branch wasn't updated for quite a while although you already found the solution; so there is no other way than editing the node modules each time for now?
@alejandrosaldarriagaGL

@andyoh365
Copy link

andyoh365 commented Jan 15, 2022

@jshanson7 @denis-shvets hello, can you please review and publish to npm? Thanks.

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

No branches or pull requests

7 participants