react-native-number-please
react-native-number-please copied to clipboard
Not working android
1. I try running on android and it doesn't work
import React, {useState} from 'react';
import {View, Text} from 'react-native';
import NumberPlease from 'react-native-number-please';
const ItsYourBirthday = () => {
const initialBirthday = [
{id: 'day', value: 16},
{id: 'month', value: 4},
{id: 'year', value: 1970},
];
const [birthday, setBirtday] = useState(initialBirthday);
const date = [
{id: 'day', label: '', min: 0, max: 31},
{id: 'month', label: '', min: 0, max: 12},
{
id: 'year', label: '', min: 1900, max: new Date().getFullYear(),
}
]
return (
<View style={{marginTop : 120}}>
<Text>My birthday</Text>
<NumberPlease
digits={date}
values={birthday}
onChange={(values) => setBirtday(values)}
/>
</View>
);
};
export default ItsYourBirthday
Package.json :
"react": "16.13.1",
"react-native": "0.63.3",
"react-native-number-please": "^1.0.5",
2. React native picker has moved to react-native-picker. I think you should switch to that library.
- Thank you very much. Wish your library grows
Thanks for letting me know. I'll update the project!
Me too not work on android devices
@thebiltheory hi, this lib works well on iOS, can you make it work on Android, please ...
@fantasyado @develiasdaniel I will soon push a new version
@fantasyado @develiasdaniel I will soon push a new version
Thanks, waiting for it!
Hi!
Wondering when would you estimate to fix the Android issue... It's working great on iOS but cannot release an Android app based on this.
May I help any way?