Hello. I started to work/debug with device. In browser it works well. I’ve notified. The HTTP promises are not resolved on the real device.
ionic run -c -l
It seems I missed something.
Thank you.
Hello. I started to work/debug with device. In browser it works well. I’ve notified. The HTTP promises are not resolved on the real device.
ionic run -c -l
It seems I missed something.
Thank you.
You can always enable remote debugging to see what is being executed on the device.
How to setup remote debugging:
Supply some code how you use promises
chrome://inspect/#devices
Helped me well.
I’ve found
XMLHttpRequest cannot load http://192.168.1.180:5000/budget/rest/register_instance. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://192.168.1.180:8100' is therefore not allowed access.
It is CORS again. I am resolving it by using own DNS server - http://blog.ionic.io/handling-cors-issues-in-ionic/