Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Tauri Mobile で生成される Android のコードを見てみる

Hiroyuki Kusu
December 22, 2022

Tauri Mobile で生成される Android のコードを見てみる

potatotips #80 ( https://potatotips.connpass.com/event/267635/ ) の資料

Hiroyuki Kusu

December 22, 2022
Tweet

More Decks by Hiroyuki Kusu

Other Decks in Technology

Transcript

  1.  ΞϧϑΝ൛ͷ Rust ͷΫϨʔτΛ༻͍Δ [build-dependencies ] tauri-build = { version

    = "2.0.0-alpha.0", features = [] } [dependencies ] serde_json = "1.0 " serde = { version = "1.0", features = ["derive"] } tauri = { version = "2.0.0-alpha.0", features = ["shell-open"] } Cargo.toml ϩʔΧϧͷ࡞ۀ؀ڥʹάϩʔόϧΠϯετʔϧ͢Δ tauri-cli ΋ 2.0.0-alpha Λ༻͍Δ
  2.  ॴײ • ͋͘·Ͱ UI ͸ WebView ϕʔε • ωΟςΟϒͷ͵Δ͵ΔײΛग़͢ͷ͸೉ͦ͠͏ʁ

    • UI Ҏ֎͸ Rust Ͱ଎͍Β͍͠ • ։ൃ͸ JavaScript ͱ Rust Ͱग़དྷΔ͕ɺϏϧυपΓ͸΍͸Γ Android/iOS ͷ஌͕ࣝඞཁ • ϚϧνϓϥοτϑΥʔϜ޲͚ͷΞϓϦέʔγϣϯɺྫ͑͹σεΫ τοϓ޲͚ͷΞϓϦέʔγϣϯͷϞόΠϧ൛Λల։͢ΔΑ͏ͳ৔ ߹ʹ͸༏Ґੑ͕͋Γͦ͏ʁ