Example of Continuous Delivery with Flutter, Firebase App Distribution, and Github Actions

Overview

flutter_fad_ci

Example of Continuous Delivery with Flutter, Firebase App Distribution, and Github Actions.

以下の手順で自分のプロジェクトでも使えるようになります。

下準備

  1. Apple Developer Program に参加
  • 基本的にはチームに招待してもらう
  1. Firebase の登録
  • https://console.firebase.google.com/u/9/?hl=ja から登録
  • iOS アプリ, Android アプリの作成
    • 登録時に google-service.json や SDK などの話など出てきますが、Firebase App Distribution を使うだけであれば無視しても OK です
  1. Firebase App Distribution の登録
  • テストグループを作成
    • CI で testers というグループに配信するようになっているので、testers というグループ名にする必要があります
    • テスターをグループに追加
  1. .github/workflows を自分のプロジェクトにコピペ
  • デフォルトでは master ブランチに PR をマージしたときにトリガーされるようになっています
  1. ios/ExportOptions.plist を自分のプロジェクトにコピペ
  • teamID は Apple Developer のチーム ID
  • provisioningProfiles の部分は 下の IOS_PROVISIONING_PROFILE_BASE64 を作る過程で作成したものに変更
    • key が プロビジョニングプロファイルの App ID
    • string が プロビジョニングプロファイル の Name

Github の Secrets を登録

  • settings / secrets / actions から登録

以下設定項目

FIREBASE_TOKEN

firebase login:ci を叩いて取得

IOS_FIREBASE_APP_ID

firebase の iOS アプリの ID

IOS_CERTIFICATE_BASE64

  1. Xcode の Preferences / Accounts / Manage Certificates まで移動
  2. + ボタンから Apple Distribution を選択
  3. 作成された Certificate を右クリックし、 Export Certificate
  4. 任意のパスワードを入力して Export
  5. base64 XXX.p12 | pbcopy でクリップボードにコピーし Secrets に貼り付け

IOS_CERTIFICATE_PASSWORD

IOS_CERTIFICATE_BASE64 を生成する際の Export 時のパスワード

IOS_PROVISIONING_PROFILE_BASE64

  1. https://developer.apple.com/account/resources/profiles/list からプロビジョニングプロファイルを作成
  1. ファイルをダウンロード
  2. base64 XXX.movileprovision | pbcopy でクリップボードにコピーし Secrets に貼り付け

ANDROID_FIREBASE_APP_ID

firebase の Android アプリの ID

You might also like...

Flutter slidable custom - A Flutter implementation of slidable list item with directional slide actions that can be dismissed

Flutter slidable custom - A Flutter implementation of slidable list item with directional slide actions that can be dismissed

Slidable is a Flutter Favorite package! flutter_slidable A Flutter implementatio

Feb 7, 2022

First Flutter Project using StateFull,Important Widgets,proberties,actions

first_project A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if

Jan 8, 2022

181011450390-FLUTTER-CHALLENGE - Example GitHub Search app built in Flutter & RxDart

Example GitHub Search app built in Flutter & RxDart Simple app using the Flutter

Jan 3, 2022

Yumniastic is a online food delivery service app built with Flutter and Django

Yumniastic is a online food delivery service app built with Flutter and Django

Welcome to Flutter Yumniastic 👋 Yumniastic is a online food delivery service app built with Flutter and Django 🚀 See Screenshots See ScreenShots Dow

Dec 26, 2022

Food Delivery App made by Flutter and Bloc

Food Delivery App made by Flutter and Bloc

Flutter Chi A clone food delivery app made by flutter and Bloc using api of Yelp and Zomato Screenshots home page profile page account page pick page

Dec 3, 2022

This is a on-demend food delivery app specifically for learning and exploring flutter amazing framework

This is a on-demend food delivery app specifically for learning and exploring flutter amazing framework

This is a on-demend food delivery app specifically for learning and exploring flutter amazing framework. This Project is developed to help beginners, intermediates and sometime advance to know better about using Firebase services and tools, different flutter state management solutions, complex navigations, realtime control over maps, understanding payments etc.

Nov 5, 2022

Flutter Food Delivery Application design and Animation - day 3

Flutter Food Delivery Application design and Animation - day 3

Flutter Food Delivery Application Design - Day 3 class Day3 extends Flutter100DaysOfCode { video() { return { "title": "Flutter Food Deliv

Dec 21, 2022

An open source food delivery product and service that will be developed on the FilledStacks YouTube channel

Box't Out An open source food delivery product and service that will be developed on the FilledStacks YouTube channel. The repo will contain all the s

Jan 7, 2023
Owner
Anycloud
Anycloud
Github-apps-flutter - Github Apps Build Using bloc 8.0 and Github API

Github_apps Inspiration This app is made to build using bloc 8.0 and github API.

Irvan Lutfi Gunawan 18 Apr 14, 2022
Demo app with continuous integration setup for auto across android/iOS app stores

demo_flutter_ci A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started

null 0 Dec 25, 2021
Made with Clean architecture + TDD + GraphQL + flutter_bloc + CodeCov + GitHooks + GitHub Actions (CI/CD) and finally with 💙

Rick and Morty Info A simple app to demonstrate Clean Architecture with GraphQL and flutter_bloc Motivation In Martin Fowler's words, “Any fool can wr

Venkatesh Prasad 473 Dec 25, 2022
A UI-based redesign of my high school's grade distribution app.

flutter_powerschool A new Flutter application. Getting Started This project is a starting point for a Flutter application. A few resources to get you

Matthew 1 Oct 25, 2022
Flutter Github Following Application, Using Flutter Provider and Flutter HTTP to get data from Github API.

Flutter Github Following Application Watch it on Youtube Previous Designs Checkout my Youtube channel Installation Please remember, after cloning this

Mohammad Rahmani 110 Dec 23, 2022
Github-search - Allows users to search users on github Uses flutter

Github Search Github Search is a cross-platform mobile application powered by Flutter Framework and Github API. The application was built with simplic

Saul 3 Sep 13, 2022
An open-source unofficial GitHub mobile client, that aims to deliver the ultimate GitHub experience on mobile devices.

DioHub for Github Summary Features Roadmap Support Screenshots Build Instructions Summary DioHub is an open-source unofficial GitHub mobile client, th

Naman Shergill 401 Jan 4, 2023
Ahmed Elsayed 257 Jan 7, 2023
A Flutter package for simple and easy to use actions like buttons, checkboxes and switches.

Easy Actions Overview A Flutter package for simple and easy to use actions like buttons, checkboxes and switches. Features Elevated Button Outlined Bu

Ashish Bhakhand 3 Jun 25, 2022
:bug: Flutter debug helper widget with common and custom actions

Debug Friend Flutter debug helper widget with common and custom actions This helps you reduce the development and testing time of new features Show so

Stanislav Ilin 43 Dec 7, 2022