Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/public/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function deepLink(options) {
document.location = url;
setTimeout(function () {
document.location = fallback;
}, 250);
}, 2500);

@mderazon mderazon Mar 29, 2022

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason to increas it ?
The page is basically empty with hardly any code / html in it so it should be loaded instantly
2.5 sec is noticable

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am facing the same issue as #27.
in my case, app usually takes approx 1.5 sec to load.
When I open the app, it immediately redirects me to the app store. so I add some time to the app gets load perfectly

}

function launchIframeApproach(url, fallback) {
Expand All @@ -82,7 +82,7 @@ function deepLink(options) {
// chrome and safari on ios >= 9 don't allow the iframe approach
if (
ua.match(/CriOS/) ||
(ua.match(/Safari/) && ua.match(/Version\/(9|10|11|12)/))
(ua.match(/Safari/) && ua.match(/Version\/(9|10|11|12|13|14|15)/))
) {
launchWekitApproach(urls.deepLink, urls.iosStoreLink || urls.fallback);
} else {
Expand Down