When I use deeplink in mobile chrome broswer,
Even though there's a phantom app installed on my mobile, Occasionally, it will be taken to the app installation page.
how to fix it?
- code
function build_url(path: string, params: URLSearchParams) {
return `https://phantom.app/ul/v1/${path}?${params.toString()}`;
}
const params = new URLSearchParams({
dapp_encryption_public_key,
cluster: "devnet",
app_url: "https://phantom.app",
redirect_link, // redirect to my server
});
const uri = build_url("signTransaction", params);
window.open(uri);
- screenshot
- Device info
Galaxy21 5G SM-G991N G991NKSS3CVI3 / G991NOKR3CVI3 / G991NKOU3CVH1
Android version : 12
Phantom App version : 22.09.06
Chrome version : 105.0.5195.136