Skip to content
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

1.6.x #58

Merged
merged 8 commits into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-1.5.6-blue.svg?style=flat-square)
![Version](https://img.shields.io/badge/api%20version-1.6.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?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)

**This SDK is compatible with Appwrite server version 1.5.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-android/releases).**
**This SDK is compatible with Appwrite server version 1.6.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)

Expand Down Expand Up @@ -38,7 +38,7 @@ repositories {
Next, add the dependency to your project's `build.gradle(.kts)` file:

```groovy
implementation("io.appwrite:sdk-for-android:5.1.1")
implementation("io.appwrite:sdk-for-android:6.0.0")
```

### Maven
Expand All @@ -49,7 +49,7 @@ Add this to your project's `pom.xml` file:
<dependency>
<groupId>io.appwrite</groupId>
<artifactId>sdk-for-android</artifactId>
<version>5.1.1</version>
<version>6.0.0</version>
</dependency>
</dependencies>
```
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-anonymous-session.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-email-token.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-j-w-t.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-magic-u-r-l-token.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-mfa-authenticator.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import io.appwrite.enums.AuthenticatorType;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-mfa-challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import io.appwrite.enums.AuthenticationFactor;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-mfa-recovery-codes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-o-auth2session.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import io.appwrite.enums.OAuthProvider;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-o-auth2token.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import io.appwrite.enums.OAuthProvider;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-phone-token.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-phone-verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-push-target.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-recovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-session.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/delete-identity.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
3 changes: 1 addition & 2 deletions docs/examples/java/account/delete-mfa-authenticator.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ import io.appwrite.enums.AuthenticatorType;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

account.deleteMfaAuthenticator(
AuthenticatorType.TOTP, // type
"<OTP>", // otp
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/delete-push-target.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/delete-session.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/delete-sessions.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/get-mfa-recovery-codes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/get-prefs.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/get-session.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/get.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/list-identities.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/list-logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/list-mfa-factors.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/list-sessions.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-email.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-m-f-a.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-magic-u-r-l-session.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-mfa-authenticator.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import io.appwrite.enums.AuthenticatorType;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-mfa-challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-mfa-recovery-codes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-name.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-password.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-phone-session.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-phone-verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;

Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setProject("5df5acd0d48c2"); // Your project ID
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);

Expand Down
Loading