'Flutter Firebase not working on release app
Flutter Firebase not working when used in release mode while the app is working perfectly fine when in debug mode. I have added SHA-1 fingerprints but it didn't help.
ps. I have also connected back4app database in the app.
Solution 1:[1]
I solved the error by adding these two lines in the android/app/build.gradle :
buildTypes {
release {
shrinkResources false
minifyEnabled false
signingConfig signingConfigs.debug
}
}
Solution 2:[2]
SHA-1 is different between release and debug
update
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Yeasin Sheikh |
| Solution 2 |

