Ionic Pro: Ionic View, Problem with HTTP connections


#1

Hi,

When I’m viewing my app trough the new Ionic Pro dashboard & Ionic View app my HTTP calls are not working.
Instant getting a fault of my own error handler.

Cant output console logs because I run it on mobile device.
When I run the application directly from my computer with USB on my device it’s working.

Thanks in advance


#2

Which platform are you testing on - iOS or Android?

For iOS: the new Ionic View uses WKWebView which enforces CORS.


#3

Hi
use the ToastCtrl to display debug info, if you want to
Regards,
Tom


#4

Im using Android. So how can I solve this?


#5

No idea, sorry.

Ionic Pro is a hosted and closed source service, so there is not much we, the community, can help you with, sorry. Check these:

You can - and should - contact support at http://ionicframework.com/support#support


#6

Why do you need Ionic View if you can build the app yourself?


#7

Im paying for it, Why I shouldn’t use it?


#8

Try uploading the node modules and plugins :wink:


#9

You can use it.

But: Building the app yourself you can actually debug the problem (if present) with remote debugging:

Follow these instructions here to debug the problem in Chrome dev tools: https://ionic.zone/debug/remote-debug-your-app#android Look at the console and network tabs for errors.


#10

Hi there,

Did you solve your problem?. My App only works on the following conditions:
  1. The ionic View App for ios

  2. The built APK or IOS

    Fails running inside the View App Android Version. It calls https end points. And Yes, this feature is really important, why?. My customers are reviewing the app on each commit and provide feedback, this is a development stage.

    I hope Ionic Team really considers adding this fix immediately.


#11

Did you get your issue resolved?
Was it CORS related?


#12

Have you solved your problem ?
because I’m facing pretty much the same. When I try to call my remote server API, my url is strangely replaced by a local URL like http://localhost:60002/api,

instead of the normal url.


#13

Create a build of your app, don’t test trough ionic view, this fixed in my way.
Or you can download a brower plugin for chrome


#14

Thank you for your return.
It is a pity that there is no resolution on the side of Ionic. It worked better before!


#15

Iknow, they upgraded to WKWebView for the ionic view app.


#16

Hi !

Facing the same issue here…

I don’t understand how it is possible ??

How can Ionic “disable” such a important feature like http request for their ‘View’ tool ??? The biggest asset of Ionic View is to share your app with testers… allowing them to directly download the new version of you app automatically…

If I have to build the app and “deploy” it my self to all testers phone… What is the point of Ionic View ???