Skip to content

Commit 445bb4a

Browse files
committed
Add new push message parameters
1 parent 45f821b commit 445bb4a

File tree

448 files changed

+1520
-1605
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

448 files changed

+1520
-1605
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
![Maven Central](https://img.shields.io/maven-central/v/io.appwrite/sdk-for-kotlin.svg?color=green&style=flat-square)
44
![License](https://img.shields.io/github/license/appwrite/sdk-for-kotlin.svg?style=flat-square)
5-
![Version](https://img.shields.io/badge/api%20version-1.6.0-blue.svg?style=flat-square)
5+
![Version](https://img.shields.io/badge/api%20version-1.6.1-blue.svg?style=flat-square)
66
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
77
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
88

@@ -39,7 +39,7 @@ repositories {
3939
Next, add the dependency to your project's `build.gradle(.kts)` file:
4040

4141
```groovy
42-
implementation("io.appwrite:sdk-for-kotlin:7.0.0")
42+
implementation("io.appwrite:sdk-for-kotlin:6.2.0")
4343
```
4444

4545
### Maven
@@ -50,7 +50,7 @@ Add this to your project's `pom.xml` file:
5050
<dependency>
5151
<groupId>io.appwrite</groupId>
5252
<artifactId>sdk-for-kotlin</artifactId>
53-
<version>7.0.0</version>
53+
<version>6.2.0</version>
5454
</dependency>
5555
</dependencies>
5656
```

docs/examples/java/account/create-email-password-session.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Client client = new Client()
99
Account account = new Account(client);
1010

1111
account.createEmailPasswordSession(
12-
"{$example}", // email
13-
"{$example}", // password
12+
"email@example.com", // email
13+
"password", // password
1414
new CoroutineCallback<>((result, error) -> {
1515
if (error != null) {
1616
error.printStackTrace();

docs/examples/java/account/create-email-token.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Client client = new Client()
99
Account account = new Account(client);
1010

1111
account.createEmailToken(
12-
"{$example}", // userId
13-
"{$example}", // email
12+
"<USER_ID>", // userId
13+
"email@example.com", // email
1414
false, // phrase (optional)
1515
new CoroutineCallback<>((result, error) -> {
1616
if (error != null) {

docs/examples/java/account/create-magic-u-r-l-token.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ Client client = new Client()
99
Account account = new Account(client);
1010

1111
account.createMagicURLToken(
12-
"{$example}", // userId
13-
"{$example}", // email
14-
"{$example}", // url (optional)
12+
"<USER_ID>", // userId
13+
"email@example.com", // email
14+
"https://example.com", // url (optional)
1515
false, // phrase (optional)
1616
new CoroutineCallback<>((result, error) -> {
1717
if (error != null) {

docs/examples/java/account/create-o-auth2token.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Account account = new Account(client);
1111

1212
account.createOAuth2Token(
1313
OAuthProvider.AMAZON, // provider
14-
"{$example}", // success (optional)
15-
"{$example}", // failure (optional)
14+
"https://example.com", // success (optional)
15+
"https://example.com", // failure (optional)
1616
listOf(), // scopes (optional)
1717
new CoroutineCallback<>((result, error) -> {
1818
if (error != null) {

docs/examples/java/account/create-phone-token.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Client client = new Client()
99
Account account = new Account(client);
1010

1111
account.createPhoneToken(
12-
"{$example}", // userId
13-
"{$example}", // phone
12+
"<USER_ID>", // userId
13+
"+12065550100", // phone
1414
new CoroutineCallback<>((result, error) -> {
1515
if (error != null) {
1616
error.printStackTrace();

docs/examples/java/account/create-recovery.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Client client = new Client()
1010
Account account = new Account(client);
1111

1212
account.createRecovery(
13-
"{$example}", // email
14-
"{$example}", // url
13+
"email@example.com", // email
14+
"https://example.com", // url
1515
new CoroutineCallback<>((result, error) -> {
1616
if (error != null) {
1717
error.printStackTrace();

docs/examples/java/account/create-session.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Client client = new Client()
99
Account account = new Account(client);
1010

1111
account.createSession(
12-
"{$example}", // userId
13-
"{$example}", // secret
12+
"<USER_ID>", // userId
13+
"<SECRET>", // secret
1414
new CoroutineCallback<>((result, error) -> {
1515
if (error != null) {
1616
error.printStackTrace();

docs/examples/java/account/create-verification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Client client = new Client()
1010
Account account = new Account(client);
1111

1212
account.createVerification(
13-
"{$example}", // url
13+
"https://example.com", // url
1414
new CoroutineCallback<>((result, error) -> {
1515
if (error != null) {
1616
error.printStackTrace();

docs/examples/java/account/create.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ Client client = new Client()
99
Account account = new Account(client);
1010

1111
account.create(
12-
"{$example}", // userId
13-
"{$example}", // email
12+
"<USER_ID>", // userId
13+
"email@example.com", // email
1414
"", // password
15-
"{$example}", // name (optional)
15+
"<NAME>", // name (optional)
1616
new CoroutineCallback<>((result, error) -> {
1717
if (error != null) {
1818
error.printStackTrace();

0 commit comments

Comments
 (0)