robcalcroft / react-native-in-app-notification

:bell: Customisable in-app notification component for React Native
MIT License
270 stars 78 forks source link

UseNativeDriver #19

Open shiftrtech opened 5 years ago

shiftrtech commented 5 years ago

Hi, is there a way to set "useNativeDriver" on notification animation, thanks.

robcalcroft commented 5 years ago

Afraid I don't know what that is sorry :(

shiftrtech commented 5 years ago

Hi, look at this:

https://facebook.github.io/react-native/blog/2017/02/14/using-native-driver-for-animated

robcalcroft commented 5 years ago

Apologies I don't really have time at the moment to look into implementing that but happy to accept pull requests 😄

renatomserra commented 4 years ago

Created a PR for this https://github.com/robcalcroft/react-native-in-app-notification/pull/43

MahmonirB commented 4 years ago

I have this warning when I use showNotification Animated: useNativeDriver was not specified. This is a required option and must be explicitly set to true or false how can i resolve it?

timerg commented 3 years ago

I have this warning when I use showNotification Animated: useNativeDriver was not specified. This is a required option and must be explicitly set to true or false how can i resolve it?

This warning seems solved but still exists in the package on npm. I switched to the version on master and the warning no longer exists.