1
0
Fork 0
mirror of synced 2024-06-14 00:34:51 +12:00

Rectified android GETTING_STARTED.md

removed phone number from account.create() function as it does not accept it.
This commit is contained in:
Pratik Gupta 2023-10-24 08:59:36 +05:30 committed by GitHub
parent c2c645188d
commit da504ba46c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,7 +53,6 @@ val account = Account(client)
val response = account.create(
ID.unique(),
"email@example.com",
"+123456789",
"password",
"Walter O'Brien"
)
@ -75,7 +74,6 @@ val account = Account(client)
val user = account.create(
ID.unique(),
"email@example.com",
"+123456789",
"password",
"Walter O'Brien"
)
@ -86,7 +84,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","password","Walter O'Brien")
Log.d("Appwrite user", user.toMap())
} catch(e : AppwriteException) {
e.printStackTrace()