Skip to content

GitHub Actions (GHA) + Flutter + Fiebase App Distribution (FAD)

Notifications You must be signed in to change notification settings

ninefyi/gha-flutter-fad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to deploy Flutter to Google Firebase Distribution

References

Prepare for Flutter (Tested on Mac)

firebase login:ci

Prepare for Android

  • Create .jks file
  keytool -genkey -v -keystore ~/upload-keystore.jks -keyalg RSA -keysize 2048 -validity 10000 -alias upload
  • Convert to base64
base64 app.keystore | pbcopy
  • Create Secrets on GitHub Settings.
    1. ANDROID_KEYSTORE
    2. ANDROID_KEYSTORE_ALIAS
    3. ANDROID_KEYSTORE_FILENAME
    4. ANDROID_KEYSTORE_PASSWORD
    5. ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD
    6. FIREBASE_TOKEN
    7. FIREBASE_ANDROID_APP_ID

Prepare for iOS

  • Create CSR
  • Export.P12 file using .CSR file
  • Create iOS Distribution certificate
  • Create Ad-hoc provisioning profile
  • Create exportOptions.plist
  • Create Secrets on GitHub Settings
    1. FIREBASE_IOS_APP_ID
    2. FIREBASE_TOKEN
    3. BUILD_CERTIFICATE_BASE64
    4. P12_PASSWORD
    5. BUILD_PROVISION_PROFILE_BASE64
    6. KEYCHAIN_PASSWORD

About

GitHub Actions (GHA) + Flutter + Fiebase App Distribution (FAD)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published