Skip to content

Commit 00e5c47

Browse files
committed
chore: bug fixes and improvements
1 parent f8081dd commit 00e5c47

File tree

119 files changed

+399
-2223
lines changed

Some content is hidden

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

119 files changed

+399
-2223
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
88
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
99

10-
**This SDK is compatible with Appwrite server version 1.5.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-flutter/releases).**
10+
**This SDK is compatible with Appwrite server version 1.4.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-flutter/releases).**
1111

1212
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 Flutter 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)
1313

@@ -21,7 +21,7 @@ Add this to your package's `pubspec.yaml` file:
2121

2222
```yml
2323
dependencies:
24-
appwrite: ^12.0.0-rc.1
24+
appwrite: ^11.0.1
2525
```
2626
2727
You can install packages from the command line:

β€Ždocs/examples/account/create-email-password-session.mdβ€Ž

Lines changed: 0 additions & 22 deletions
This file was deleted.

docs/examples/account/create-magic-u-r-l-token.md renamed to docs/examples/account/create-email-session.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ void main() { // Init SDK
88
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
99
.setProject('5df5acd0d48c2') // Your project ID
1010
;
11-
Future result = account.createMagicURLToken(
12-
userId:'[USER_ID]' ,
13-
11+
Future result = account.createEmailSession(
12+
13+
password: 'password',
1414
);
1515

1616
result

docs/examples/account/create-email-token.md renamed to docs/examples/account/create-magic-u-r-l-session.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ void main() { // Init SDK
88
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
99
.setProject('5df5acd0d48c2') // Your project ID
1010
;
11-
Future result = account.createEmailToken(
12-
userId:'[USER_ID]' ,
13-
11+
Future result = account.createMagicURLSession(
12+
userId: '[USER_ID]',
13+
1414
);
1515

1616
result

β€Ždocs/examples/account/create-o-auth2session.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ void main() { // Init SDK
99
.setProject('5df5acd0d48c2') // Your project ID
1010
;
1111
Future result = account.createOAuth2Session(
12-
provider: OAuthProvider.amazon.value,
12+
provider: 'amazon',
1313
);
1414

1515
result

docs/examples/account/create-challenge.md renamed to docs/examples/account/create-phone-session.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ void main() { // Init SDK
88
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
99
.setProject('5df5acd0d48c2') // Your project ID
1010
;
11-
Future result = account.createChallenge(
12-
provider: AuthenticatorProvider.totp.value,
11+
Future result = account.createPhoneSession(
12+
userId: '[USER_ID]',
13+
phone: '+12065550100',
1314
);
1415

1516
result

β€Ždocs/examples/account/create-phone-token.mdβ€Ž

Lines changed: 0 additions & 22 deletions
This file was deleted.

β€Ždocs/examples/account/create-push-target.mdβ€Ž

Lines changed: 0 additions & 22 deletions
This file was deleted.

β€Ždocs/examples/account/create-recovery.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ void main() { // Init SDK
99
.setProject('5df5acd0d48c2') // Your project ID
1010
;
1111
Future result = account.createRecovery(
12-
13-
url:'https://example.com' ,
12+
13+
url: 'https://example.com',
1414
);
1515

1616
result

β€Ždocs/examples/account/create-session.mdβ€Ž

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
Β (0)