You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/08/10 22:39:54 UTC

[GitHub] [cordova-plugin-inappbrowser] isaacsuazo7 commented on issue #844: inappbrowser app://close is not working on iOS

isaacsuazo7 commented on issue #844:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/844#issuecomment-1211355629

   **IONIC CORDOVA**
   
   For some reason iOS does not close the instance of InAppBrowser when the instance is hide(), so the alternatives are to initialize it as hidden or show it with show() before closing the instance.
   
   Example:
   _const iab: InAppBrowser;
   const browser = this.iab.create('https://ionicframework.com/', '_blank', {hidden: 'false'});
   browser.close();_
   
   **Or you initialize hidden**
   _const browser = this.iab.create('https://ionicframework.com/', '_blank', {hidden: 'true'});
   browser.show();
   browser.close();_
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org