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

   A blank white screen generally indicates a failure in loading the document, 
which can happen either in the JS side (the web page itself has an error) or on 
the native side (the provided URL is bad).
   
   Since the page seems to work on Android as the OP claimed, it is likely a JS 
side issue, as if the URL itself is bad, it would fail on both platforms.
   
   If it is a JS/webpgae side issue, then using Mac's Safari, you can access 
the dev tools to remotely debug the iOS safari webview. You'll need to use an 
iOS simulator or have the iOS device connected via USB in order to use this 
feature.
   
   Note that Safari's web inspector doesn't capture events or console logs that 
occurred before the inspector was attached, so if the issue is a loading issue, 
you may need to refresh the webview after the inspector is attached, which you 
can do using `cmd + r` key combination, while the inspector window is focused.
   
   Note that your application will contain 2 webview contexts, one is the 
Cordova Webview context (your main app) and the other will be the in app 
browser, which is it's own webview instance.
   
   I've written a [blog 
post](https://breautek.com/articles/debugging-cordova-apps.html) that goes into 
more detail on how to get the Safari Web Inspector running to debug cordova 
apps, but the same should apply to in app webviews as well.
   
   Using the web inspector will be the best way to gain further insights on 
what is happening. Do let me know if this helps.


-- 
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: [email protected]

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