问题:在framework7中使用app.request函数。在 Android 中,它工作正常,但在 iOS 中,它会抛出以下错误,并且不会在错误函数中执行代码。
2018-03-27 18:13:23.635876+0530 Appname[2624:104055] CredStore - performQuery - Error copying matching creds. Error=-25300, query={
class = inet;
"m_Limit" = "m_LimitAll";
ptcl = htps;
"r_Attributes" = 1;
sdmn = "apps.sample.co.in";
srvr = "apps.sample.co.in";
sync = syna;
}
最佳答案
使用 https://github.com/silkimen/cordova-plugin-advanced-http仅对 iOS 进行 http 调用的插件解决了这个问题。 引用:https://forum.ionicframework.com/t/ionic-call-rest-service-no-catch-http-response-code-401-on-ios/107690/1
关于ios - cordova Framework7 中的 Ajax 错误函数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49536911/