Describe the bug
Using the useNativeAndroidPickerStyle in a react-native-cli project (without Expo) I run into the following error:

You can see the exact code that triggers this in this snack
This piece of code works well in an Expo project, but not in a project that does not rely on Expo.
To Reproduce
Changing the value from null to some value, or else from a certain value to null. Strangely enough, changing between different values (e.g: football to baseball) doesn't trigger this error.
Expected behavior
For it work well, as it does in the expo snack.
Smartphone (please complete the following information):
Reproduction and/or code sample
This snack works well. however, the same code in a react-native-cli project (without expo) fails with the error mentioned before
Any fix would be most helpful.
Thank you.
this worked for me
style={
{
inputAndroid:{color:'black'}
}
}
this worked for me
style={ { inputAndroid:{color:'black'} } }
this worked for me too, thanks for the solution.
Will look into this one when I get a moment - we don't use Expo, so this is an odd one.
just ran your expo code on a fresh install of react-native init - works fine. if you can reproduce the error and share a github repo let me know
Most helpful comment
this worked for me
style={ { inputAndroid:{color:'black'} } }