1
0
Fork 0
mirror of synced 2024-06-26 10:10:57 +12:00

Updated Flutter SDK

This commit is contained in:
Eldad Fux 2020-05-17 21:45:14 +03:00
parent 692abb5e92
commit 19d147a738
6 changed files with 14 additions and 10 deletions

View file

@ -1,3 +1,7 @@
## 0.2.1
- Fixed callback scheme
## 0.2.0
- Updated flutter_web_auth plugin to version 0.2.4

View file

@ -20,7 +20,7 @@ Add this to your package's `pubspec.yaml` file:
```yml
dependencies:
appwrite: ^0.2.0
appwrite: ^0.2.1
```
You can install packages from the command line:

View file

@ -30,7 +30,7 @@ class Client {
this.headers = {
'content-type': 'application/json',
'x-sdk-version': 'appwrite:dart:0.2.0',
'x-sdk-version': 'appwrite:dart:0.2.1',
};
this.config = {};

View file

@ -324,7 +324,7 @@ class Account extends Service {
return FlutterWebAuth.authenticate(
url: url.toString(),
callbackUrlScheme: "appwrite-callback" + client.config['project']
callbackUrlScheme: "appwrite-callback-" + client.config['project']
).then((value) {
Uri url = Uri.parse(value);
List<Cookie> cookies = [new Cookie(url.queryParameters['key'], url.queryParameters['secret'])];

View file

@ -1,5 +1,5 @@
name: appwrite
version: 0.2.0
version: 0.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

12
composer.lock generated
View file

@ -485,12 +485,12 @@
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle.git",
"reference": "aab4ebd862aa7d04f01a4b51849d657db56d882e"
"reference": "351a213ba2ea52b7b7d26339fad552f0edba5742"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/aab4ebd862aa7d04f01a4b51849d657db56d882e",
"reference": "aab4ebd862aa7d04f01a4b51849d657db56d882e",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/351a213ba2ea52b7b7d26339fad552f0edba5742",
"reference": "351a213ba2ea52b7b7d26339fad552f0edba5742",
"shasum": ""
},
"require": {
@ -544,7 +544,7 @@
"rest",
"web service"
],
"time": "2020-04-18T10:38:46+00:00"
"time": "2020-05-17T09:36:12+00:00"
},
{
"name": "guzzlehttp/promises",
@ -1745,7 +1745,7 @@
"source": {
"type": "git",
"url": "https://github.com/appwrite/sdk-generator",
"reference": "840cb263b37184d01f6d060e0a4171c553aeb986"
"reference": "27a137a63009f25ad68ef2f3ce4b8c5d936f9d71"
},
"require": {
"ext-curl": "*",
@ -1775,7 +1775,7 @@
}
],
"description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms",
"time": "2020-05-17T08:23:11+00:00"
"time": "2020-05-17T18:39:41+00:00"
},
{
"name": "doctrine/instantiator",