dialogflow-javascript-client icon indicating copy to clipboard operation
dialogflow-javascript-client copied to clipboard

Access-Control-Allow-Origin issue, from ionic Mobile App on iOs

Open elaval opened this issue 5 years ago • 1 comments

I have a mobile App built with ionic 4 which makes calls to Dialogflow v1.

The origin from iOs is "ionic://localhost" and this is now rejected (not allowed by Access-Control-Allow-Origin) image

These calls were working a few weeks ago and something changed recently.

Is it possible to configure the valid origins on Dialogflow? Is it possible for Dialogflow to allow the ionic://localhost origin (which I assume will be a common use case for hybrid mobile Apps built with ionic)

Thanks,

Ernesto

elaval avatar Jul 25 '19 12:07 elaval

Facing the same issue while making calls to dialogflow v2 from hybrid mobile app.

nikhilch86 avatar Sep 11 '19 05:09 nikhilch86