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
+1 -3
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()