A
A
Alexander Drek2015-09-17 21:09:00
JavaScript
Alexander Drek, 2015-09-17 21:09:00

Has anyone come across Сordova ajax error=undefined?

I have an application written in cordova. Here I decided to update some functions and at the same time update cordova to the latest version. After completing all the work, I started testing and entering the tests, on ios everything is in order, on android ajax to the external domain is not performed and does not return any error.
Those. $.get(' google.com ', function(){}).error(function(e,s,p){ /*console*/ }); executes error and error 0 undefined
Has anyone come across?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Arushanov, 2015-09-24
@drekon

If you upgraded Cordova, it's most likely that version > 4.0 was installed, look towards the Cordova-whitelist plugin .
A similar problem and a couple of others may still await you in the ios9 / Mac OS X el capitano / Xcode 7 bundle, but on iOS this is solved by changing the plist file. If it's relevant, write me a hint.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question