Hello, I have a problem that occurs only in the ios version of my app.
When I change the network, and the IP changes, the connections via axios to a REST API give 401 authorization error.
When it reconnects to the network with which you had logged in, it works again.
In the Android version it does not happen, and it does not matter if the network is changed, it always works.
My connection to the API REST send a token at headers in the Axios connection, and the API REST uses JWT to manage this token.
Has anyone have a problem like this?
These are my versions of framework:
"@capacitor/android": "^4.1.0",
"@capacitor/app": "4.0.1",
"@capacitor/assets": "^1.0.14",
"@capacitor/core": "4.1.0",
"@capacitor/haptics": "4.0.1",
"@capacitor/ios": "^4.4.0",
"@capacitor/keyboard": "4.0.1",
"@capacitor/preferences": "^4.0.1",
"@capacitor/push-notifications": "^4.1.0",
"@capacitor/status-bar": "4.0.1",
"@ionic/storage": "^3.0.6",
"@ionic/vue": "^6.3.6",
"@ionic/vue-router": "^6.3.6",
"axios": "^0.27.2",
"core-js": "^3.6.5",
"moment": "^2.29.4",
"sweetalert2": "^11.5.1",
"swiper": "^8.4.2",
"vue": "^3.2.21",
"vue-router": "^4.0.12"
Thank you, Antonio