flutter_with_firebase_course

A new Flutter project.

Setting up environment

Google app

Android

  • On Firebase apps. Select or create Android and download google-services.json file.
  • Save google-services.json on android/app folder.

iOS

  • On Firebase apps. Select or create iOS and download GoogleService-Info.plist file.
  • Save GoogleService-Info.plist on ios/Runner folder.

Singing

Android

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>

Building APK

flutter build apk

Getting Started

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.