A new Flutter project.
For help getting started with Flutter, view our online documentation.
There are a few ways to configure the development environment. The easiest way is to simply use the automated script setup-development.sh
.
The script will generate the following files:
./android/key.properties
with the API Key for Google Maps./ios/Runner/secret_keys.plist
with the API Keys for Google Maps (Only if the script is executed from a Mac)--keystore-create
is given as argument, $HOME/<key_alias>.jks
is created as well.It will then run flutter packages get
and if you are on a Mac, also pod install
.
If you haven't generated a .jks
keystore, use the following command:
./setup-development --gmaps-api-key <API Key for Google Maps> --keystore-create
The script will pretty much configure everything for you.
If you already have a .jks keystore:
./setup-development --gmaps-api-key <API Key for Google Maps> --keystore <Path to keystore> <Keystore alias>
You will be prompted for the password for the keystore.