question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not working android

See original GitHub issue

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

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:4
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
thebiltheorycommented, Aug 11, 2021

@fantasyado @develiasdaniel I will soon push a new version

1reaction
AlbertoLopSiecommented, Sep 29, 2021

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?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix an installed Android app that isn't working - Google Support
Step 1: Restart & update ... Important: Settings can vary by phone. For more info, contact your device manufacturer. On most phones, press...
Read more >
are my apps not working on my Android phone - Carlcare
How to fix android apps not working · Reboot your phone · Update or roll back Android System WebView app · Check and...
Read more >
15 common Android problems and how to fix them - CNET
There may be two causes for your apps not downloading. First, go back to the last page on this list and try clearing...
Read more >
Android Apps Not Working? Try These Fixes - Make Tech Easier
Possible Fixes for Unresponsive Android Apps · Roll Back to an Older Version of the App · Uninstall Android System WebView Updates ·...
Read more >
Top 8 Ways to Fix Apps Won't Open on Android - Guiding Tech
1. Force Stop Apps · 2. Clear the App Cache and Data · 3. Reinstall WebView Updates · 4. Update All Apps ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found