From e15c0161650c30d3365de808da1bc047196c2fcb Mon Sep 17 00:00:00 2001 From: Ivar Derksen Date: Fri, 11 Jun 2021 12:22:22 +0200 Subject: [PATCH] Fix: remove invalid fallback URL to solve issues on Firefox for Android --- src/keyshare.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/keyshare.js b/src/keyshare.js index 1ea9b97..4940d40 100644 --- a/src/keyshare.js +++ b/src/keyshare.js @@ -43,8 +43,7 @@ $.getScript("./config.js", function() { if (userAgent === "Android") { // Universal links are not stable in Android webviews and custom tabs, so always use intent links. let intent = `Intent;package=org.irmacard.cardemu;scheme=irma;l.timestamp=${Date.now()}`; - let fallback = `S.browser_fallback_url=${encodeURIComponent(universalLink)}`; - returnButton.attr("href", `intent://#${intent};${fallback};end`); + returnButton.attr("href", `intent://#${intent};end`); } else { returnButton.attr("href", universalLink); }