Skip to content

Handle PickerIOS deprecation in react-native 0.62 #17

Description

@mikehardy

So with react-native 0.62 there's a great big ugly redbox that is hard to suppress, informing us that PickerIOS is deprecated and you should move to the community version etc etc

Also, I think this library is going to purge the iOS implementation anyway? I'm already set up to only use this for Android (where I love it, though) so my goal to forward-port to react-native 0.62 was basically just to stop doing anything on the iOS platform.

So here is a patch that just brutally hacks out the iOS implementation and loads clean on iOS Simulator in react-native 0.62 :-)

Happy to do a PR or something but I thought even in the interim if others needed this they could also grab https://github.com/ds300/patch-package and drop this patch in to get moving

Cheers!

(you'll need to remove the .txt extension, how can github not handle '.patch' extensions?)

@davidgovea+react-native-wheel-datepicker+1.0.1.patch.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions