Skip to content

NativeAdapter does not pick up platform trust store changes without app restart #1866

@AboodHr345

Description

@AboodHr345

When a certificate is added to or removed from the platform trust store outside of the Flutter application, the NativeAdapter used by cronet_http does not apply this change until the application is restarted.

This behavior causes TLS validation to rely on a stale snapshot of the trust store for the lifetime of the app process.

  • Expected Behavior:

NativeAdapter should reflect runtime changes to the platform trust store without requiring an application restart.
This is the expected behavior on native platforms, where libraries such as OkHttp automatically pick up trust store updates dynamically.

  • Actual Behavior

Trust store changes (add/remove certificates) are ignored
TLS behavior remains unchanged until the app is fully restarted

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions