Welcome! › Forums › Unity Plugins › In-App Web Browser › White screen
- This topic has 3 replies, 2 voices, and was last updated 7 years, 7 months ago by Piotr.
-
AuthorPosts
-
April 26, 2017 at 9:12 pm #141cmcl007Participant
Hi,
I bought the In-App Browser Unity plugin and it has been working nice with some websites, but I’m facing with white screens in other ones.
I made the Mental Gurus Android App using your plugin (https://play.google.com/store/apps/details?id=com.MentalGurus.App&hl=en&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1) that points to http://www.mentalgurus.com/ but instead of showing the website, it stays in a white screen.
The weird thing is that I ported the app to iOS and it works perfectly.
Thank you!
April 26, 2017 at 9:17 pm #142PiotrKeymasterHey,
Thanks for posting question here, although I think I’ve already responded you on email.
Anyway, let me write it again:
I’ve checked your issue and it seems to be related to your JS sources.
This is error log I’ve taken from device while trying to load your website:I/chromium(12628): [INFO:CONSOLE(7)] “Angular is running in the development mode. Call enableProdMode() to enable the production mode.”, source: http://www.mentalgurus.com/app.1ed06c4ef4be1d627b9e.js (7)
I/chromium(12628): [INFO:CONSOLE(2)] “Unhandled Promise rejection:”, source: http://www.mentalgurus.com/polyfills.1ed06c4ef4be1d627b9e.js (2)
I/chromium(12628): [INFO:CONSOLE(2)] “Error: Uncaught (in promise): TypeError: Cannot read property ‘activeSub’ of null
I/chromium(12628): TypeError: Cannot read property ‘activeSub’ of null
I/chromium(12628): at Object.SubAccountService.Sub.init (http://www.mentalgurus.com/app.1ed06c4ef4be1d627b9e.js:76:4562)
I/chromium(12628): at http://www.mentalgurus.com/app.1ed06c4ef4be1d627b9e.js:40:28027
I/chromium(12628): at Object.invoke (http://www.mentalgurus.com/vendor.1ed06c4ef4be1d627b9e.js:2:6294)
I/chromium(12628): at http://www.mentalgurus.com/vendor.1ed06c4ef4be1d627b9e.js:2:7820
I/chromium(12628): at forEach (http://www.mentalgurus.com/vendor.1ed06c4ef4be1d627b9e.js:1:3652)
I/chromium(12628): at createInjector (http://www.mentalgurus.com/vendor.1ed06c4ef4be1d627b9e.js:2:7768)
I/chromium(12628): at doBootstrap (http://www.mentalgurus.com/vendor.1ed06c4ef4be1d627b9e.js:1:15670)
I/chromium(12628): at bootstrap (http://www.mentalgurus.com/vendor.1ed06c4ef4be1d627b9e.js:1:16199)
I/chromium(12628): at http://www.mentalgurus.com/app.1ed06c4ef4be1d627b9e.js:4:12357
I/chromium(12628): at ZoneDelegate.invoke (http://www.mentalgurus.com/polyfills.1ed06c4ef4be1d627b9e.js:3:5600)
I/chromium(12628): at Object.inner.inner.fork.onInvoke (http://www.mentalgurus.com/app.1ed06c4ef4be1d627b9e.js:8:5005)
I/chromium(12628): at ZoneDelegate.invoke (http://www.mentalgurus.com/polyfills.1ed06c4ef4be1d627b9e.js:3:5526)
I/chromium(12628): at Zone.run (http://www.mentalgurus.com/polyfills.1ed06c4ef4be1d627b9e.js:2:30164)
I/chromium(12628): at NgZone.run (http://www.mentalgurus.com/app.1ed06c4ef4be1d627b9e.js:8:3152)
I/chromium(12628): at UpgradeModule.bootstrap (http://www.mentalgurus.com/app.1ed06c4ef4be1d627b9e.js:4:12342)
I/chromium(12628): at http://www.mentalgurus.com/app.1ed06c4ef4be1d627b9e.js:1:435
I/chromium(12628): at ZoneDelegate.invoke (http://www.mentalgurus.com/polyfills.1ed06c4ef4be1d627b9e.js:3:5600)
I/chromium(12628): at Zone.run (http://www.mentalgurus.com/polyfills.1ed06c4ef4be1d627b9e.js:2:30164)
I/chromium(12628): at http://www.mentalgurus.com/polyfills.1ed06c4ef4be1d627b9e.js:2:25964
I/chromium(12628): at ZoneDelegate.invokeTask (http://www.mentalgurus.com/polyfills.1ed06c4ef4be1d627b9e.js:3:6541)
I/chromium(12628): at Zone.runTask (http://www.mentalgurus.com/polyfills.1ed06c4ef4be1d627b9e.js:2:31239)
I/chromium(12628): at drainMicroTaskQueue (http://www.mentalgurus.com/polyfills.1ed06c4ef4be1d627b9e.js:2:23013)”, source: http://www.mentalgurus.com/polyfills.1ed06c4ef4be1d627b9e.js (2)So basically your page isn’t loading because of JS error. It’s not related to plugin itself.
Does it help you?
April 27, 2017 at 12:36 am #145cmcl007ParticipantHi,
How can I get these reports? One complete report like yours? Thank you.
April 28, 2017 at 11:18 am #147PiotrKeymasterType this command while having your Android device attached:
adb logcat -s “chromium”
You can also clear old logs by typing:
adb logcat -c
-
AuthorPosts
- You must be logged in to reply to this topic.