37

I recently came across this error message: Can't find variable: loadHomepageTiles on our error logs from one of our angularjs 1.6 mobile applications.

This seems to only happen on iOS devices running 11.3 based on the error logs.

We don't have any reference to loadHomepageTiles on our codebase and I could not find any references to this in any of the node modules either so. It seems to be generated by mobile safari from what we can tell.

I can't seem to find any documentation about it on the net or how to recreate the error on an iOS device. Does anyone have any experience with this error? or could point me towards any documentation, please? thanks

Himanshu sharma
  • 7,487
  • 4
  • 42
  • 75
Mokky Miah
  • 1,213
  • 2
  • 11
  • 29
  • How did you track it down to mobile Safari? Any details? – NikxDa Jul 10 '18 at 08:33
  • Nothing yet - i'll post back here if we find anything. – Mokky Miah Jul 10 '18 at 10:58
  • Do you have a mapbox or anything that uses canvas? Might be google maps/streetview? I have the same issue. – Rantiev Aug 06 '18 at 09:45
  • We do have google maps on our application. Thanks for letting me know I'll investigate. If I find anything - I'll post back here. – Mokky Miah Aug 06 '18 at 14:58
  • Anything on this ? – Himanshu sharma Sep 04 '18 at 10:28
  • Nothing yet I am afraid. We are still looking into this on our side. I will post here if we find anything. – Mokky Miah Sep 04 '18 at 11:23
  • 2
    I have the same error today. And I don't have any maps on my site. Additional info: browser = Mobile Safari UIWebView 12.0 and here its iOS 12 and a React application – m0rfarpeter Oct 08 '18 at 07:02
  • I just got this for an iOS 12.1 iPhone.. the last thing that was released before was some browser detection using _bowser_.. – mishu Nov 16 '18 at 08:23
  • 3
    I am curious if anyone else sees `ManagedBrowser` in the User Agent when this error occurs. I think this may just be an enterprise restricted phone browser where a function to detect if an application is already installed on the homescreen is restricted. Our sentry log records the error occurring in global code at 1:18, which is either inside a html tag, or inside the text `window["webpackJsonp"]`. I am pretty sure the error occurs in browser code instead. – Sumurai8 Dec 27 '18 at 10:58
  • @Sumurai8, yes, I am too seeing `ManagedBrowser/20181024.1` as part of the User Agent. Very interesting, I wonder if it affects our application as seen by the user. – Diederik Feb 11 '19 at 09:59
  • Our Sentry logs just started showing this error as well. I presume this is not coming from our codebase since it's reported to occur in the first line of html. Some log details: browser: Mobile Safari UI/WKWebView 12.2 | browser.name: Mobile Safari UI/WKWebView | device: iPhone | os: iOS 12.2 – stobasan Apr 16 '19 at 07:45
  • I have been getting similar error logs as late as today: ` "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_1_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 ManagedBrowser/20181024.1"` – Rasmus Puls Oct 20 '19 at 18:02
  • I think it could be a missing polyfill for ManagedBrowser. See the following issue which is a different issue, but a similar kind of problem https://github.com/Financial-Times/polyfill-library/issues/302. Hopefully another stack overflow engineer can assist in figuring out the specific polyfill that would be needed. – Faisal Memon Feb 15 '23 at 14:30

0 Answers0