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

Look Back Over Deep Links

Look Back Over Deep Links

Look Back Over Deep Links - The state of Deep Links 2023 Early

Shibuya.apk #42 https://shibuya-apk.connpass.com/event/283427/ の発表資料です。

Avatar for Matsuda Jumpei

Matsuda Jumpei

May 26, 2023
Tweet

More Decks by Matsuda Jumpei

Other Decks in Programming

Transcript

  1. ಥવͷ'JSFCBTF%ZOBNJD-JOLTҾୀએݴ w (PPHMF*0Ͱ%ZOBNJD-JOLTͷ୅ସػೳͷൃද͸ͳ͔ͬͨ w 2  ຤ʹ৽ͨͳ৘ใ͕߱ͬͯ͘Δ༧ఆ w ࠓͷΞφ΢ϯεΛ৴͡ΔͳΒ͋ͱϲ݄͸࢖͑ΔΑ͏͚ͩͲɾɾɾ 

    w %FFQ-JOLTͷ࢓૊ΈΛཧղ͢ΔͳΒࠓͷ͏ͪ w ࠷ۙͷηογϣϯ͸ʮ%FFQ-JOLTͱ͍͑͹"QQ-JOLTʯͰ࿩͕ਐΉ w %FFQ-JOLT㱩"QQ-JOLTͰ͋Γɺ"QQ-JOLT͕ͳͥྑ͍͔Λཧղ͢Δ 11
  2. %FFQ-JOLTͷͨΊͷ*OUFOU'JMUFSೖ໳ w ෳ਺ͷΞϓϦ͕ಉ͡63-Λ։͘*OUFOU'JMUFSΛઃఆͰ͖ͯ͠·͏ w ͋Δ63-ΛTFBNMFTTʹ։͚ΔΞϓϦ EFGBVMUIBOEMFS ͸͚ͨͩͭͩ w ࣗ෼ͷΞϓϦ͕EFGBVMUIBOEMFSˠTFBNMFTTʹ։͚Δ w

    ผͷΞϓϦ͕EFGBVMUIBOEMFSˠผΞϓϦ͕։͘ ݕ஌ෆՄ  w EFGBVMUIBOEMFS͕ઃఆ͞Εͯͳ͍ˠબ୒μΠΞϩά͕දࣔ͞ΕΔ w ѱҙ͋Δୈࡾऀ͕͍ͳͯ͘΋؇͗͢Δ*OUFOU'JMUFSʹ͢΂͖Ͱͳ͍ w EFGBVMUIBOEMFSͷઃఆ͠௚͠͸தʑʹେม 15
  3. 17 w ݱࡏɺશͯͷ"1*Ͱಈ࡞͢Δ w υϝΠϯݕূʹ४ͣΔ࢓૊Έ͕ͳ͍ w ೚ҙͷΞϓϦ͕ϋΠδϟοΫՄೳ w ΠϯετʔϧࡁΈΞϓϦ͕ඞਢ w

    🙅ϒϥ΢βͰ΋։͚ͳ͍ $VTUPN63-4DIFNF Ϣʔβʔ͕ࣗ༝ʹఆٛͨ͠εΩʔϜͷURL <any scheme>://<host>[:<port>][/<path>] e.g. custom://shibuya.apk/42
  4. 18 http[s]://<veri fi ed host>[:<port>][/<path>] e.g. https://shibuya-apk.test:42/red_fat_daruma w "OESPJEҎ্Ͱར༻Մೳ w

    Πϯετʔϧ࣌ʹEFGBVMUIBOEMFSԽ w υϝΠϯݕূ͕ඞਢ w ϋΠδϟοΫʹରͯ͠ڧ͍ w 8FCΛ࢖ͬͨϑΥʔϧόοΫ͕Մೳ "OESPJE"QQ-JOLT υϝΠϯݕূࡁΈ(= ॴ༗ऀ֬ೝࡁΈ)ͷhttp/https URL
  5. http[s]://<any host>[:<port>][/<path>] e.g. shibuya-apk.test:42/red_fat_daruma 8FC-JOLT υϝΠϯݕূΛ͍ͯ͠ͳ͍http/https URL w "QQ-JOLTҎ֎ͷIUUQIUUQT63- w

    "OESPJE͔Βϒϥ΢βىಈ͕֬ఆ w ͦΕະຬͩͱબ୒μΠΞϩά͕ग़Δ w 8FCΛ࢖ͬͨϑΥʔϧόοΫ͕Մೳ 19
  6. Ͳͷ%FFQ-JOLTΛબͿ΂͖͔ w υϝΠϯݕূ͕ඞਢͳ"QQ-JOLTҰ୒ J04Ͱ͸6OJWFSTBM-JOLT  w ͨͩ͠"OESPJEະຬͰ͸8FC-JOLTʹͳΔ͜ͱΛߟྀ͢Δ w $VTUPN63-4DIFNF͸ηΩϡϦςΟӠʑҎલʹ࢖͍উख͕ѱ͍ w

    ϑΥʔϧόοΫͮ͠Β͍ɺϝοηʔδΞϓϦ౳Ͱ$MJDLBCMFʹͳΒͳ͍FUD w ಛघTDIFNF͸Ұ෦ͷ༻్Ͱ࢖͏৔߹͕͋Δ w JOUFOUTDIFNF04Ͱ͸ͳ͘$ISPNFͷ࢓༷ ֤छϒϥ΢β͸௥ै  w BOESPJEBQQTDIFNF"1*͔Βग़ͨJOUFOUTDIFNFͷछ w DPOUFOUTDIFNF$POUFOU1SPWJEFSͷ63-TDIFNF 20
  7. "QQ-JOLTͷͨΊͷઃఆΞϓϦଆ w JOUFOU fi MUFSBVUP7FSJGZUSVFΛઃఆ͢Δ w IUUQIUUQT EBUBTDIFNF ͱॴ༗υϝΠϯ EBUBIPTU

    Λઃఆ͢Δ w ΞϓϦͷॺ໊৘ใΛूΊ͓ͯ͘ w ຊ൪͸΋ͪΖΜɺ։ൃ൛΋ඞཁʹͳΔ w ಛʹ'JSFCBTF"QQ%JTUSJCVUJPO΍%FQMPZ(BUFΛར༻͍ͯ͠Δ৔߹ʹ஫ҙ 21
  8. "QQ-JOLTͷ֬ೝํ๏ࠓ·Ͱ w "OESPJE "1* Ҏ্͕λʔήοτ4%,ͷͱ͖ w "%#ʹΑΔखಈ֬ೝ ઐ༻ίϚϯυ ͕Մೳ w

    ͦΕະຬͷͱ͖ w *OUFOU΍ϦϯΫΛ࣮ࡍʹ౿ΜͰνΣοΫ͢Δ 23 https://developer.android.com/training/app-links/verify-android-applinks
  9. ·ͱΊ w υϝΠϯݕূ͕ඞਢͳ"QQ-JOLTΛ࢖͏ J04Ͱ͸6OJWFSTBM-JOLT  w ಈ࡞ݕূʹ͸"%#΍1MBZ$POTPMFɺ(PPHMF"ETͷػೳ͕࢖͑Δ w 04όʔδϣϯʹΑΔಈ࡞ࠩҟ͕͋ΔͷͰؾΛ͚ͭΑ͏ w

    "OESPJEະຬ͸੾Δ8FC-JOLTΛߟྀ͢Δ w $VTUPN63-4DIFNF͸"QQ-JOLTʹҠߦ͢Δ w 'JSFCBTF%ZOBNJD-JOLT͠Εͬͱੜ͖࢒ͬͯ͘ΕཔΉ 27