fix(mobile): logout on upgrade (#26827)

* use cookiejar

* cookie duping hook

* remove old pref

* handle network switching on logout

* remove bootstrapCookies

* dead code

* fix cast

* use constants

* use new event name

* update api
This commit is contained in:
Mert 2026-03-11 12:07:27 -05:00 committed by GitHub
parent e7db3b220d
commit c403e03a42
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 340 additions and 89 deletions

View file

@ -43,5 +43,5 @@ abstract class NetworkApi {
int getClientPointer();
void setRequestHeaders(Map<String, String> headers, List<String> serverUrls);
void setRequestHeaders(Map<String, String> headers, List<String> serverUrls, String? token);
}