How to request information from another domain?


#1

I am using a Brazilian payment gateway and some methods are executed through a js script. This works fine on Android, but in IOS it does not work. The support team reported that the problem could be that SAFARI does not allow access to other domains. Is there any way to solve this problem?
Thank you!


#2

maybe we can help you if you would try to describe your problem in englisch…


#3

I’m sorry, it was inattentive on my part.

I am using a Brazilian payment gateway and some methods are executed through a js script. This works fine on Android, but in IOS it does not work. The support team reported that the problem could be that SAFARI does not allow access to other domains. Is there any way to solve this problem?
Thank you!


#4

Hi

Likely a cors issue?

Wkwebview known issue. See ionicframework home menu

I believe solvable through a intermediate server within your control/domain. Or if you control the endpoint, change its settings.

Regards

Ton


#5

the blogpost: http://blog.ionic.io/wkwebview-for-all-a-new-webview-for-ionic/
you could try to remove the webview plugin and try again.

And check your security settings :wink:


#6

Got to try this one. Thx.

I do believe the new Ionic View needs http native plugin in order to support cors
(as per blog)

Tom