flutter background geo-location with FastAPI
- FastAPI
- geopy
- look
pupspec.yaml
files
% cd local_api
% uvicorn main:app --reload
or
% cd local_api
% uvicorn main:app --reload --host 127.0.0.1 --port 8000
you can run main.dart
on android or ios emulator.
switch to another terminal and then..
to avoid errors in cors operations:
% cd live_tracker_app
% dart pub global activate flutter_cors
% fluttercors --disable
you can run main.dart
on web.