Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@thatfiredev
Copy link
Member

Firebase Auth KTX was recently released. This should update our snippets to use it instead.

Additionally, I've replaced some of the null-safe expressions with !! because I'm afraid beginners who copy code from the Documentation might think their code is not being executed, when in reality some properties (like currentUser) are null.

implementation 'androidx.appcompat:appcompat:1.1.0'

implementation "com.google.firebase:firebase-auth:19.3.1"
implementation "com.google.firebase:firebase-storage:19.1.1"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently, this was not being used, so I removed it.

@samtstern
Copy link
Contributor

Thanks! And that's a good point about !! and snippets, I hadn't thought about it.

@samtstern samtstern merged commit 6191aff into firebase:master Apr 27, 2020
@thatfiredev thatfiredev deleted the rpf-auth-ktx-update branch November 12, 2020 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants