Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Shorebird について
Search
oyuk
September 04, 2023
Programming
480
0
Share
Shorebird について
oyuk
September 04, 2023
More Decks by oyuk
See All by oyuk
Material designのWindow size classについて
oyuk
0
1.4k
Swiftでなんで[weak self]するのか?
oyuk
2
5.3k
LLVMについて調べた
oyuk
0
210
Swiftのmapからその次へ
oyuk
1
1.4k
Other Decks in Programming
See All in Programming
決定論 vs 確率論:Gemini 3 FlashとTF-IDFを組み合わせた「法規判定エンジン」の構築
shukob
0
160
🦞OpenClaw works with AWS
licux
1
360
AI Agent と正しく分析するための環境作り
yoshyum
2
500
Road to RubyKaigi: Play Hard(ware)
makicamel
1
580
属人化しないコード品質の作り方_2026.04.07.pdf
muraaano
0
350
PHPer、Cloudflare に引っ越す
suguruooki
2
210
〜バイブコーディングを超えて〜 チームで実験し続けたAI駆動開発
tigertora7571
0
210
いつか誰かが、と思っていた フロントエンド刷新5年間の実践知
kiichisugihara
1
280
GitHubCopilotCLIをはじめよう.pdf
htkym
0
330
Programming with a DJ Controller — not vibe coding
m_seki
3
860
運転動画を検索可能にする〜Cosmos-Embed1とDatabricks Vector Searchで〜/cosmos-embed1-databricks-vector-search
studio_graph
3
930
cloudnative conference 2026 flyle
azihsoyn
0
180
Featured
See All Featured
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
310
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
Automating Front-end Workflow
addyosmani
1370
200k
Paper Plane
katiecoart
PRO
1
50k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
340
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
460
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
70
39k
Building Applications with DynamoDB
mza
96
7k
Transcript
Shorebird について Relic Tech MeetUp 11 2023/9/8 oyuk
自己紹介 oyuk(@oydku) プログラマ 株式会社 Relic で Flutter やってます。
Shorebird とは? Flutter で Code Push を実現するサービス [1] https://shorebird.dev/#products-code-push
Shorebird とは? Code Push Code Push とはユーザーの端末に対して直接アップデートを配信する事。 つまり iOS, Android
においてはストアの申請を通さずにアプリを更新できる。
Shorebird の使い方 1. curl --proto '=https' --tlsv1.2 https://raw.githubusercontent.com/shorebirdtech/install/main/install.sh -sSf |
bash 2. shorebird login 3. Shorebird を使いたいアプリのルートディレクトリで shorebird init [2] https://m3.material.io/foundations/layout/applying-layout/window-size-classes#6e960b82-eff3-4f1b-92d3- 5edb5e338f49
Shorebird の使い方 Release と Patch という概念が存在します。1 つの Release に対し 0
個以上のパッチが紐づ いているという関係になります。 Release アプリのバージョンを示す。Storeに公開するアプリのバージョンと同じにすると分かりやす い。 Patch Release に含まれる変更を指す。
Shorebird の使い方 1. Release を作成 i. shorebird release コマンドでビルドを生成 ii.
1.1で出力されたビルドをリリース 2. 実装を変更する 3. Patch を作成 i. shorebird patch でビルドを生成、Shorebirdのサーバにビルドをpush 4. アプリに適用(詳細は後述) 一つのリリースにつき手順2~4は複数回行われる想定
Shorebird の使い方 どうやってcode pushを実現しているか 起動時にpatchが適用されたビルドを取得している Flutter Engineの起動処理を一部書き換えて、起動時にコードを取得するように している。 ShorebirdのSDK内にShorebirdで必要な機能を入れたFlutter SDKが含まれてい
る。ShorebirdのコマンドはこのShorebird用Flutter SDKを用いてアプリをビル ドする。
Shorebird の使い方
Shorebird の使い方 実際にやってみた 動画で紹介
Shorebird の使い方 起動時にpatchを取得、適用するライブラリ updater は公開されている 。 updaterはRustで書かれている。Rustで書いてCのAPIとして公開。Flutter Engine(c++) はそのAPIを使用している 理由
DartVMが二つ起動するのを防ぎたい 複数の言語で updater を使用できるようにしたい [3] https://github.com/shorebirdtech/updater [4] https://docs.shorebird.dev/faq#why-are-some-parts-of-the-code-push-library-written-in-rust
Shorebird の使い方 updater の機能を切り出した shorebird_code_push というライブラリがある 。 これを使うとアプリ内で任意のタイミングでpatchをインストールする事が可能。 [5] https://pub.dev/packages/shorebird_code_push
Shorebird の使い方 任意のタイミングでpatchをインストールする例 push通知を起点にpatchをインストールする
Shorebird の使い方 ストアのポリシーに違反しないか? 違反していない アプリの挙動を大きく変える変更をするのはポリシー違反になる可能性がある [6] https://docs.shorebird.dev/faq#does-shorebird-comply-with-play-store-guidelines [7] https://docs.shorebird.dev/faq#does-shorebird-comply-with-app-store-guidelines
Shorebird の使い方 具体的なユースケース 不具合を修正したい場合 細かい機能アップデート [8] https://docs.shorebird.dev/faq#what-can-i-use-shorebird-code-push-for
Shorebird の使い方 料金 無料のHobbyプランがあるので気軽に試しやすい
Shorebird について まとめ ShorebirdはCode pushをするサービス 細かい機能追加、不具合修正を審査を通さずに実現可能 FAQが非常に充実している 本記事はShorebird 0.14.6時点の情報です。