-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[firebase_messaging] firebase_messaging plugin causing build error in android #188
Comments
same error? |
what is your flutter version? Upgrading to Flutter (Channel stable, v1.9.1+hotfix.2) fixed the same. |
But what if I don't want to change the Flutter version at all? We are on the verge of completing a project. I am using the version ^1.7.8+hotfix.4. |
The same issue |
@DagobertDokate by any means did you run |
@satyen893 Not that I'm aware of. Flutter --version also says version 1.7. The only thing I did was flutter pub cache repair. |
@DagobertDokate you can change you dependency to firebase_messaging: ">=5.0.2 <5.1.5" |
I don't see the problem directly:
But the dependency tree says 5.1.6. Why? oO
|
@DagobertDokate comment out |
Does not solve the problem. Deleting the .pub-cache directory also does not improve the situation. I am open for further suggestions.^^ How can I check if pub sends me the right packet? What is the link about the pub that loads packages? |
did you remove the caret sign before the version number ? |
Now I'm really confused. The instructions for Flutter always say very clearly: 'firebase_messaging: ^5.1.6'. |
I have the latest flutter version- |
Only happens when compiling on release mode for android. It works in debug though. Build failed LOG------------------------------------> FAILURE: Build failed with an exception.
BUILD FAILED in 1m 54s Kindly Help |
No you don't need to remove it from all your dependencies. It is just in this case that you need 5.1.5 twhich is compatible with flutter v1.7. |
Yes, but the install guid cleary said 'firebase_messageing: ^5.15'. In every dep is '^'. What i should remove it in this case? I don't understand oO |
no, Not the same |
I have upgraded to firebase_messaging : ^5.1.6 and the error has changed - FAILURE: Build failed with an exception.
BUILD FAILED in 2m 3s |
@DagobertDokate for now to make your application up and running remove '^' from the |
this issue is with cloudfirestore plugin |
bad 5.1.6 version.... |
I get this error in ios now o pushing notification - |
Kindly help ! |
same here. Did anyone resolved this issue?? |
forcing the package version "firebase_messaging: 5.1.5" (remove ^) has solved the issue for me. |
Hi @Peteritor |
we have to add |
Old version supports This will solve this issue due to upgrade but you might get other issues due to upgrade. |
Whenever I apply the firebase_messaging plugin, The compiler throws deprecated error on building for android. I tried to change the gradle version, it works in debug mode but not in release. Kindly help regarding this, Its very crucial for me. Thank you.
The text was updated successfully, but these errors were encountered: