Comments (7)
Hi @mufarrah , the update is live (v1.0.6). Try using the latest version and set the linkWithExistingUser to true, that'll internally call the linkWithCredential method, and work as expected.
Thanks for reporting this issue.
from firebase_phone_auth_handler.
Hey @mufarrah, what I can do is expose a boolean something like linkWithExistingUser, that calls the linkWithCredential instead of calling signInWithCredential. I think that'll fix this issue.
from firebase_phone_auth_handler.
Hey @mufarrah, what I can do is expose a boolean something like linkWithExistingUser, that calls the linkWithCredential instead of calling signInWithCredential. I think that'll fix this issue.
Could i have a code snippet that explains how to merge this suggested change with the existing code of the package please ??
from firebase_phone_auth_handler.
Would have a flag that would call the linkWithCredential method instead of the signInWithCredential.
from firebase_phone_auth_handler.
I'll push out a new release today, that'll address this issue.
from firebase_phone_auth_handler.
Hey well done , thanks for the update . I'll try it out , does that works on web as well ?? because im using web. and from which widget i call the linkWithCredential ??
from firebase_phone_auth_handler.
The boolean can be passed on the FirebasePhoneAuthHandler widget, and right now it does not work on the web. I was not able to get the authCredential from web sign in, and hence, cannot call the method to link.
On the web, as soon as the OTP is confirmed, the user is signed in automatically.
from firebase_phone_auth_handler.
Related Issues (18)
- Web support with signInWithPhoneNumber? HOT 2
- calling api inside onLoginSuccess callback HOT 5
- web compatibility HOT 10
- Update HOT 3
- Question - ReAuthentication is it possible? HOT 6
- Question - Is there any permission need to be provided so SMS can be read by the Flutter App? HOT 4
- FlutterError: Looking up a deactivated widget's ancestor is unsafe. HOT 5
- Enable Android Device Verification HOT 4
- UI glitch in OTP screen HOT 3
- Phone authentication fails when deep link is enabled in ios. HOT 1
- [question] is it work with huawei phone that not include gms ? HOT 2
- macOS Compatibility
- Can we disable auto login success when receiving SMS code on android devices HOT 1
- Disable Auto Send Code Verification HOT 3
- Why lib does not handle of sending code error HOT 3
- login happens after time out HOT 2
- Question - Can I redirect user based on whether he is NewUser or not HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firebase_phone_auth_handler.