Skip to content
This repository has been archived by the owner on Nov 10, 2020. It is now read-only.

closeInAppInstance

Matei Radu edited this page Mar 3, 2019 · 2 revisions

⚠️ This function is deprecated since release 1.4.0.

If you're still using this function, check Migrating from 1.x to 2.x in preparation for the next major release expected for June 2019.

Reference

closeInAppInstance()

Return

undefined

Description

closeInAppInstance will, you guessed it, close the currently open in-app browser instance.

This does not work on Android since Chrome Custom Tabs do not expose such functionality, effectively making this method iOS specific.

Example

import { closeInAppInstance } from "@matt-block/react-native-in-app-browser";

closeInAppInstance();