nordnet / cordova-universal-links-plugin

[DEPRECATED] - Cordova plugin to support Universal/Deep Links for iOS/Android.
https://github.com/nordnet/cordova-universal-links-plugin/issues/160
MIT License
349 stars 529 forks source link

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

Closed kristfal closed 5 years ago

kristfal commented 8 years ago

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 commented 8 years ago

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

nordnet-deprecation-bot commented 5 years ago

👋 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.