Answer the question
In order to leave comments, you need to log in
PhoneGap application under Anrdoid stopped sending Ajax requests - what could be the reason?
Quite recently, the PhoneGap application under Anrdoid stopped working, the interface of which was built on the basis of: Framework7 (version 1.4.2 ). The same application for iOS works flawlessly.
Naturally, the first thing I did was debugging according to the instructions: docs.phonegap.com/references/developer-app/debugging
Debugging did not give me anything in terms of any JavaScript errors:
However, it became clear that the application cannot send Ajax requests :
or rather, they seem to hang in the status: Pending
On the server where requests fly, I set a trap: requests do not reach there ...
What should I do? Where to dig? With what it can be connected? What to pay attention to?
Answer the question
In order to leave comments, you need to log in
The reason turned out to be banal - the root certificate for SSL on the server is incorrectly installed.
It was time for the update and after reinstalling everything worked.
ps: by the way, the application worked via HTTP, but not via HTTPS...
Do you have https or http? over http servers simply may not process GET requests, but in phoneGap, the http protocol is probably used by default.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question