Closed Sreenivas7463 closed 4 years ago
You create a .env file in the root directory of the project then add the following:
OPEN_WEATHER_API_KEY = MyAPIKeyWouldBeHere
Let me know if it works :)
Hi Robert Brunhage, I Created .env file with my api key but it is not working for me
On Mon, Feb 10, 2020 at 4:10 PM Robert Brunhage notifications@github.com wrote:
You create a .env file in the root directory of the project then add the following:
OPEN_WEATHER_API_KEY: MyAPIKeyWouldBeHere
Let me know if it works :)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RobertBrunhage/open-weather-app/issues/9?email_source=notifications&email_token=AOJW4JHYMDZ62YT3WCA7SSTRCEVJFA5CNFSM4KSKV5PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELIAZ3I#issuecomment-584060141, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOJW4JHL2A3B32V62WC3A63RCEVJFANCNFSM4KSKV5PA .
Be on Flutter channel beta so you can take part of flutter web. https://flutter.dev/docs/get-started/web
See if you have chrome as a device by typing flutter devices
. Chrome should be listed here
Now you create the .env file in the root directory of the project and paste as my previous comment.
type flutter run -d chrome
to run in the chrome browser.
These should be all the steps, just verified it. If one of the steps are unclear please let me know :)
I am closing this issue, if you are still having the same problem, let me know and I will reopen it again :)
Where I have to Place API Key