アプリストアにリダイレクトありません-site会合-unsigned.txtファイルとファイル内容ユニバーサルリンクは、私はconfiguration.Firstly私はステップをサーバ側で設定を行っている、両方の側でIOSのための9のデバイスをセットアップユニバーサルリンクを実装しようとしています
{
"activitycontinuation": {
"apps": [
"9JA89QQLNQ.com.apple.wwdc"
]
},
"applinks": {
"apps": [],
"details": [
{
"appID":"9JA89QQLNQ.com.apple.wwdc",
"paths": [
"*",
"/"
]
}
]
}
}
ある
猫リンゴアプリサイト - 関連-unsigned.txtを使用して、上記のファイルに署名2.Did |それが署名した上で作成されたOpenSSL SMIME -sign -inkey demo.key -signer demo.crt -certfile demo.pem -noattr -nodetach -outform DER> リンゴアプリサイト会合
3.thenファイルie apple-app-site-association
4.このファイルを自分の証明書が利用できるルートサーバーに移動しました。私は普遍的にコピーした場合https://domain.com:8443/apple-app-site-association
7.Myアプリ、デバイスにインストールされていない - は:Node.jsの
var https = require('https');
var fs=require('fs');
var express = require('express');
var privateKey = fs.readFileSync(home_path + 'src/Server/API/demo.key', 'utf8');
var certificate = fs.readFileSync(home_path + 'src/Server/API/demo.crt', 'utf8');
var credentials = {key: privateKey, cert: certificate};
var app = express();
var httpsServer = https.createServer(credentials, app);
httpsServer.listen(8443);
console.log('deeplink service listening on port 3501');
var aasa = fs.readFileSync('./apple-app-site-association');
app.get('/apple-app-site-association', function(req, res, next) {
console.log("Request landed on 8443 port.");
res.set('content-type', 'application/pkcs7-mime');
res.status(200).send(aasa);
});
6.thenは私のエンドポイントであると
5.created一方のエンドポイントつまり、Ios 9 Safariブラウザのhttps://domain.com:8443/apple-app-site-associationでは、ダウンロードするapple-app-site-associationファイルが表示されているのではなく、App Storeにリダイレクトされていません。
注:サーバー側の設定のみを行ったので、インストールされていないアプリがアプリストアにリダイレクトされるようにしました。
私はどこが間違っていますか?
ユニバーサルリンクがサーバーに接続したか、 'get'リクエストを送信せずにアプリケーションを開くのか知っていますか? https://stackoverflow.com/q/45722140/4228969 Ps、将来的にはブランチを検討して、リンクに関する分析を行うことができます。 – toddg
アプリがインストールされている場合、Universal Linksはアプリを開く前にサーバーにヒットしません。それは即座です。そのため、トラッキングを行うにはブランチのようなものが必要です。 –
ありがとう、ありがとう。それは本当に役に立ちます。リンクされた質問に回答したいのですか? – toddg