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
Flutterアプリ開発にネイティブコードはどこまで求められるのか
Search
akatsuki174
September 12, 2022
Programming
2
4.4k
Flutterアプリ開発にネイティブコードはどこまで求められるのか
2022/09/12 iOSDC Japan 2022 day2
akatsuki174
September 12, 2022
Tweet
Share
More Decks by akatsuki174
See All by akatsuki174
SwiftUI、UIKitでキャプチャを撮ろう!
akatsuki174
1
34
Appleにおけるプライバシーの全容を把握する
akatsuki174
0
5.4k
近年のAppleにおける位置情報とプライバシー
akatsuki174
3
390
オフライン勉強会ぼっち対策
akatsuki174
1
570
Xcode 15の新機能
akatsuki174
0
2.5k
AndroidにもSelect Photosがやってきた
akatsuki174
0
1.2k
Famm Android改善記
akatsuki174
0
340
UIKitのアップデート #WWDC22
akatsuki174
4
1.2k
職能/職種横断でチームの生産性を高める
akatsuki174
2
5.7k
Other Decks in Programming
See All in Programming
ECS Service Connectのこれまでのアップデートと今後のRoadmapを見てみる
tkikuc
2
250
cmp.Or に感動した
otakakot
3
200
最新TCAキャッチアップ
0si43
0
190
ピラミッド、アイスクリームコーン、SMURF: 自動テストの最適バランスを求めて / Pyramid Ice-Cream-Cone and SMURF
twada
PRO
10
1.3k
[Do iOS '24] Ship your app on a Friday...and enjoy your weekend!
polpielladev
0
110
OnlineTestConf: Test Automation Friend or Foe
maaretp
0
110
Make Impossible States Impossibleを 意識してReactのPropsを設計しよう
ikumatadokoro
0
220
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
340
聞き手から登壇者へ: RubyKaigi2024 LTでの初挑戦が 教えてくれた、可能性の星
mikik0
1
130
Figma Dev Modeで変わる!Flutterの開発体験
watanave
0
140
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
100
What’s New in Compose Multiplatform - A Live Tour (droidcon London 2024)
zsmb
1
480
Featured
See All Featured
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
The Cost Of JavaScript in 2023
addyosmani
45
6.8k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Facilitating Awesome Meetings
lara
50
6.1k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
A Modern Web Designer's Workflow
chriscoyier
693
190k
Six Lessons from altMBA
skipperchong
27
3.5k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
0
97
Code Review Best Practice
trishagee
64
17k
Transcript
FlutterΞϓϦ։ൃʹ ωΠςΟϒίʔυ Ͳ͜·ͰٻΊΒΕΔͷ͔ iOSDC Japan 2022 day2 @akatsuki174 ࠓ͕࣌ؒͳ͍͔Β͜͜ͷཝͰࣗݾհ͍ͯ͘͠Ϥʂ
݁ ͍ͬͺ͍χίಈίϝϯτ͘ΕΑͳʂʂʂ
ʢύοέʔδʹཔΕʣ ଟ͘ͷέʔεͰ ωΠςΟϒίʔυΛॻ͔ͣʹ ࣮Ͱ͖Δ ໊લɿਢ౻ຘ
۩ମྫ ʮFammϓϦϯτʯ ΞΧϯτɿ@akatsuki174
iOSΤϯδχΞྺɿ్Εͭͭ7͘Β͍ʁ
• ࣸਅϐοΧʔͷදࣔ • In-App Review • Sign in with Apple
• Sign in with Google • ϓογϡ௨ AndroidΤϯδχΞྺɿ3 ωΠςΟϒ͕ؔ͋Γͦ͏ͳػೳ
FlutterΤϯδχΞྺɿ ࣸਅϐοΧʔͷදࣔ
࠷ۙFlutter8ׂɺiOS1ׂɺAndroid1ׂ͘Β͍…ʁ In-App Review
ॴଐɿגࣜձࣾTimers Sign in with Apple / Sign in with Google
جຊతʹϑϧϦϞʔτͰۈத ϓογϡ௨
ڈୈҰࢠग़࢈👶 ͜ͷϓϩϙʔβϧΛॻ͍ͨ࣌
ࠓϑϧλΠϜ෮ؼ ࣗͨͪͰॻ͍ͨωΠςΟϒίʔυ ΄΅0%
࠷ۙͷଉࢠͷϒʔϜɿʢָثͷํͷʣΩʔϘʔυ͍͡Γ ࠓݱࡏ5%Ҏ͘Β͍
• ਖ਼֬ʹݴ͏ͱɺαʔυύʔςΟͷpackageʢiOSͰݴ͏ͱ͜Ζͷɹ ϥΠϒϥϦʣ͕ඇৗʹॆ࣮͍ͯͯ͠ɺࣗͰॻ͘ඞཁ͕͋·Γͳ͍ iOSDC Japan 2022 ίΞελοϑ ͑ɺ͜Μͳগͳ͍ͷʁʁ
• sign_in_with_apple • sing_in_with_google ίΞελοϑྺɿ2017-2020, 2022ͷܭ5ճ ೝূ
• in_app_review iOSDC Japanͷελοϑͨͪ໌Δͯ͘ΞοτϗʔϜͰ͢ʢདྷͥͻελοϑࢀՃΛʂʣ ϨϏϡʔґཔ
• fl utter_native_image • fl utter_image_compress iOSDCޙʹΓ͍ͨ͜ͱɿ🦑3 ը૾ѹॖ
• ΧϝϥͰΫϨδοτΧʔυ൪߸ಡΈऔΓ • ͍͍ͨSDK͕FlutterରԠ͞Ε͍ͯͳ͔ͬͨͨΊ ࠷ۙେมͩͬͨ͜ͱɿ͜ͷొஃࢿྉ࡞Γʢ༰ʴ͜ͷࣗݾհͷωλग़͠...ʣ ωΠςΟϒίʔυॻ͍ͯΔՕॴ
• Image.toByteDataͷ෦ • ը૾ੜͳͲͰ༻͍ͯ͠Δ͕͍ • ωΠςΟϒͱൺΔͱ10ഒ͘Β͍ͷ͕ࠩ͋ΔͬΆ͍ ࣥචએɿڈWEB+DB PRESSͰiOS 15ಛूॻ͍͔ͨΒݟͯͶʂ ͪͳΈʹɿকདྷωΠςΟϒͰॻ͖͍ͨͱ͜Ζ
• PlatformChannelsͱ͍͏ΈΛ͏ • ωΠςΟϒଆͰॻ͍ͨίʔυΛFlutterଆͰݺͼग़͢ • ެࣜͷྫΛݩʹઆ໌ • https://docs. fl utter.dev/development/platform-integration/
platform-channels ωλΕͨ...ʢεϥΠυଟ͍ͳʣ ωΠςΟϒAPIʹΞΫηε͢Δʹ
͜ͷ͋ͱ1֊ͷަྲྀεϖʔεͰ͓ձ͍͠·͠ΐ͏ʂ IUUQT fl VUUFSEFWEPDT EFWFMPQNFOUQMBUGPSNJOUFHSBUJPO QMBUGPSNDIBOOFMT
fortee͔ΒͷτʔΫϑΟʔυόοΫΑΖ͓͘͠ئ͍͠·͢ʂ Flutterଆ
Flutterɺͥͻ৮ͬͯΈͯͶʂ໘ന͍Αʂ Flutterଆ
Γগ͠ͱͳͬͨiOSDC Japan 2022ɺଘʹָ͠Έ·͠ΐ͏ʂʂʂ Swiftଆ
٩( 'ω' )و ͓ʔʂ Swiftଆ
• ศརͳύοέʔδ͕ଟग़͍ͯΔͷͰɺࣗͰωΠςΟϒίʔυΛ ॻ͔ͳͯ͘ଟ͘ͷػೳΛ࣮ݱͰ͖ΔΑ • ͽͬͨΓͷύοέʔδ͕ͳͯ͘ɺPlatformChannelsΛ͑ɹɹ ωΠςΟϒίʔυΛݺͼग़ͤΔΑ ٩( 'ω' )و ͓ʔʔʔʂ
·ͱΊ
• ͜ͷεϥΠυࢿྉ • ͢ͰʹTwitterʹΞοϓ͍ͯ͠Δͣ • จࣈ൛ొஃࢿྉ • ޙձࣾͷςοΫϒϩάͰެ։༧ఆ • TimersςοΫϒϩάΛνΣοΫͯ͠Ͷʂ
Γͬͨͥʂʂʂʂʂ ొஃࢿྉ
• αʔόʔαΠυΤϯδχΞ (PHP, Golang, AWS) • AndroidΤϯδχΞ (Kotlin) • iOSΤϯδχΞ
(Swift) TimersͰݱࡏΤϯδχΞશ৬छ࠾༻தʂ ৄ͘͠”Timers”Ͱݕࡧ
͝ਗ਼ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ