React-native 0.61 started to use DateTimePicker from react-native-community, and both DatePickerAndroid / DatePickerIOS, witch are used by NativeBase DatePicker, were deprecated. It causes a warning message to be displayed everytime I use this component.
I would like to know if there are plans to update NativeBase to work with DateTimePicker from react-native-community or it there is a workaround this.
Thanks.
node v10.16.2
yarn 1.19.2
react-native 0.61.4
react 16.9.0
native-base 2.13.8
expo 3.11.1
Same issue here. Any fix?
+1
+1
+1
+1
+1 , with nativebase 2.13.8
+1
+1 with nativebase 2.13.8
This is something that i'm also getting an error message for too, i'm more than happy to open a PR if anyone wants it
This is something that i'm also getting an error message for too, i'm more than happy to open a PR if anyone wants it
Yes please!
+1
+1
I switched to https://github.com/mmazzarolo/react-native-modal-datetime-picker fits perfectly to my needs
+1
Hi @Grantlyk , we will appreciate if you create PR for that. Thanks
PR with fix https://github.com/GeekyAnts/NativeBase/pull/3250
@hanykumar could you take a look?
Hi @alexandrtovmach , We will merge it soon. Thanks for this working PR.
@hanykumar Please merge asap. The old (current) version is broken on iOS 14.
@hanykumar can you please merge this? https://github.com/GeekyAnts/NativeBase/pull/3251
Ping
use this package, (yarn add https://github.com/tyhour/NativeBase.git) I just fixed some issue and all warning with Native Base. Also fixed error (this.requestAnimationFrame is not a function appears). I wish this can help you. :)
Don't use it https://github.com/GeekyAnts/NativeBase/issues/3020#issuecomment-738008902, because https://github.com/GeekyAnts/NativeBase/pull/3250 already merged and released
This issue should be closed, because issue fixed in v2.13.15+
Don't use it #3020 (comment), because #3250 already merged and released
==========
Hi sir new version has been release but why they not fixed another error with Tab of Native Base (TypeError: this.requestAnimationFrame is not a function. (In 'this.requestAnimationFrame(function () {
_this5.goToPage(_this5.state.currentPage);
})', 'this.requestAnimationFrame' is undefined)) ?
@tyhour
@tyhour
- It's separate issue, and not related to DatePicker updates
- Instead of recommending using your fork, better to create PR to original repo
Ok thanks I think they will update soon.
Most helpful comment
This is something that i'm also getting an error message for too, i'm more than happy to open a PR if anyone wants it