Waldemar Lima Well-Known Member Licensed User Longtime User Nov 6, 2020 #1 hello, I have some problems with the iPad mini 2 (Ios 12.4.9), I would like to see if there is something on the page that is preventing some webviews from loading properly in this version of Ios or something in that sense, there is a way to read or intercept the webview (console) logs?
hello, I have some problems with the iPad mini 2 (Ios 12.4.9), I would like to see if there is something on the page that is preventing some webviews from loading properly in this version of Ios or something in that sense, there is a way to read or intercept the webview (console) logs?
Erel B4X founder Staff member Licensed User Longtime User Nov 8, 2020 #2 No simple way to read these logs. Upvote 0
Waldemar Lima Well-Known Member Licensed User Longtime User Nov 8, 2020 #3 what's the hard way? Upvote 0
Semen Matusovskiy Well-Known Member Licensed User Nov 8, 2020 #4 If you use local builder, do following (once). 1). Connect a mobile device with Mac by USB cable. 2) Mobile device - enable Web Inspector on iOS Open the Settings app. Tap Safari. Scroll down and select Advanced Switch Web Inspector to ON 3) Mac - enable the Develop Menu Choose Safari > Preferences, and click Advanced. At the bottom of the pane, select the “Show Develop menu in menu bar” checkbox Choose Develop > Show Web Inspector. Inside program (after you loaded WebView) add following statements: Code: Copy Dim no As NativeObject = WebView1 no.GetField ("configuration").GetField ("preferences").SetField ("developerExtrasEnabled", True) This activates a communication with Web-inspector. MAC: When your program runs, click Development in Safari's top menu. Attach to mobile device. After this you will see console output (and not only). Last edited: Nov 8, 2020 Upvote 0
If you use local builder, do following (once). 1). Connect a mobile device with Mac by USB cable. 2) Mobile device - enable Web Inspector on iOS Open the Settings app. Tap Safari. Scroll down and select Advanced Switch Web Inspector to ON 3) Mac - enable the Develop Menu Choose Safari > Preferences, and click Advanced. At the bottom of the pane, select the “Show Develop menu in menu bar” checkbox Choose Develop > Show Web Inspector. Inside program (after you loaded WebView) add following statements: Code: Copy Dim no As NativeObject = WebView1 no.GetField ("configuration").GetField ("preferences").SetField ("developerExtrasEnabled", True) This activates a communication with Web-inspector. MAC: When your program runs, click Development in Safari's top menu. Attach to mobile device. After this you will see console output (and not only).