how to make login authentication in realm sdk #1430
RAIHANMLN12
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hello everyone, my name is raihan, i'm a beginner in using realm kotlin. I currently developed an android app, so i make sign up and login form. i have a problem with login form.
here's my code:
fun checkUser(email: String, password: String) : Boolean {
val user = Database.realm.query("email", email, "password", password).first().find()
return user!= null
}
when i run the app, the logcat give this error message:
java.lang.IllegalArgumentException: [RLM_ERR_INVALID_QUERY_STRING]: Invalid predicate: 'email': syntax error, unexpected end of file
please help me guys, thank you very much
Beta Was this translation helpful? Give feedback.
All reactions