mirror of
https://github.com/appwrite/sdk-for-flutter.git
synced 2026-04-07 19:27:41 +00:00
Merge pull request #118 from appwrite/dev
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
Copyright (c) 2022 Appwrite (https://appwrite.io) and individual contributors.
|
||||
Copyright (c) 2023 Appwrite (https://appwrite.io) and individual contributors.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||
|
||||
@@ -21,7 +21,7 @@ Add this to your package's `pubspec.yaml` file:
|
||||
|
||||
```yml
|
||||
dependencies:
|
||||
appwrite: ^8.2.0
|
||||
appwrite: ^8.2.1
|
||||
```
|
||||
|
||||
You can install packages from the command line:
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
part of appwrite;
|
||||
|
||||
class ID {
|
||||
ID._();
|
||||
|
||||
static String unique() {
|
||||
return 'unique()';
|
||||
}
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
part of appwrite;
|
||||
|
||||
class Permission {
|
||||
Permission._();
|
||||
|
||||
static String read(String role) {
|
||||
return 'read("$role")';
|
||||
}
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
part of appwrite;
|
||||
|
||||
class Query {
|
||||
Query._();
|
||||
|
||||
static equal(String attribute, dynamic value) =>
|
||||
_addQuery(attribute, 'equal', value);
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
part of appwrite;
|
||||
|
||||
class Role {
|
||||
Role._();
|
||||
|
||||
static String any() {
|
||||
return 'any';
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ class ClientBrowser extends ClientBase with ClientMixin {
|
||||
'x-sdk-name': 'Flutter',
|
||||
'x-sdk-platform': 'client',
|
||||
'x-sdk-language': 'flutter',
|
||||
'x-sdk-version': '8.2.0',
|
||||
'x-sdk-version': '8.2.1',
|
||||
'X-Appwrite-Response-Format' : '1.0.0',
|
||||
};
|
||||
|
||||
@@ -221,7 +221,7 @@ class ClientBrowser extends ClientBase with ClientMixin {
|
||||
Future webAuth(Uri url, {String? callbackUrlScheme}) {
|
||||
return FlutterWebAuth2.authenticate(
|
||||
url: url.toString(),
|
||||
callbackUrlScheme: callbackUrlScheme ?? "appwrite-callback-" + config['project']!,
|
||||
callbackUrlScheme: "appwrite-callback-" + config['project']!,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ class ClientIO extends ClientBase with ClientMixin {
|
||||
'x-sdk-name': 'Flutter',
|
||||
'x-sdk-platform': 'client',
|
||||
'x-sdk-language': 'flutter',
|
||||
'x-sdk-version': '8.2.0',
|
||||
'x-sdk-version': '8.2.1',
|
||||
'X-Appwrite-Response-Format' : '1.0.0',
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
name: appwrite
|
||||
version: 8.2.0
|
||||
version: 8.2.1
|
||||
description: Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API
|
||||
homepage: https://appwrite.io
|
||||
repository: https://github.com/appwrite/sdk-for-flutter
|
||||
|
||||
Reference in New Issue
Block a user