Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48980

Http request does not work on ios 15

$
0
0

Every http request fails on ios 15 native device or emulator with the following error

{"headers":{"normalizedNames":{},"lazyUpdate":null,"headers":{}},"status":0,"statusText":"Unknown Error","url":"[i removed the url]","ok":false,"name":"HttpErrorResponse","message":"Http failure response for [i removed the url] : 0 Unknown Error","error":{"isTrusted":true}}

I’m using @angular/common/http it works file with all previous ios versions ( tried 13 latest , 14 latest - it’s just fine - server returns the required CORS headers, etc)

( i know there’s native and capacitor http plugins, but the app relies heavily on this implementation with angular and observables )

Anyone else have this problem? Anyone knows what to do?

My env data:

Ionic:

   Ionic CLI                     : 6.16.3 (/usr/local/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 6.0.0-dev.202106282030.9f3b1d9
   @angular-devkit/build-angular : 12.1.1
   @angular-devkit/schematics    : 12.1.1
   @angular/cli                  : 12.1.1
   @ionic/angular-toolkit        : 4.0.0

Capacitor:

   Capacitor CLI      : 3.0.2
   @capacitor/android : 3.0.2
   @capacitor/core    : 3.0.2
   @capacitor/ios     : 3.0.2

Utility:

   cordova-res : not installed globally
   native-run  : 1.4.0

System:

   NodeJS : v16.4.0 (/usr/local/bin/node)
   npm    : 7.19.0
   OS     : macOS Big Sur

Xcode:

   13.0 beta

Ios version:

   15.0 beta

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 48980

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>