InAppBrowserEscaper v1.0.1: Improved Instagram iOS Escape


Recently, Instagram changed something in its iOS In-app browser, and the previous way of escaping to the external browser stopped working reliably.

In v1.0.1, the library uses a different workaround for Instagram iOS.

What is it?

A lightweight TypeScript library that helps users escape from in-app browsers (Instagram, Facebook, Telegram, etc) to their default browser for a better browsing experience.

Learn More

What has been changed?

The old iOS escaping flow depended on x-safari-https:// scheme. Recently, Instagram has started blocking that route.

v1.0.1 works around it by using instagram’s own external-browser scheme (instagram://extbrowser/?url=).

And there was another catch. Instagram only accepts this handoff reliably when it happens from a user tap. So the library now combines the instagram scheme with a user touch event, instead of trying to escape automatically after page load.

Reference

https://github.com/jeonghunn/InAppBrowser-Escaper/issues/2

Leave a Reply

Your email address will not be published. Required fields are marked *