Rectified android GETTING_STARTED.md
removed phone number from account.create() function as it does not accept it.
This commit is contained in:
parent
c2c645188d
commit
da504ba46c
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue