You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "santosh nikam (JIRA)" <ji...@apache.org> on 2018/05/16 13:59:00 UTC

[jira] [Comment Edited] (CB-14087) InAppBrowser.open is getting stuck after first time use on iOS version 11.3.1

    [ https://issues.apache.org/jira/browse/CB-14087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16477466#comment-16477466 ] 

santosh nikam edited comment on CB-14087 at 5/16/18 1:58 PM:
-------------------------------------------------------------

Hello team,
 Thanks for quick reply! :)
 1. We will verify the steps provided by you in our application. 
 2. Please provide the details or steps to check the errors in application logs.
 3. We want to open our server side pages in InAppBrowser browser NOT IN webview or system browser. So, please check the behavior using the target as "_blank" at your side.

/* Start - Please refer this code */
 window.open = cordova.InAppBrowser.open;
 var ref = window.open("http://google.com",
 '_blank',
 'location=no,zoom=no,hidden=yes,clearsessioncache=no,clearcache=no,disallowoverscroll=yes');
 ref.addEventListener('loadstop', function(event)

{ ref.show(); }

);
 /* End - Please refer this code */


was (Author: santoshnikam):
Hello team,
Thanks for quick reply! :D
1. We will verify the steps provided by you in our application. 
2. Please provide the details or steps to check the errors in application logs.
3. We want to open our server side pages in InAppBrowser browser NOT IN webview or system browser. So, please check the behavior using the target as "_blank" at your side.


/* Start - Please refer this code */
window.open = cordova.InAppBrowser.open;
var ref = window.open("http://google.com",
'_blank',
'location=no,zoom=no,hidden=yes,clearsessioncache=no,clearcache=no,disallowoverscroll=yes');
ref.addEventListener('loadstop', function(event) {
ref.show();
});
/* End - Please refer this code */

> InAppBrowser.open is getting stuck after first time use on iOS version 11.3.1
> -----------------------------------------------------------------------------
>
>                 Key: CB-14087
>                 URL: https://issues.apache.org/jira/browse/CB-14087
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-inappbrowser
>    Affects Versions: cordova-ios@4.3.1
>         Environment: Apple iOS 11.3.1( Working fine on earlier versions)
> Device : iPad and iPhone
>  
>            Reporter: santosh nikam
>            Priority: Critical
>              Labels: 11.3.1, inappbrowser, ios
>
> Hello Team,
> We are India based software development company working for US customer. In our mobile application "PTOffice", we are using Cordova InAppBrowser plugin to open our external website pages. It was working fine for iOS versions lower than 11.3.*. But, now we are having issues with 11.3.1 since 24-Apr-2018.
> Issue is - InAppBrowser.open is working properly for first time. But, if we close the app (i.e. removing it from memory) and try same action, InAppBrowser.open is getting stuck and page loading is not getting completed. Only way to get it working again is log-off & restart device OR do a fresh app install again. There has been no code change and this code continues to work on older iOS versions (< 11.3.1). But, somehow problem on 11.3.1
> / We've used below code in our app to open server side page in the InAppBrowser. /
> var target = "_blank";
> var options = "location=no,toolbar=yes,zoom=no,hidden=yes";
> var ref = cordova.InAppBrowser.open(encodeURI(url), target, options);
> ref.addEventListener("loadstop", function (event) {
>  ref.show();
> });
> Please provide solution to open the web pages consistently in InAppBrowser on iOS Version 11.3.1.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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