-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Update GETTING_STARTED.md #6826
Changes from 50 commits
93fa749
9ccaa5a
eaba2eb
8cc1c0d
4be8be1
777c8dd
b334f2e
0587aec
613a733
2c3b860
006d423
0d314df
7d2b450
e93681a
086116d
acc408f
303212f
bb9dd44
4b7c13d
af87c24
7721f29
2d123f6
ec17284
8ac7aca
e920c1f
ba8cafb
e6b0d22
2cce144
d37bfa0
5138d4c
569d54b
8d7ab13
a66fc13
8fed930
ea282a1
6c4983f
618c145
15863c2
0c2374e
154e972
f628115
902f20f
88efb36
a5ea32c
d3b91b5
a26c921
b2e4513
0853de0
7d23b0a
c2c6451
da504ba
9eea574
c2ce7d0
daec743
7791cdc
eefbc68
f287e60
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,8 +52,10 @@ When trying to connect to Appwrite from an emulator or a mobile device, localhos | |
val account = Account(client) | ||
val response = account.create( | ||
ID.unique(), | ||
"email@example.com", | ||
"password" | ||
"email@example.com", | ||
"+123456789", | ||
"password", | ||
"Walter O'Brien" | ||
) | ||
``` | ||
|
||
|
@@ -72,8 +74,10 @@ val client = Client(context) | |
val account = Account(client) | ||
val user = account.create( | ||
ID.unique(), | ||
gewenyu99 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"email@example.com", | ||
"password" | ||
"email@example.com", | ||
"+123456789", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This method does not take a phone number |
||
"password", | ||
"Walter O'Brien" | ||
) | ||
``` | ||
|
||
|
@@ -82,7 +86,7 @@ The Appwrite Android SDK raises an `AppwriteException` object with `message`, `c | |
|
||
```kotlin | ||
try { | ||
var user = account.create(ID.unique(), "email@example.com", "password") | ||
var user = account.create(ID.unique(),"email@example.com","+123456789","password","Walter O'Brien") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here |
||
Log.d("Appwrite user", user.toMap()) | ||
} catch(e : AppwriteException) { | ||
e.printStackTrace() | ||
|
@@ -94,4 +98,4 @@ You can use the following resources to learn more and get help | |
- 🚀 [Getting Started Tutorial](https://appwrite.io/docs/getting-started-for-android) | ||
- 📜 [Appwrite Docs](https://appwrite.io/docs) | ||
- 💬 [Discord Community](https://appwrite.io/discord) | ||
- 🚂 [Appwrite Android Playground](https://github.com/appwrite/playground-for-android) | ||
- 🚂 [Appwrite Android Playground](https://github.com/appwrite/playground-for-android) |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,9 +75,11 @@ let account = Account(client) | |
|
||
do { | ||
let user = try await account.create( | ||
userId: ID.unique(), | ||
email: "email@example.com", | ||
password: "password" | ||
userId: ID.unique(), | ||
gewenyu99 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
email: "email@example.com", | ||
phone: "+123456789", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here |
||
password: "password", | ||
name: "Walter O'Brien" | ||
) | ||
print(String(describing: user.toMap())) | ||
} catch { | ||
|
@@ -100,9 +102,11 @@ func main() { | |
|
||
do { | ||
let user = try await account.create( | ||
userId: ID.unique(), | ||
email: "email@example.com", | ||
password: "password" | ||
userId: ID.unique(), | ||
email: "email@example.com", | ||
phone: "+123456789", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here |
||
password: "password", | ||
name: "Walter O'Brien" | ||
) | ||
print(String(describing: account.toMap())) | ||
} catch { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method does not take a phone number