fix: prevent API client provider auto-dispose causing Ref invalidation
API client providers (coreApiClientProvider, tatlockApiClientProvider) now use keepAlive: true. This fixes "DioException [unknown]: null" errors on pages like /security/users where ref.read() was used without subscription. The AuthInterceptor stores a Ref that became invalid when the provider auto-disposed after a one-time read. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.5
parent
c374ecbffb
commit
34fdc77818
+1
-1
@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
# In Windows, build-name is used as the major, minor, and patch parts
|
||||
# of the product and file versions while build-number is used as the build suffix.
|
||||
version: 1.1.10+1
|
||||
version: 1.1.11+1
|
||||
|
||||
environment:
|
||||
sdk: ^3.10.4
|
||||
|
||||
Reference in New Issue
Block a user