「Unity/URLからアプリ起動/iOS」の版間の差分
提供: 初心者エンジニアの簡易メモ
(ページの作成:「==iOSの場合==」) |
|||
| 行1: | 行1: | ||
==iOSの場合== | ==iOSの場合== | ||
| + | |||
| + | ===独自ドメインで、公開場所に、apple-app-site-associationファイルを用意する。 | ||
| + | 例: | ||
| + | |||
| + | ttps://yourdomain.com/.well-known/apple-app-site-association | ||
| + | |||
| + | MIME が application/json にする。 | ||
| + | |||
| + | apple-app-site-association ファイルの中身 | ||
| + | <pre> | ||
| + | { | ||
| + | "applinks": { | ||
| + | "details": [ | ||
| + | { | ||
| + | "appIDs": ["TEAMID.bundleid"], | ||
| + | "paths": [ "/invite*" ] | ||
| + | } | ||
| + | ] | ||
| + | } | ||
| + | } | ||
| + | </pre> | ||
| + | appIDsの部分の例 | ||
| + | <pre> | ||
| + | TEAMID:8VA6Uxxxxx | ||
| + | bundleid:com.example.app1 | ||
| + | appIDs:8VA6Uxxxxx.com.example.app1 | ||
| + | </pre> | ||
2025年12月5日 (金) 02:57時点における版
iOSの場合
===独自ドメインで、公開場所に、apple-app-site-associationファイルを用意する。 例:
ttps://yourdomain.com/.well-known/apple-app-site-association
MIME が application/json にする。
apple-app-site-association ファイルの中身
{
"applinks": {
"details": [
{
"appIDs": ["TEAMID.bundleid"],
"paths": [ "/invite*" ]
}
]
}
}
appIDsの部分の例
TEAMID:8VA6Uxxxxx bundleid:com.example.app1 appIDs:8VA6Uxxxxx.com.example.app1
