-
Notifications
You must be signed in to change notification settings - Fork 149
feat: Flutter SDK update for version 23.1.0 #307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
9ac5862
762af97
23e4a88
edc28a5
520e6e7
6e8786d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,8 +40,8 @@ class ClientBrowser extends ClientBase with ClientMixin { | |
| 'x-sdk-name': 'Flutter', | ||
| 'x-sdk-platform': 'client', | ||
| 'x-sdk-language': 'flutter', | ||
| 'x-sdk-version': '23.0.0', | ||
| 'X-Appwrite-Response-Format': '1.9.0', | ||
| 'x-sdk-version': '23.1.0', | ||
| 'X-Appwrite-Response-Format': '1.9.1', | ||
| }; | ||
|
|
||
| config = {}; | ||
|
|
@@ -155,6 +155,11 @@ class ClientBrowser extends ClientBase with ClientMixin { | |
| return this; | ||
| } | ||
|
|
||
| @override | ||
| Map<String, String> getHeaders() { | ||
| return Map<String, String>.from(_headers!); | ||
| } | ||
|
Comment on lines
+159
to
+161
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The returned map includes all headers set via |
||
|
|
||
| Future init() async { | ||
| final cookieFallback = web.window.localStorage.getItem('cookieFallback'); | ||
| if (cookieFallback != null) { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[BREAKING]tag forLogconstructor changeAdding
userTypeas arequirednamed parameter to theLogconstructor is a source-breaking change — any code that constructsLogdirectly (e.g. in unit tests or test doubles) will fail to compile without updating the call site. The 23.0.0 entry uses[BREAKING]for the$sequencetype change, but this addition is unmarked in 23.1.0.