You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey Everybody,
I'm new to flutter and firebase, and recently I had a lot of problems and hardnesses for implementing firebase to a flutter app, but anyway, after creating my app and adding the google services file to my project and editing gradle files, when I added 3 packages from pub.dev(firebase_auth, firebase_core and cloud_firestore) and running the flutter packages get, and finally running my app, I got this red error in my console :
Note: C:\Users\Parsa\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\cloud_firestore-0.12.9+4\android\src\main\java\io\flutter\plugins\firebase\cloudfirestore\CloudFirestorePlugin.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: C:\Users\Parsa\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\cloud_firestore-0.12.9+4\android\src\main\java\io\flutter\plugins\firebase\cloudfirestore\CloudFirestorePlugin.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.
My app was built successfully but I am wondering if there is a problem with my configuration or it's just a simple deprecation error?
Any help and comment are welcome.
Thanks a lot.
I want to put my gradle files and my pubspec.yaml file here in case you want to take a look at it: My project level gradle file
iapicca
changed the title
Getting red deprecation error when running my app that uses firebase packages
[all] Getting red deprecation error when running my app that uses firebase packages
Oct 23, 2019
Hi @officer47p
I see there's an open issue addressing the case you described.
Please follow up on that issue,
I'm closing the current one as duplicate.
If you disagree please write in the comments
and I will reopen it.
Thank you
Hey Everybody,
I'm new to flutter and firebase, and recently I had a lot of problems and hardnesses for implementing firebase to a flutter app, but anyway, after creating my app and adding the google services file to my project and editing gradle files, when I added 3 packages from pub.dev(firebase_auth, firebase_core and cloud_firestore) and running the flutter packages get, and finally running my app, I got this red error in my console :
Note: C:\Users\Parsa\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\cloud_firestore-0.12.9+4\android\src\main\java\io\flutter\plugins\firebase\cloudfirestore\CloudFirestorePlugin.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: C:\Users\Parsa\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\cloud_firestore-0.12.9+4\android\src\main\java\io\flutter\plugins\firebase\cloudfirestore\CloudFirestorePlugin.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.
My app was built successfully but I am wondering if there is a problem with my configuration or it's just a simple deprecation error?
Any help and comment are welcome.
Thanks a lot.
I want to put my gradle files and my pubspec.yaml file here in case you want to take a look at it:
My project level gradle file
My app level gradle file
My pubspec.yaml file
The text was updated successfully, but these errors were encountered: