From de10694090d63c4d6b8d39a3f651f5b6cc21d0c0 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Mon, 18 Oct 2021 09:08:56 +0200 Subject: [PATCH] feat(version): support 0.11.0 --- README.md | 8 ++++---- build.gradle | 2 +- library/src/main/java/io/appwrite/services/Teams.kt | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f4fdd6d..862d6b8 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,12 @@ ![Maven Central](https://img.shields.io/maven-central/v/io.appwrite/sdk-for-android.svg?color=green&style=flat-square) ![License](https://img.shields.io/github/license/appwrite/sdk-for-android.svg?style=flat-square) -![Version](https://img.shields.io/badge/api%20version-0.10.0-blue.svg?style=flat-square) +![Version](https://img.shields.io/badge/api%20version-0.11.0-blue.svg?style=flat-square) [![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator) [![Twitter Account](https://img.shields.io/twitter/follow/appwrite_io?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite_io) [![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord) -**This SDK is compatible with Appwrite server version 0.10.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-android/releases).** +**This SDK is compatible with Appwrite server version 0.11.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-android/releases).** 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 Android 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) @@ -38,7 +38,7 @@ repositories { Next, add the dependency to your project's `build.gradle(.kts)` file: ```groovy -implementation("io.appwrite:sdk-for-android:0.2.0") +implementation("io.appwrite:sdk-for-android:0.2.1") ``` ### Maven @@ -49,7 +49,7 @@ Add this to your project's `pom.xml` file: io.appwrite sdk-for-android - 0.2.0 + 0.2.1 ``` diff --git a/build.gradle b/build.gradle index f7f3d55..4df4d35 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'io.github.gradle-nexus.publish-plugin' // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { ext.kotlin_version = "1.4.31" - version '0.2.0' + version '0.2.1' repositories { maven { url "https://plugins.gradle.org/m2/" } google() diff --git a/library/src/main/java/io/appwrite/services/Teams.kt b/library/src/main/java/io/appwrite/services/Teams.kt index b003bd9..741fd03 100644 --- a/library/src/main/java/io/appwrite/services/Teams.kt +++ b/library/src/main/java/io/appwrite/services/Teams.kt @@ -231,9 +231,9 @@ class Teams(client: Client) : Service(client) { val path = "/teams/{teamId}/memberships".replace("{teamId}", teamId) val params = mapOf( "email" to email, - "name" to name, "roles" to roles, - "url" to url + "url" to url, + "name" to name ) val headers = mapOf(