InAppBrowser not working in Ionic View

I have an app that uses the inappbrowser, it works great when I do ionic run android --device, however when I do ionic upload, the inappbrowser does not fire the addEventListener(‘loadstart’.

Please help.!