Cordova advanced http error when load page without cordova.js

Viewed 132

I am having problems working with Cordova Advanced HTTP

https://github.com/silkimen/cordova-plugin-advanced-http

When I first load the page I want to use Cordova Advanced HTTP to call the api on IOS device it gives me the following error

Cordova Advanced HTTP register unsuccessful:

enter image description here

Cordova Advanced HTTP register unsuccessful:

enter image description here

It seems to me that only after the page is loaded, the Cordova advanced http is ready to use.

Cordova Advanced HTTP register success:

enter image description here

but I need it to use the first time I call page. Is there a way to call it for the first time? I have researched but have not found a solution, looking forward to hearing from everyone. Sorry my English is not good.

0 Answers
Related