Skip to content
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.

[DOCs] 'Open in app' banners on iOS may not always display #68

Closed
kristfal opened this issue Jun 17, 2016 · 2 comments
Closed

[DOCs] 'Open in app' banners on iOS may not always display #68

kristfal opened this issue Jun 17, 2016 · 2 comments

Comments

@kristfal
Copy link

kristfal commented Jun 17, 2016

This is a bug with the iOS 'Open in app' banners, so is not directly related to this plugin, but it should/could be mentioned in the docs to save a lot of hassle for people out there.

In some cases, the 'Open in app' banner may not show in Safari after opening a universal link pointing to a website. The banner will be present on the site, but it 'hides' underneath the URL bar, and thus is invisible to the user. This is consistently reproducible when setting the following CSS styles:

body {
      margin: 0;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      position: fixed;
}

An example of this issue may be found when opening maps.google.com in Mobile Safari. To see the 'Open in app' bar, you'll actually have to drag the search bar or tap at the top of the URL bar (as if you were scrolling to the top of the site).

A fix for this strange behavior is to call window.scrollTo(0, -100); when your site has finished loading (or at least painted the body node).

@nikDemyankov
Copy link
Member

Thanks for the info! Can you do the pull request to the readme file with this data?

@nordnet-deprecation-bot
Copy link
Contributor

👋 Hi! Thank you for your interest in this repo.

😢 We are not using nordnet/cordova-universal-links-plugin anymore, and we lack the manpower and the experience needed to maintain it. We are aware of the inconveniece that this may cause you. Feel free to use it as is, or create your own fork.

🔒 This will now be closed & locked.

ℹ️ Please see #160 for more information.

@nordnet nordnet locked and limited conversation to collaborators Sep 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants