Skip to content

Commit a3fa8e4

Browse files
authored
Merge pull request #18 from approov/feature/changelog-update
Feature/changelog update
2 parents cbb9dfc + 402a684 commit a3fa8e4

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1+
## [3.4.1] - (2025-May-09)
2+
- Support calling Approov from main isolate and any background isolate
3+
- Performance improvements
4+
- Allow reinitialization with the same configuration
5+
- Edge case bug fixes
6+
- Align major and minor version with native SDK
7+
18
## [0.0.5] - (2025-Feb-26)
29
- Updated readme.
310
- First published to pub.dev
4-
- Update iOS native pod package to 3.3.1
11+
- Update iOS native pod package to 3.3.1

lib/approov_service_flutter_httpclient.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1736,14 +1736,14 @@ class ApproovHttpClient implements HttpClient {
17361736
for (final pin in pins) {
17371737
approovPins.add(pin);
17381738
}
1739-
SecurityContext securityContext = await ApproovService._pinnedSecurityContext(url.host, approovPins, hostCerts!);
1739+
SecurityContext securityContext = await ApproovService._pinnedSecurityContext(url.host, approovPins, hostCerts);
17401740
newHttpClient = HttpClient(context: securityContext);
17411741
final pinningFinishTime = stopWatch.elapsedMilliseconds - tokenFinishTime - tokenStartTime - certStartTime;
17421742
Log.d("$TAG: $isolate client ready for ${url.host}, pinningFinish ${pinningFinishTime}ms");
17431743
}
17441744

17451745
// copy state to the new delegate HttpClient
1746-
newHttpClient.idleTimeout = _idleTimeout!;
1746+
newHttpClient.idleTimeout = _idleTimeout;
17471747
newHttpClient.connectionTimeout = _connectionTimeout;
17481748
if (_maxConnectionsPerHost != null) {
17491749
newHttpClient.maxConnectionsPerHost = _maxConnectionsPerHost;

0 commit comments

Comments
 (0)