1
0
Fork 0
mirror of synced 2024-07-04 14:10:33 +12:00

Update android GETTING_STARTED.md

This commit is contained in:
Pratik Gupta 2023-10-19 00:40:09 +05:30 committed by GitHub
parent 8d7ab130ff
commit a66fc13ebc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()