diff --git a/app/sdks/client-flutter/CHANGELOG.md b/app/sdks/client-flutter/CHANGELOG.md index fe50409674..4c6be1b43c 100644 --- a/app/sdks/client-flutter/CHANGELOG.md +++ b/app/sdks/client-flutter/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.2.0 + +- Updated flutter_web_auth plugin to version 0.2.4 +- Added per project unique callback for OAuth2 redirects to aviod conflicts between multiple Appwrite projects + ## 0.1.1 - Updated flutter_web_auth version diff --git a/app/sdks/client-flutter/README.md b/app/sdks/client-flutter/README.md index c87fcef55d..0dd8e4ea44 100644 --- a/app/sdks/client-flutter/README.md +++ b/app/sdks/client-flutter/README.md @@ -1,4 +1,4 @@ -# Appwrite SDK +# Appwrite Flutter SDK [![pub package](https://img.shields.io/pub/v/appwrite.svg)](https://pub.dartlang.org/packages/appwrite) ![License](https://img.shields.io/github/license/appwrite/sdk-for-flutter.svg?v=1) @@ -20,7 +20,7 @@ Add this to your package's `pubspec.yaml` file: ```yml dependencies: - appwrite: ^0.1.1 + appwrite: ^0.2.0 ``` You can install packages from the command line: diff --git a/app/sdks/client-flutter/lib/client.dart b/app/sdks/client-flutter/lib/client.dart index 90eb0bd6fe..07e21096e3 100644 --- a/app/sdks/client-flutter/lib/client.dart +++ b/app/sdks/client-flutter/lib/client.dart @@ -30,7 +30,7 @@ class Client { this.headers = { 'content-type': 'application/json', - 'x-sdk-version': 'appwrite:dart:0.1.1', + 'x-sdk-version': 'appwrite:dart:0.2.0', }; this.config = {}; diff --git a/app/sdks/client-flutter/pubspec.yaml b/app/sdks/client-flutter/pubspec.yaml index 7c84709ce7..7f5ea06d48 100644 --- a/app/sdks/client-flutter/pubspec.yaml +++ b/app/sdks/client-flutter/pubspec.yaml @@ -1,5 +1,5 @@ name: appwrite -version: 0.1.1 +version: 0.2.0 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 diff --git a/app/tasks/sdks.php b/app/tasks/sdks.php index 1566fadf66..19d2deb3b8 100644 --- a/app/tasks/sdks.php +++ b/app/tasks/sdks.php @@ -41,7 +41,7 @@ $cli } $platforms = Config::getParam('platforms'); - $selected = Console::confirm('Choose SDK ("*" for all):'); + $selected = strtolower(Console::confirm('Choose SDK ("*" for all):')); $message = Console::confirm('Please enter your commit message:'); $production = (Console::confirm('Type "Appwrite" to deploy for production') == 'Appwrite'); @@ -50,7 +50,7 @@ $cli if($selected !== $language['key'] && $selected !== '*') { continue; } - + if(!$language['enabled']) { Console::warning($language['name'].' for '.$platform['name'] . ' is disabled'); continue; @@ -140,7 +140,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND $sdk = new SDK($config, new Swagger2($spec)); $sdk - ->setName($language['sdk']) + ->setName($language['name']) ->setDescription("Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the {$language['name']} SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)")