ã¹ããŒããã©ã³ã®æ®åã«äŒŽããå€ãã®äŒæ¥ãWebãµã€ãã ãã§ãªãã¢ããªãæäŸããããã«ãªããŸããããããããŠãŒã¶ãŒãWebãµã€ããšã¢ããªãè¡ãæ¥ããéã«ã¯ãå©äŸ¿æ§ããŠãŒã¶ãŒãšã¯ã¹ããªãšã³ã¹ã®é¢ã§èª²é¡ããããŸããããã®åé¡ã解決ããããã«ãAppleãæäŸããŠããã®ããŠãããŒãµã«ãªã³ã¯ã§ããæ¬èšäºã§ã¯ããŠãããŒãµã«ãªã³ã¯ã®æŠèŠãä»çµã¿ãã¡ãªãããšãã¡ãªããã«ã€ããŠè©³ãã解説ããŸãããŠãããŒãµã«ãªã³ã¯ãå°å ¥ããããšã§ãWebãµã€ããšã¢ããªã®ã·ãŒã ã¬ã¹ãªé£æºãå¯èœãšãªãããŠãŒã¶ãŒäœéšã®åäžãšã¢ããªã®å©çšä¿é²ã«ã€ãªãããŸããã¢ããªéçºè ãããŒã±ã¿ãŒã®æ¹ã¯ããã²ãŠãããŒãµã«ãªã³ã¯ã®æŽ»çšãæ€èšããŠã¿ãŠãã ããã
ãŠãããŒãµã«ãªã³ã¯ãšã¯
ãŠãããŒãµã«ãªã³ã¯ãšã¯ãAppleãæäŸããŠããæ©èœã®äžã€ã§ãiOSããã€ã¹äžã§Webãµã€ãã®ãªã³ã¯ãã¯ãªãã¯ããéã«ã察å¿ããã¢ããªãã€ã³ã¹ããŒã«ãããŠããã°èªåçã«ãã®ã¢ããªãèµ·åãããä»çµã¿ã§ããåŸæ¥ã®ãã£ãŒããªã³ã¯ãšç°ãªããã¢ããªã®ã€ã³ã¹ããŒã«ãäžèŠãªç¹ã倧ããªç¹åŸŽãšãªã£ãŠããŸããæ¬èšäºã§ã¯ããŠãããŒãµã«ãªã³ã¯ã®æŠèŠãç¹åŸŽããã£ãŒããªã³ã¯ãšã®éãã«ã€ããŠè©³ãã解説ããŠãããŸãã
ãŠãããŒãµã«ãªã³ã¯ã®æŠèŠ
ãŠãããŒãµã«ãªã³ã¯ã¯ãiOS 9以éã®iOSããã€ã¹ã§å©çšå¯èœãªæ©èœã§ããWebãµã€ããšã¢ããªãé£æºãããããšã§ããŠãŒã¶ãŒãWebãµã€ãäžã®ãªã³ã¯ãã¯ãªãã¯ããéã«ãã·ãŒã ã¬ã¹ã«ã¢ããªãèµ·åãããããšãã§ããŸããããã«ããããŠãŒã¶ãŒã¯ã¢ããªã®ã€ã³ã¹ããŒã«ãæèããããšãªããã¹ã ãŒãºã«ã¢ããªã®ç¹å®ã®ããŒãžã«ã¢ã¯ã»ã¹ã§ããããã«ãªããŸãã
ãŠãããŒãµã«ãªã³ã¯ãå°å ¥ããã«ã¯ã以äžã®æé ãå¿ èŠã§ãã
- Webãµã€ãã®ãã¡ã€ã³ãšã¢ããªãé¢é£ä»ããèšå®ãã¡ã€ã«ïŒapple-app-site-associationïŒãäœæããWebãµã€ãã®ã«ãŒããã£ã¬ã¯ããªã«é 眮ããã
- ã¢ããªåŽã§ãŠãããŒãµã«ãªã³ã¯ã«å¯Ÿå¿ããããã®èšå®ãè¡ãã
- ã¢ããªãApp Storeã«æåºãã審æ»ãééãããã
ãããã®èšå®ãå®äºãããšããŠãŒã¶ãŒãWebãµã€ãäžã®ãŠãããŒãµã«ãªã³ã¯ãã¯ãªãã¯ããéã«ã察å¿ããã¢ããªãèµ·åããããã«ãªããŸãã
ãŠãããŒãµã«ãªã³ã¯ã®ç¹åŸŽ
ãŠãããŒãµã«ãªã³ã¯ã«ã¯ã以äžã®ãããªç¹åŸŽããããŸãã
- ã¢ããªã®ã€ã³ã¹ããŒã«ãäžèŠïŒãŠãããŒãµã«ãªã³ã¯ã¯ãã¢ããªãã€ã³ã¹ããŒã«ãããŠããªããŠãWebãµã€ãã®ãªã³ã¯ããçŽæ¥ã¢ããªãèµ·åã§ããŸããããã«ããããŠãŒã¶ãŒã«ã¢ããªã®ã€ã³ã¹ããŒã«ãä¿ãå¿ èŠããªããªããŸãã
- ã»ãã¥ã¢ãªé£æºïŒãŠãããŒãµã«ãªã³ã¯ã¯ãHTTPSã§æäŸãããWebãµã€ããšã¢ããªã®éã§å®å šã«é£æºãè¡ãããŸããããã«ãããæªæã®ãããªã³ã¯ã«ããã¢ããªã®äžæ£ãªèµ·åãé²ãããšãã§ããŸãã
- ã¢ããªã®å©çšä¿é²ïŒãŠãããŒãµã«ãªã³ã¯ãå°å ¥ããããšã§ãWebãµã€ãããã¢ããªãžã®ã¹ã ãŒãºãªèªå°ãå¯èœãšãªããã¢ããªã®å©çšä¿é²ã«ã€ãªãããŸãã
- ãŠãŒã¶ãŒãšã¯ã¹ããªãšã³ã¹ã®åäžïŒãŠãããŒãµã«ãªã³ã¯ã䜿çšããããšã§ããŠãŒã¶ãŒã¯Webãµã€ããšã¢ããªãã·ãŒã ã¬ã¹ã«è¡ãæ¥ã§ããããã«ãªããå©äŸ¿æ§ãé«ãŸããŸãã
ãŠãããŒãµã«ãªã³ã¯ãšãã£ãŒããªã³ã¯ã®éã
ãŠãããŒãµã«ãªã³ã¯ãšäŒŒãæ©èœãšããŠãã£ãŒããªã³ã¯ããããŸãããäž¡è ã«ã¯ä»¥äžã®ãããªéãããããŸãã
ãŠãããŒãµã«ãªã³ã¯ | ãã£ãŒããªã³ã¯ | |
---|---|---|
ã¢ããªã®ã€ã³ã¹ããŒã« | äžèŠ | å¿ èŠ |
ãªã³ã¯ã®åœ¢åŒ | éåžžã®HTTPSãªã³ã¯ | ã«ã¹ã¿ã URLã¹ããŒã |
ã»ãã¥ãªã㣠| é«ã | äœã |
察å¿OS | iOS 9以é | iOS, Android |
ãã£ãŒããªã³ã¯ã¯ãã¢ããªåºæã®ã«ã¹ã¿ã URLã¹ããŒã ã䜿çšããŠã¢ããªãèµ·åããææ³ã§ãããŠãŒã¶ãŒããªã³ã¯ãã¯ãªãã¯ããéã«ã察å¿ããã¢ããªãã€ã³ã¹ããŒã«ãããŠããã°ããã®ã¢ããªãèµ·åããç¹å®ã®ããŒãžã衚瀺ã§ããŸãããããããã£ãŒããªã³ã¯ã¯ã«ã¹ã¿ã URLã¹ããŒã ã䜿çšãããããã»ãã¥ãªãã£é¢ã§è匱æ§ããããã¢ããªã®ã€ã³ã¹ããŒã«ãå¿ é ãšãªããŸãã
äžæ¹ããŠãããŒãµã«ãªã³ã¯ã¯éåžžã®HTTPSãªã³ã¯ã䜿çšããã¢ããªã®ã€ã³ã¹ããŒã«ãäžèŠã§ããããããŠãŒã¶ãŒã«ãšã£ãŠå©äŸ¿æ§ãé«ããã»ãã¥ãªãã£é¢ã§ãåªããŠããŸãããã ãããŠãããŒãµã«ãªã³ã¯ã¯iOS 9以éã®ããã€ã¹ã§ã®ã¿å©çšå¯èœã§ããã®ã«å¯Ÿãããã£ãŒããªã³ã¯ã¯iOSãšAndroidã®äž¡æ¹ã§å©çšã§ãããšããéãããããŸãã
以äžã®ããã«ããŠãããŒãµã«ãªã³ã¯ã¯iOSã¢ããªãšWebãµã€ããé£æºãããããã®åŒ·åãªæ©èœã§ããããŠãŒã¶ãŒãšã¯ã¹ããªãšã³ã¹ã®åäžãšã¢ããªã®å©çšä¿é²ã«å€§ããè²¢ç®ããŸããã¢ããªéçºè ã«ãšã£ãŠã¯ããŠãããŒãµã«ãªã³ã¯ã®å°å ¥ãæ€èšããããšã§ãã¢ããªãšWebãµã€ãã®ã·ãŒã ã¬ã¹ãªé£æºãå®çŸãããŠãŒã¶ãŒã«ããè¯ããµãŒãã¹ãæäŸããããšãã§ããã§ãããã
ãŠãããŒãµã«ãªã³ã¯ã®ä»çµã¿
ãŠãããŒãµã«ãªã³ã¯ã¯ãAppleãiOSããã€ã¹äžã§Webãµã€ããšã¢ããªãé£æºãããããã«æäŸããŠããæ©èœã§ãããã®ä»çµã¿ã«ããããŠãŒã¶ãŒã¯Webãµã€ãäžã®ãªã³ã¯ãã¯ãªãã¯ããã ãã§ãã·ãŒã ã¬ã¹ã«ã¢ããªã®ç¹å®ã®ããŒãžãéãããšãã§ããŸããããã§ã¯ããŠãããŒãµã«ãªã³ã¯ã®èšå®æ¹æ³ãAppleã®ã¢ããªé£æºã®ä»çµã¿ããããŠãŠãããŒãµã«ãªã³ã¯ã®åäœãããŒã«ã€ããŠè©³ãã解説ããŠãããŸãã
ãŠãããŒãµã«ãªã³ã¯ã®èšå®æ¹æ³
ãŠãããŒãµã«ãªã³ã¯ãå©çšããã«ã¯ã以äžã®æé ãå¿ èŠã§ãã
- Webãµã€ãã®ãã¡ã€ã³ãšã¢ããªãé¢é£ä»ããèšå®ãã¡ã€ã«ïŒapple-app-site-associationïŒãäœæããŸãããã®ãã¡ã€ã«ã«ã¯ãã¢ããªã®ãã³ãã«IDãšã¢ããªãåŠçã§ãããã¹ãèšè¿°ããŸãã
- äœæããèšå®ãã¡ã€ã«ãWebãµã€ãã®ã«ãŒããã£ã¬ã¯ããªããŸãã¯/.well-known/ãã£ã¬ã¯ããªã«é 眮ããŸãããã¡ã€ã«ã¯SSL蚌ææžã§ä¿è·ãããHTTPSçµç±ã§æäŸããå¿ èŠããããŸãã
- ã¢ããªåŽã§ãŠãããŒãµã«ãªã³ã¯ãåŠçããããã®ã³ãŒããå®è£ ããŸããã¢ããªã®Xcodeãããžã§ã¯ãã«ãããŠãAssociated Domainsãæå¹ã«ããWebãµã€ãã®ãã¡ã€ã³ãç»é²ããŸãã
- ã¢ããªãApp Storeã«æåºãã審æ»ãééãããŸãã
ãããã®èšå®ãå®äºãããšãiOSããã€ã¹äžã§Webãµã€ãã®ãªã³ã¯ãã¯ãªãã¯ããéã«ã察å¿ããã¢ããªãèµ·åããããã«ãªããŸãã
Appleã®ã¢ããªé£æºã®ä»çµã¿
Appleã¯ãiOSããã€ã¹ãšã¢ããªã®é£æºã匷åããããã«ãæ§ã ãªæè¡ãæäŸããŠããŸãããŠãããŒãµã«ãªã³ã¯ããã®äžã€ã§ãããä»ã«ãHandoffãSiriã®æ©èœæ¡åŒµãApp Clipsãªã©ããããŸãããããã®æè¡ã¯ããŠãŒã¶ãŒãã¢ããªã䜿çšããéã®å©äŸ¿æ§ãé«ããã·ãŒã ã¬ã¹ãªãŠãŒã¶ãŒãšã¯ã¹ããªãšã³ã¹ãå®çŸããããã«èšèšãããŠããŸãã
Appleã®ã¢ããªé£æºã®ä»çµã¿ã¯ãiOSã®ã·ã¹ãã ã¬ãã«ã§åäœããŸããäŸãã°ããŠãããŒãµã«ãªã³ã¯ã®å ŽåãiOSã¯Webãµã€ãããèšå®ãã¡ã€ã«ãååŸããã¢ããªãšã®é¢é£ä»ããèªèããŸããããã«ãããWebãµã€ãäžã®ãªã³ã¯ãã¢ããªã«é¢é£ä»ãããããã®ã§ãããšå€æãããå Žåããã®ãªã³ã¯ãã¯ãªãã¯ãããšèªåçã«ã¢ããªãèµ·åãããã®ã§ãã
ãŠãããŒãµã«ãªã³ã¯ã®åäœãããŒ
ãŠãããŒãµã«ãªã³ã¯ãåäœãããŸã§ã®ãããŒã¯ã以äžã®ããã«ãªããŸãã
- ãŠãŒã¶ãŒãiOSããã€ã¹äžã§Webãµã€ãã®ãªã³ã¯ãã¯ãªãã¯ããŸãã
- iOSã·ã¹ãã ããªã³ã¯ã®URLã解æãããã®URLããŠãããŒãµã«ãªã³ã¯ã«é¢é£ä»ããããŠãããã©ãããå€æããŸãã
- URLããŠãããŒãµã«ãªã³ã¯ã«é¢é£ä»ããããŠããå ŽåãiOSã¯ã¢ããªãããã€ã¹ã«ã€ã³ã¹ããŒã«ãããŠãããã©ããã確èªããŸãã
- ã¢ããªãã€ã³ã¹ããŒã«ãããŠããå ŽåãiOSã¯ã¢ããªãèµ·åãããªã³ã¯ã«é¢é£ä»ããããã¢ããªå ã®ç¹å®ã®ããŒãžãéããŸãã
- ã¢ããªãã€ã³ã¹ããŒã«ãããŠããªãå ŽåãiOSã¯Webãµã€ãã®ãªã³ã¯å ã®ããŒãžãSafariã§éããŸãã
ãã®åäœãããŒã«ããããŠãŒã¶ãŒã¯Webãµã€ããšã¢ããªãã·ãŒã ã¬ã¹ã«è¡ãæ¥ããããšãã§ããŸããã¢ããªã®ã€ã³ã¹ããŒã«ãäžèŠã§ããããããŠãŒã¶ãŒã«ãšã£ãŠå©äŸ¿æ§ãé«ããã¢ããªã®å©çšä¿é²ã«ãã€ãªãããŸãã
ãŠãããŒãµã«ãªã³ã¯ã¯ãiOSã¢ããªãšWebãµã€ãã®é£æºã匷åããããã«éåžžã«æå¹ãªæ©èœã§ããã¢ããªéçºè ã¯ããŠãããŒãµã«ãªã³ã¯ã®èšå®ãé©åã«è¡ãããšã§ããŠãŒã¶ãŒã«ãšã£ãŠããè¯ããŠãŒã¶ãŒãšã¯ã¹ããªãšã³ã¹ãæäŸããããšãã§ããã§ããããåæã«ãããžãã¹ã®èŠ³ç¹ãããããŠãããŒãµã«ãªã³ã¯ã¯ã¢ããªã®å©çšçãåäžããã顧客ãšã³ã²ãŒãžã¡ã³ããé«ããããã®éèŠãªæ段ãšãªããŸãã
ãŠãããŒãµã«ãªã³ã¯ã®ã¡ãªãããšãã¡ãªãã
ãŠãããŒãµã«ãªã³ã¯ã¯ãiOSããã€ã¹ã§Webãµã€ããšã¢ããªãã·ãŒã ã¬ã¹ã«é£æºãããæ©èœã§ããããŠãŒã¶ãŒã«ãšã£ãŠå©äŸ¿æ§ãé«ããã¢ããªã®å©çšä¿é²ã«ãå¹æçã§ããããã§ã¯ããŠãããŒãµã«ãªã³ã¯ã®ã¡ãªãããšãã¡ãªããããããŠå°å ¥æã®æ³šæç¹ã«ã€ããŠè©³ãã解説ããŸãã
ãŠãŒã¶ãŒäœéšã®åäž
ãŠãããŒãµã«ãªã³ã¯ã®æ倧ã®ã¡ãªããã¯ããŠãŒã¶ãŒãšã¯ã¹ããªãšã³ã¹ã®åäžã§ãããŠãŒã¶ãŒã¯Webãµã€ãäžã®ãªã³ã¯ãã¯ãªãã¯ããã ãã§ãã·ãŒã ã¬ã¹ã«ã¢ããªã®ç¹å®ã®ããŒãžãéãããšãã§ããŸããã¢ããªã®ã€ã³ã¹ããŒã«ãäžèŠã§ããããããŠãŒã¶ãŒã«ãšã£ãŠéåžžã«äŸ¿å©ã§ãã¹ãã¬ã¹ããªãŒãªã¢ããªäœéšãæäŸã§ããŸãã
äŸãã°ãECãµã€ãã®ã¢ããªãæã€äŒæ¥ããŠãããŒãµã«ãªã³ã¯ãå°å ¥ããå ŽåããŠãŒã¶ãŒã¯Webãµã€ãäžã®ååããŒãžã®ãªã³ã¯ãã¯ãªãã¯ããã ãã§ãã¢ããªã®è©²åœååããŒãžã«çŽæ¥ã¢ã¯ã»ã¹ã§ããŸããããã«ããããŠãŒã¶ãŒã¯ååã®è©³çŽ°æ å ±ã確èªããããã¢ããªå ã®æ±ºæžæ©èœãå©çšããŠè¿ éã«è³Œå ¥ãããããããšãã§ããå©äŸ¿æ§ãå€§å¹ ã«åäžããŸãã
ã¢ããªã®å©çšçã¢ãã
ãŠãããŒãµã«ãªã³ã¯ã®ããäžã€ã®å€§ããªã¡ãªããã¯ãã¢ããªã®å©çšçåäžã§ãããŠãŒã¶ãŒãWebãµã€ãããã¢ããªãžãšã·ãŒã ã¬ã¹ã«ç§»åã§ãããããèªç¶ãšã¢ããªã®å©çšæ©äŒãå¢å ããŸããç¹ã«ãã¢ããªã®ã€ã³ã¹ããŒã«çãäœãå Žåããã¢ããªã®èªç¥åºŠãé«ãããå Žåã«ã¯ããŠãããŒãµã«ãªã³ã¯ã®å°å ¥ãå¹æçã§ãã
ãŸãããŠãããŒãµã«ãªã³ã¯ãå©çšããããšã§ãã¢ããªå ã®ç¹å®ã®ããŒãžãžçŽæ¥ãŠãŒã¶ãŒãèªå°ã§ãããããã¢ããªå ã®ã³ã³ãã³ãããµãŒãã¹ãå¹æçã«ããã¢ãŒã·ã§ã³ããããšãå¯èœã§ããããã«ãããã¢ããªã®ãšã³ã²ãŒãžã¡ã³ããé«ãããŠãŒã¶ãŒã®ã¢ããªæ»åšæéãå¢ããããšãã§ããŸãã
ãŠãããŒãµã«ãªã³ã¯å°å ¥ã®æ³šæç¹
ãŠãããŒãµã«ãªã³ã¯ãå°å ¥ããéã«ã¯ãããã€ãã®æ³šæç¹ããããŸãã
- Webãµã€ããšã¢ããªã®é£æºïŒãŠãããŒãµã«ãªã³ã¯ãæ©èœãããããã«ã¯ãWebãµã€ããšã¢ããªã®ã³ã³ãã³ããURLã®æ§é ãé©åã«èšèšããå¿ èŠããããŸããWebãµã€ããšã¢ããªã®é£æºãäžååãªå ŽåããŠãŒã¶ãŒããªã³ã¯ãã¯ãªãã¯ããŠãã¢ããªãèµ·åããªãã£ãããæå³ããªãããŒãžã衚瀺ããããããå¯èœæ§ããããŸãã
- SSL蚌ææžã®å°å ¥ïŒãŠãããŒãµã«ãªã³ã¯ãå©çšããã«ã¯ãWebãµã€ããHTTPSïŒSSL蚌ææžïŒã§ä¿è·ãããŠããå¿ èŠããããŸããSSL蚌ææžã®å°å ¥ã«ã¯è¿œå ã®ã³ã¹ããšæéãããããããäºåã«æºåãå¿ èŠã§ãã
- ã¢ããªã®ã¢ããããŒãïŒãŠãããŒãµã«ãªã³ã¯ã®èšå®ãå€æŽããå Žåãã¢ããªã®ã¢ããããŒããå¿ èŠã«ãªããŸããã¢ããªã®ã¢ããããŒãã«ã¯å¯©æ»ããã»ã¹ã䌎ããããã¿ã€ã ãªãŒãªå¯Ÿå¿ãé£ããå ŽåããããŸãã
以äžã®ãããªæ³šæç¹ã¯ãããã®ã®ããŠãããŒãµã«ãªã³ã¯ã®ã¡ãªããã¯éåžžã«å€§ãããiOSã¢ããªãæäŸããäŒæ¥ã«ãšã£ãŠå°å ¥ãæ€èšãã䟡å€ã¯ååã«ãããšèšããŸãããŠãŒã¶ãŒäœéšã®åäžãšã¢ããªã®å©çšçã¢ãããå®çŸããããã«ããŠãããŒãµã«ãªã³ã¯ã掻çšããWebãµã€ããšã¢ããªã®ã·ãŒã ã¬ã¹ãªé£æºãå®çŸããããšãããããããŸãã
ãŠãããŒãµã«ãªã³ã¯ãšã¯ãAppleãæäŸããiOSã¢ããªãšWebãµã€ããã·ãŒã ã¬ã¹ã«é£æºãããæ©èœã§ãããŠãŒã¶ãŒãWebãµã€ãäžã®ãªã³ã¯ãã¯ãªãã¯ãããšããã®ãªã³ã¯ã«é¢é£ä»ããããã¢ããªãèªåçã«èµ·åããã¢ããªå ã®ç¹å®ã®ããŒãžã衚瀺ãããŸããã¢ããªã®ã€ã³ã¹ããŒã«ãäžèŠãªããããŠãŒã¶ãŒã«ãšã£ãŠå©äŸ¿æ§ãé«ããã¹ãã¬ã¹ããªãŒãªã¢ããªäœéšãæäŸã§ããŸãããŸãããŠãããŒãµã«ãªã³ã¯ãå°å ¥ããããšã§ãã¢ããªã®å©çšçåäžããŠãŒã¶ãŒãšã³ã²ãŒãžã¡ã³ãã®åŒ·åã«ãã€ãªãããŸãããã ããå°å ¥ã«ã¯Webãµã€ããšã¢ããªã®é©åãªé£æºèšèšãSSL蚌ææžã®å°å ¥ãªã©ã®æ³šæç¹ããããŸãã