breautek commented on issue #1075:
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/1075#issuecomment-2417048303

   This sounds more like a slow network/device issue rather than a bug.
   
   The black (or white screen, depending on the configured theme) is generally 
the about:blank page which is the default page for when there is no page loaded 
in the webview.
   
   Using `cordova.InAppBrowser.open('https://github.com', '_blank', 
'location=yes');` (`inappbrowser.create` is an API that doesn't exist at the 
cordova plugin level), I see the black screen for approximately 1 second when 
running on a simulator.
   
   If you want to hide this loading, you can utilise the `hidden` flag so that 
the IAB isn't immediately visible to the user (but it will still load the 
page). Then you can utilise the `loadstop` / `loaderror` 
[listeners](https://github.com/apache/cordova-plugin-inappbrowser?tab=readme-ov-file#inappbrowseraddeventlistener)
 to show the IAB or display some kind of error feedback.


-- 
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-unsubscr...@cordova.apache.org

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


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

Reply via email to