A new Flutter project.
- On Firebase apps. Select or create Android and download google-services.json file.
- Save google-services.json on android/app folder.
- On Firebase apps. Select or create iOS and download GoogleService-Info.plist file.
- Save GoogleService-Info.plist on ios/Runner folder.
Mac/Linux:
keytool -genkey -v -keystore ~/key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias key
Windows:
keytool -genkey -v -keystore c:/Users/USER_NAME/key.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias key
- Create android/key.properties file with following content:
storePassword=<password from previous step>
keyPassword=<password from previous step>
keyAlias=key
storeFile=<location of the key store file, such as /Users/<user name>/key.jks>
flutter build apk
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.