Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrating to androidx #88

Open
dhruvmendiratta6 opened this issue Jan 14, 2021 · 0 comments
Open

Migrating to androidx #88

dhruvmendiratta6 opened this issue Jan 14, 2021 · 0 comments

Comments

@dhruvmendiratta6
Copy link

To use firebase androidx dependencies are needed.
Here are some helpful links that I used:
https://medium.com/androiddevelopers/migrating-to-androidx-tip-tricks-and-guidance-88d5de238876
https://medium.com/@begalesagar/migrate-an-existing-project-to-androidx-from-support-libraries-adbac897089b
https://developer.android.com/jetpack/androidx/migrate

Stuff that I did:

  • add
android.useAndroidX=true
android.enableJetifier=true

to gradle.properties

  • use (basically the latest versions)
implementation 'com.github.bumptech.glide:glide:4.8.0'
implementation 'com.google.firebase:firebase-database:19.6.0'

in build.gradle(app)

  • In build.gradle make sure to use latest versions of com.google.gms:google-services
  • compileSdkVersion 28
  • migrate to androidx using the tutorials above
  • Replace import android.support.v7.app.AppCompatActivity; with import androidx.appcompat.app.AppCompatActivity;
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

No branches or pull requests

1 participant