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
ハイブリッドアプリを支える ネイティブ技術
Search
Shuji OCHI
April 23, 2016
Programming
0
820
ハイブリッドアプリを支える ネイティブ技術
関西フロントエンドUG 「フロントエンド✕モバイルアプリ勉強会」
Shuji OCHI
April 23, 2016
Tweet
Share
More Decks by Shuji OCHI
See All by Shuji OCHI
「ハッカーズ」の紹介・IT技術書のオススメLT会 #03
ponpoko1968
0
310
スタートアップ立ち上げの 主力言語にgo言語を 採用してみた話
ponpoko1968
1
1.1k
Other Decks in Programming
See All in Programming
Git Rebase
bkuhlmann
11
1.6k
二郎系ラーメンのコールで学ぶ AST 解析
memory1994
PRO
7
1.7k
コーンフレークから始める モデリング会話入門
ogurotakayuki
0
370
Elm 0.19.0 Changes
bkuhlmann
0
490
Komplexe Oberflächen mit SVG und der Web Animation API
joergneumann
0
670
Goのmultiple errorsについて (2024年4月版)
syumai
3
700
Zero Waste, Radical Magic, and Italian Graft – Quarkus Efficiency Secrets
hollycummins
0
230
Hanami and htmx
bkuhlmann
0
210
Netty Chicago Java User Group 2024-04-17
sullis
0
170
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
550
Blue/Greenデプロイの導入による 運用フローの改善
kudoas
1
370
スクラムガイドのスプリントレトロスペクティブを改めて読みかえしてみた / Re-reading the Sprint Retrospective Section in the Scrum Guide
mackey0225
3
420
Featured
See All Featured
Bash Introduction
62gerente
604
210k
Web development in the modern age
philhawksworth
202
10k
GitHub's CSS Performance
jonrohan
1025
450k
For a Future-Friendly Web
brad_frost
172
9k
Rails Girls Zürich Keynote
gr2m
91
13k
Documentation Writing (for coders)
carmenintech
60
3.9k
GraphQLの誤解/rethinking-graphql
sonatard
50
9.2k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
30
6k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
227
16k
KATA
mclloyd
15
12k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
104
6.6k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
155
14k
Transcript
ϋΠϒϦουΞϓϦΛࢧ͑Δ ωΠςΟϒٕज़ 20164݄23 ϑϩϯτΤϯυ✕ϞόΠϧΞϓϦษڧձ LT ӽஐ म࢘
ӽஐम࢘(ponpoko1968) • ਆށࢢࡏॅ • ϑϦʔϥϯεΤϯδχΞ • iOS(ωΠςΟϒ) • Android(ωΠςΟϒগʑ) •
σʔλੳ(Python,AWS)
͜Ε·Ͱʹ࡞ͬͨͷ w 4ZOBQTF w ΦϯϥΠϯαϩϯ w HBNCB w ใڞ༗4/4 w
"&%Ϛοϓਆށ w σʔλੳຊ ͦͷ΄͔ଟ
–μʔΟϯ l།Ұੜ͖ΔͷɺมԽͰ͖ΔऀͰ͋Δz ͜Ε͔ΒϋΠϒϦου
2VJDL1BZNP
1BZNP ϑϦʔϥϯαʔͷͨΊͷ λΠϜτϥοΩϯάαʔϏε w 8FC"1*͕༻ҙ͞Ε͍ͯΔ
2VJDL1BZNP w ඪ४ͷΟδΣοτ͍ͮ Β͍ w "1*͕͋ΔͷͰ࡞Ζ͏ w 0OTFO6*ʴ"OHVMBS+4 w .POBDBڥͰͬ͘͞ͱ࡞
ˠιʔείʔυΛFMFDUSPOڥ
1BZNPͷ$&0ʹԠ ͯ͠Βͬͨ
ײ ࣮༻ܥΞϓϦʹ͋Γ͕ͪͳ • Web APIͰใऔಘ • ϦετʢςʔϒϧϏϡʔʣͰදࣔ • બͨ͠ΓɺϑΥʔϜೖྗͨ͠Γͯ͠σʔλߋ৽ Έ͍ͨͳ༻్ͳΒे͍͚Δ
• ωΠςΟϒͷ →ࢼߦࡨޡࠐΈͳͷͰɺ׳ΕͨΒͬͱॖग़དྷͦ͏
ͱ͍͑
͍׳ΕͨˎˎݴޠͰεϚʔ τϑΥϯΞϓϦ͕࡞Ε·͢ $ 3VCZ +4
͜͏͍͏ସతͳ ϓϩμΫτͬͯ
࠷ޙͷ࠷ޙͰ ʮʙ͕ग़དྷͳ͍ɺ٧Μͩʂʯ ͬͯͳΔͷා͘ͳ͍Ͱ͔͢
స͵ઌͷ伺 ͱͯ͠ͷ ωΠςΟϒ࿈ܞ
ࣗͷϒϩά ʮΆΜΆ͜هʯ w 8FC7JFXͰͷϢʔβૢ࡞Λ ωΠςΟϒଆͰݕ͢Δٕज़ Λհ w ݸਓతʹ͋·ΓχʔζΛײ ͯ͡ͳ͔ͬͨ
શPVͷ͕ۙ͘WebView࿈ܞʹ͍ͭͯͷ هࣄ ͳ͔ͥਓؾهࣄ
iOSͷ̏ͭͷWebView • UIWebView • WKWebView • Safari View Controller
UIWebView • iOS࠷ॳظ(iPhone OS 2.0)͔Βଘࡏ • ωοτ্ͷϊϋ๛ • cordova iOS൛༻
WKWebView • iOS 8.0Ͱొ • ύϑΥʔϚϯε্ • ϚϧνίΞରԠ • JSΤϯδϯ
• ͖Ίࡉ͔ͳϖʔδભҠ੍ޚ
SFSafariViewController • pros • safariͷػೳΛ·Μ·Έ ࠐΊΔ • cookieڞ༗ • ίϯςϯτϒϩοΫ
• Ϧʔμʔ • cons • iOS9.0Ҏ߱ • શը໘ද͔ࣔ͠ग़དྷͳ͍ • ϔομʔͦͷ·· • Ϣʔβͷૢ࡞΄ͱΜͲ ݕͰ͖ͳ͍
UIWebView WKWebView 4'4BGBSJ7JFX$POUSPMMFS
4BGBSJ7JFX$POUSPMMFS ͷ͍Ͳ͜Ζʁ • cookieͷγΣΞ • ैདྷsafariىಈ͍ͯͨ͠Ϣʔεέʔε • OAuthೝূͷτʔΫϯΛಘΔ߹ʁ • Ϣʔβ͕ʮด͡Δʯૢ࡞͕ඞཁͳͷ
Ͱඍົ͔ʢͷ༨͋Δͣʣ
ԿΛ͔͍͍ͭ͑ͷʁ • جຊతʹ͏WKWebViewͰ͍͍ͷͰ • ͨͩWebը໘Λग़͍͚͚ͨͩͩ͠Ͳɺ Safariىಈͤͨ͘͞ͳ͍߹ →Safari View Controller
IUUQQPOQPLPIBUFOBCMPHDPN