Not sure if this is an issue or not, but on iOS whenever my app makes an HTTP request the following message is shown in the iOS log:
[NSURLSession sharedSession] may not be invalidated
The request seems to work OK, but it doesn’t seem right to have this message each time.
I’m using ‘fetch’ to make the HTTP request, with the following capacitor config:
import { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = {
appId: 'io.ionic.starter',
appName: 'http-nsurlsession-error',
webDir: 'www',
server: {
androidScheme: 'https'
},
"plugins": {
"CapacitorHttp": {
"enabled": true
},
"CapacitorCookies": {
"enabled": true,
}
}
};
export default config;