Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
## [3.4.1] - (2025-May-09)
- Support calling Approov from main isolate and any background isolate
- Performance improvements
- Allow reinitialization with the same configuration
- Edge case bug fixes
- Align major and minor version with native SDK

## [0.0.5] - (2025-Feb-26)
- Updated readme.
- First published to pub.dev
- Update iOS native pod package to 3.3.1
- Update iOS native pod package to 3.3.1
4 changes: 2 additions & 2 deletions lib/approov_service_flutter_httpclient.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1736,14 +1736,14 @@ class ApproovHttpClient implements HttpClient {
for (final pin in pins) {
approovPins.add(pin);
}
SecurityContext securityContext = await ApproovService._pinnedSecurityContext(url.host, approovPins, hostCerts!);
SecurityContext securityContext = await ApproovService._pinnedSecurityContext(url.host, approovPins, hostCerts);
newHttpClient = HttpClient(context: securityContext);
final pinningFinishTime = stopWatch.elapsedMilliseconds - tokenFinishTime - tokenStartTime - certStartTime;
Log.d("$TAG: $isolate client ready for ${url.host}, pinningFinish ${pinningFinishTime}ms");
}

// copy state to the new delegate HttpClient
newHttpClient.idleTimeout = _idleTimeout!;
newHttpClient.idleTimeout = _idleTimeout;
newHttpClient.connectionTimeout = _connectionTimeout;
if (_maxConnectionsPerHost != null) {
newHttpClient.maxConnectionsPerHost = _maxConnectionsPerHost;
Expand Down