()
| 112 | } |
| 113 | |
| 114 | async loginWithPhone() { |
| 115 | try { |
| 116 | const cred = PhoneAuthProvider.provider().credential(this.verificationId, this.code); |
| 117 | const value = await firebase().auth().signInWithCredential(cred); |
| 118 | console.log('verificationId', this.verificationId); |
| 119 | console.log('loginUser', value); |
| 120 | this._setCurrentUser(value.user); |
| 121 | } catch (e) { |
| 122 | console.log('linkPhone error:', e); |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | createUser() { |
| 127 | firebase() |
nothing calls this directly
no test coverage detected