Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not get the time on production #12

Open
hous04 opened this issue Apr 14, 2020 · 3 comments
Open

Could not get the time on production #12

hous04 opened this issue Apr 14, 2020 · 3 comments

Comments

@hous04
Copy link

hous04 commented Apr 14, 2020

Hi,
Thanks for this tutorial.
I have tested the application on my device and it works fine , but when I deploy it in install it in my mobile phone I can navigate to locations interface but when I choose a location I get this error "Could not get the time", why ?

@adityadev31
Copy link

adityadev31 commented May 21, 2020

Give internet access in manifest file and it will run

@ishitb
Copy link

ishitb commented May 22, 2020

Hi as AdiTya-Dev31 said, you just need to give your application permission to use the internet on the device in release mode.
Just open the manifest from (your_app_directory)/android/src/main/AndroidManifest.xml and just after the after the application tag closes add this
and the run "flutter build"
This should make your app use the internet and get the time.

@adityadev31
Copy link

adityadev31 commented May 22, 2020 via email

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

No branches or pull requests

3 participants