-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
help: needs-triageIssue needs additional investigation/triaging.Issue needs additional investigation/triaging.platform: androidplugin: authenticationFirebase AuthenticationFirebase Authentication
Description
Issue
Hello, I'm using phone auth, and it works on ios, but dont on android. After confirming code I get the error auth/session-expired - ofc I understand that is it mean, but I don't understand why, and how to fix it. Could you help me?
sendCode() {
firebase.auth().signInWithPhoneNumber(this.store.phoneNumber)
.then(confirmResult => {
this.store.setConfirmResult(confirmResult)
}).catch(error => {
console.log(error)
})
}
authorize() {
this.store.confirmResult.confirm(this.store.code)
.then(user => {
console.log(user)
})
.catch(error => {
console.log(error)
})
}
Environment
- Application Target Platform: Android
- Development Operating System: macOS Sierra
- Build Tools: Android Studio 2.3.3, Android SDK 26.1.1
- React Native version: 0.49.3
- RNFirebase Version: 3.0.3
- Firebase Module: auth (phone)
pranav-pandey, raajnadar, OlaAde, jonathanpalma, tunm1228 and 5 more
Metadata
Metadata
Assignees
Labels
help: needs-triageIssue needs additional investigation/triaging.Issue needs additional investigation/triaging.platform: androidplugin: authenticationFirebase AuthenticationFirebase Authentication