Opening a mobile app, I get an alert("Object Error")

Opening a mobile app, I get an alert("Object Error")

Hi Guys,

Can anybody shed some light on why I get an object error on certain devices when I open the app we have been developing?
It also does not happen every single time you open the app but randomly and also not all devices experience this when opening the app.

Any thoughts?