react-native-number-please icon indicating copy to clipboard operation
react-native-number-please copied to clipboard

Not working android

Open daihieptn97 opened this issue 5 years ago • 6 comments

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

daihieptn97 avatar Oct 24 '20 02:10 daihieptn97

Thanks for letting me know. I'll update the project!

thebiltheory avatar Nov 17 '20 09:11 thebiltheory

Me too not work on android devices

develiasdaniel avatar Nov 19 '20 20:11 develiasdaniel

@thebiltheory hi, this lib works well on iOS, can you make it work on Android, please ...

fantasyado avatar Aug 10 '21 07:08 fantasyado

@fantasyado @develiasdaniel I will soon push a new version

thebiltheory avatar Aug 11 '21 10:08 thebiltheory

@fantasyado @develiasdaniel I will soon push a new version

Thanks, waiting for it!

fantasyado avatar Aug 12 '21 02:08 fantasyado

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?

AlbertoLopSie avatar Sep 29 '21 15:09 AlbertoLopSie