zero-1 commented on issue #829:
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/829#issuecomment-770360624


   This is definitely reproducible. I tried a similar flow on a brand new ionic 
app.
   
   Following is my configuration:
   
   `"plugins": {
         "cordova-plugin-inappbrowser": {},`
         ...
      `"cordova-plugin-inappbrowser": "4.1.0",`   
   
   `this.iab.create('https://some-webpage.web.app', '_blank', this.options);`
   
   My options are...
    
   `options : InAppBrowserOptions = {
       location : 'no',//Or 'no'
       zoom : 'no',//Android only ,shows browser zoom controls
       hardwareback : 'no',
       hidden: 'no',
       clearcache: 'no',
       beforeload: 'yes',
       toolbar : 'no', //iOS only22952
     };`
   
   Using _self and _system works as expected. When using _blank we end up with 
a blank page.
   This does seem to work in an older app which is still on an older version of 
cordova-iOS and using the 3.1.0 version of IAB.
   
   Another weird thing which might shed some light, when we open up the IAB 
window in the debugger in Safari, running something like 
Window.open("some-url") returns a null.
   
   As this is a brand new ionic project, I am not using any other plugins at 
the moment (apart form the ones which come by default)
   
   There are no warnings/errors in Xcode or in the browser console.
   
   The 'loadStop' event listener is not executed as well.... (sort of expected)
   
   Testing on Xcode 12.1 on an iOS simulator (multiple devices running iOS 14.1)
   
   This does feel similar to 
   https://github.com/apache/cordova-plugin-inappbrowser/issues/832
   https://github.com/apache/cordova-plugin-inappbrowser/issues/802
   
   I will try few more combinations... with IAB 3.1.0 .. and check whats going 
on with the 'beforeload' and 'loadstart' events. Will update description.
   
   
   
   
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to