Update android GETTING_STARTED.md
This commit is contained in:
parent
8d7ab130ff
commit
a66fc13ebc
1 changed files with 7 additions and 7 deletions
|
@ -52,9 +52,9 @@ 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',
|
||||
'+123456789',
|
||||
'password',
|
||||
"email@example.com",
|
||||
"+123456789",
|
||||
"password",
|
||||
"Walter O'Brien"
|
||||
)
|
||||
```
|
||||
|
@ -74,9 +74,9 @@ val client = Client(context)
|
|||
val account = Account(client)
|
||||
val user = account.create(
|
||||
ID.unique(),
|
||||
'email@example.com',
|
||||
'+123456789',
|
||||
'password',
|
||||
"email@example.com",
|
||||
"+123456789",
|
||||
"password",
|
||||
"Walter O'Brien"
|
||||
)
|
||||
```
|
||||
|
@ -86,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','+123456789','password',"Walter O'Brien")
|
||||
var user = account.create(ID.unique(),"email@example.com","+123456789","password","Walter O'Brien")
|
||||
Log.d("Appwrite user", user.toMap())
|
||||
} catch(e : AppwriteException) {
|
||||
e.printStackTrace()
|
||||
|
|
Loading…
Reference in a new issue