This tutorial will show you how to implement the authentication feature with Firebase using the phone number, you have to know that, for security concerns, this is not the most recommended way for authenticating users as you can read in the official firebase documentation. Note also that I have slightly the code in ActivityAccount, since the new user authenticated with phone number has not a database entry, then this would trigger a NullPointerException in the ActivityAccount while trying to read the name and imageUrl, this is why in the TextView is showing null as the name, this will be fixed soon no worries, for now, I just fixed the NullPointerException so it does not crash my app.
Source code:
http://adf.ly/1m2CTD
If there is something that is shown in the video but I did not explain that, it is most likely because that was explained in previous tutorials, so please make sure to check those out, nevermind you can leave me any suggestion, question, feedback or whatever.
Do not forget to like this video, share and subscribe to my channel!!
blog melardev.x10host.com
twitter http://twitter.com/melardev
blogger https://melardev.blogspot.com
Instagram https://www.instagram.com/melar_dev/
Google+ https://plus.google.com/u/0/110174297675710954678
Comments
Post a Comment