question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AMP Social Share iOS 11 Mobile Safari issue

See original GitHub issue

On Mobile Safari, on iOS 11.x the amp social share buttons don’t appear, this bug doesn’t occur in other iOS browsers. This is the page: https://kpiinstitute.org/wp-content/themes/cast/amp/page-certified-kpi-professional-practitioner-dubai.html And here is a screenshot of the issue on iPhone SE running iOS 11.2 and Mobile Safari: http://i65.tinypic.com/2ufugap.jpg Another screenshot but this time on Firefox for iOS where the bug doesn’t occur: http://i67.tinypic.com/dwf3ax.jpg

In <head/> I have included the needed JS: <script async src="https://cdn.ampproject.org/v0.js"></script> <script async custom-element="amp-social-share" src="https://cdn.ampproject.org/v0/amp-social-share-0.1.js"></script>

And here is the code for the social buttons: <div class="sticky-social"> <div class="facebook"> <amp-social-share type="facebook" data-param-app_id="254325784911610"></amp-social-share> </div> <div class="twitter"> <amp-social-share type="twitter"></amp-social-share> </div> <div class="linkedin"> <amp-social-share type="linkedin"></amp-social-share> </div> <div class="gplus"> <amp-social-share type="gplus"></amp-social-share> </div> </div>

What can I do or how can this be fixed? Thank you!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
aghassemicommented, Jan 19, 2018

Looks like an SVG rendering issue. We may need to tweak our SVG… ugh SVG! 😃

0reactions
nainarcommented, Jul 16, 2018

Closing this isse as per last comments

Read more comments on GitHub >

github_iconTop Results From Across the Web

Safari in iOS 11 converts Google's AMP links back ... - 9to5Mac
Apple is now addressing the second issue in iOS 11 by having Safari convert AMP links back into the original URLs when shared...
Read more >
In iOS 11, Safari will strip out Google AMP links ... - TechCrunch
... will be relieved to hear that iOS 11 will transform Google AMP links back into their original forms when sharing a story...
Read more >
Will iOS 11 help solve Google's AMP (Accelerated Mobile ...
Tests using Safari on iOS 11 beta 7 show URLs are converted back to original when saving or sharing to apps via Share...
Read more >
Google bug prevents AMP pages from appearing in Safari on ...
First discovered by developer Jeff Johnson, Google seemingly stopped providing AMP links in search results originating from Safari on iOS 15 and ...
Read more >
iOS 11 Safari will turn Google AMP links back into ... - The Verge
Apple is adding a subtle new feature to Safari in iOS 11 that will automatically strip out Google AMP URLs when a webpage...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found