Closed imijanur closed 1 year ago
@imijanur
Can you try by deleting pubspec.lock
, run flutter clean
and then flutter run
to see if it helps ?
Also, check if any of the third party plugin you are using could be causing any conflict with flutterfire plugins or not.
@darshankawar
I have tried it too, but there is no use, you can see the log its from cloud_firestore
plugin,
Its unable to import this class while compiling the package import com.google.firebase.firestore.TransactionOptions;
I dont find many issue regarding this thats why reported it. I really need help to run my app
I am unable to replicate this error using latest version of the plugin and using latest master version of the framework.
Can you try adding firebase_auth_platform_interface
library and see if it helps ?
Also, as suggested earlier, see if any of the community plugins you are using may be conflicting with latest version of cloud_firestore
by commenting them one by one from pubspec.yaml
and see which one could be causing the error.
I have tried all this but there is not proper solution, I have tried removing this package and then app works fine,
Here is another question on stacoverflow where I have written about the exact behavior of the run, please go through this too.
Anyways this solution already given by someone when I have reported issue on github but that didn't work.
Can you please check it out ?
On Wed, 21 Sept 2022, 18:55 darshankawar, @.***> wrote:
@imijanur https://github.com/imijanur Can you try by deleting pubspec.lock, run flutter clean and then flutter run to see if it helps ?
Also, check if any of the third party plugin you are using could be causing any conflict with flutterfire plugins or not.
— Reply to this email directly, view it on GitHub https://github.com/firebase/flutterfire/issues/9584#issuecomment-1253707805, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE5N2AGQEZEUJAR4U22K6ADV7MEEBANCNFSM6AAAAAAQR7WQQQ . You are receiving this because you were mentioned.Message ID: @.***>
What's your sdk version listed in android\app\build.gradle:
?
See this similar issue : https://stackoverflow.com/questions/73073196/how-do-i-fix-my-flutter-app-not-building-with-cloud-firestore
Compiled sdk 33 Target 33 Minsdk 25
On Thu, 22 Sept 2022, 16:21 darshankawar, @.***> wrote:
What's your sdk version listed in android\app\build.gradle: ?
See this similar issue : https://stackoverflow.com/questions/73073196/how-do-i-fix-my-flutter-app-not-building-with-cloud-firestore
— Reply to this email directly, view it on GitHub https://github.com/firebase/flutterfire/issues/9584#issuecomment-1254856267, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE5N2AB2E7UW3TPSAISVXVTV7Q23TANCNFSM6AAAAAAQR7WQQQ . You are receiving this because you were mentioned.Message ID: @.***>
Can you try with previous plugin versions one by one, ie, 3.4.7, 3.4.6 and see if you still get same error ? I am unable to replicate this after trying again.
Let me try again with 3.4.6 cause I have tried with 3.4.7 but same issue occurs
On Thu, 22 Sept 2022, 16:30 darshankawar, @.***> wrote:
Can you try with previous plugin versions one by one, ie, 3.4.7, 3.4.6 and see if you still get same error ? I am unable to replicate this after trying again.
— Reply to this email directly, view it on GitHub https://github.com/firebase/flutterfire/issues/9584#issuecomment-1254865010, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE5N2ADUM4TKVH2PHMUH5HLV7Q357ANCNFSM6AAAAAAQR7WQQQ . You are receiving this because you were mentioned.Message ID: @.***>
Still not working, after downgrading to 3.4.6 too
On Thu, 22 Sept 2022, 16:30 darshankawar, @.***> wrote:
Can you try with previous plugin versions one by one, ie, 3.4.7, 3.4.6 and see if you still get same error ? I am unable to replicate this after trying again.
— Reply to this email directly, view it on GitHub https://github.com/firebase/flutterfire/issues/9584#issuecomment-1254865010, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE5N2ADUM4TKVH2PHMUH5HLV7Q357ANCNFSM6AAAAAAQR7WQQQ . You are receiving this because you were mentioned.Message ID: @.***>
I am unable to replicate this issue, so keeping it open for further insights from the team.
/cc @russellwheatley
Hi @imijanur, have your problem solved? I'm also facing the same issue.
@gourav6m17 , nope not yet, but I have created a new project for this and didn't use the unnecessary packages, its working on the new project
Can either of you try flutter pub upgrade
and confirm ?
@darshankawar tried but same issue again and again. So downgrade only firestore with cloud_firestore: '2.5.3'
other firebase plugins are as:
firebase_core: ^1.22.0
firebase_messaging: '13.0.2'
Hey @imijanur, please provide the exact steps to reproduce this error. There isn't much we can do until we can reproduce. Thanks.
Hey @imijanur. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
Since there haven't been any recent updates here, I am going to close this issue.
@imijanur if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.
Bug report
after long time currently i am facing problem with my flutter project while using cloud_firestore plugin for realtime database on my app
Its showing error while compiling
all the dependencies are at latest version, can anyone resolve this issue so that i can complete the app using
cloud_firestore
?here is the complete log while trying to run the app
My current dependencies in
pubspec.yaml
is