Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.

App gets Sim data on second load #13

Open
shrikantr-iprogrammer opened this issue Jan 31, 2020 · 5 comments
Open

App gets Sim data on second load #13

shrikantr-iprogrammer opened this issue Jan 31, 2020 · 5 comments

Comments

@shrikantr-iprogrammer
Copy link

Install the app on your phone and you wont get the Sim details at first load. Kill the app and reopen or reload it then only you will get the Sim data.

@gypsicoder
Copy link

I am facing the same problem. Did anyone got solution for that?

@edoofx
Copy link

edoofx commented Apr 7, 2020

im using react-native-restart for this problem.

after granted permission, then rnrestart.

@tinydiv333
Copy link

Did you find any solution ?

@codeword7
Copy link

Same problem here to

@pocesar
Copy link
Owner

pocesar commented Aug 19, 2020

it's a chicken / egg problem: the code (which is a constant) is evaluated on app load, but if the permissions were not granted, it fails to update. the code could be changed to re-evaluate at every call

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants