You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 17, 2024. It is now read-only.
Hi i am using Expo to build my app and when i tried doing exactly as the example suggested it console logged empty and in UI no screen and an error "possible promise rejection".
When i tried the other way it gave me LOG {"_h": 0, "_i": 0, "_j": null, "_k": null}
Hi i am using Expo to build my app and when i tried doing exactly as the example suggested it console logged empty and in UI no screen and an error "possible promise rejection".
When i tried the other way it gave me LOG {"_h": 0, "_i": 0, "_j": null, "_k": null}
find the code below:
import { initPhoneNumberHint } from 'react-native-phone-hint'; const [result, setResult] = React.useState(""); React.useEffect(() => { initPhoneNumberHint().then((no) => { setResult(no); }); }, []); console.log(result);