- Create the API key config file:
- Create a file at
ios/Flutter/gmap.xcconfig - Add your key:
GMapApiKey=YOUR_IOS_GOOGLE_MAPS_API_KEY
- Create a file at
- Create the API key config file:
- Create or edit the file at
android/local.properties - Add your key:
GOOGLE_MAPS_API_KEY="_yourkeyhere_"
- Create or edit the file at
- Create a Firebase project
- Follow https://firebase.google.com/docs/flutter/setup
- (iOS) Do this https://firebase.google.com/docs/cloud-messaging/get-started?platform=flutter#upload-authentication-key
-
Launch the iOS Simulator:
open -a Simulator -
Run the App
flutter pub get flutter run
git clone git@github.com:mbusdev/mbus-backend-dev.git
cd mbus-backend-dev
git checkout graph-data-endpoint- Set up your MBus API key as required by the backend instructions.
- Start the local backend server (refer to backend README for details).
open -a Simulatorflutter run --dart-define=BACKEND_URL=http://localhost:3000/mbus/api/v3The process is similar to iOS, but instead of defining the backend url with localhost, use 10.0.2.2.