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

Update firebase-core and google-services dependencies on gradle #48

Closed
GustavoContreiras opened this issue Apr 17, 2019 · 2 comments
Closed

Comments

@GustavoContreiras
Copy link
Contributor

GustavoContreiras commented Apr 17, 2019

My android/build.gradle:

dependencies {
        classpath 'com.android.tools.build:gradle:3.0.1'
        //classpath 'com.google.gms:google-services:3.2.0' //fluttergram original
        classpath 'com.google.gms:google-services:4.0.1' //firebase tutorial recommended
}

My app/build.gradle:

dependencies {
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.1'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
    //compile 'com.google.firebase:firebase-core:11.8.0' //fluttergram original
    implementation 'com.google.firebase:firebase-core:16.0.1' //firebase tutorial recommended
}

My pubspec.yaml:

dependencies:
  flutter:
    sdk: flutter
  cloud_firestore: ^0.8.2+1
  circular_profile_avatar: ^0.1.6
  image_picker: 0.4.1
  firebase_storage: 1.0.4
  # firebase_auth: 0.6.2+1
  firebase_auth: 0.7.0
  google_sign_in: ^3.2.1
  uuid: 1.0.3
  image: 2.0.4
  path_provider: 0.4.1
  font_awesome_flutter: 8.0.1
  async: "^2.0.4"
  http: "^0.12.0"
  shared_preferences: "^0.4.1"
  cached_network_image: "^0.5.0"
  firebase_messaging: ^2.0.2
  location: ^1.4.1
  geocoder: ^0.1.1

I think it's ok to update it. Working without errors here (in the version without AndroidX).

@mdanics
Copy link
Owner

mdanics commented May 3, 2019

Awesome thanks!

@mdanics mdanics closed this as completed May 3, 2019
@randaalfakih
Copy link

randaalfakih commented May 7, 2019 via email

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

3 participants