On iOS devices (and emulators) certpinning cancels prior Dio() get requests, only returning the last one. Making parallel requests impossible.
var http = new Dio();
http.interceptors
.add(CertificatePinningInterceptor(allowedSHAFingerprints));
var future1 = http.get('https://...');
var future2 = http.get('https://...');
var future3 = http.get('https://...');
only future3 will return with data.
The PR, patches to serialize cert pinning requests on iOS as well as caching cert pinning results.
On iOS devices (and emulators) certpinning cancels prior Dio() get requests, only returning the last one. Making parallel requests impossible.
only future3 will return with data.
The PR, patches to serialize cert pinning requests on iOS as well as caching cert pinning results.