This repository was archived by the owner on Apr 8, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 241
Need standard proguard-rules.pro for Firebase Notification installation #215
Comments
I am using the standard one, and it works in release. I'm not saying it couldn't be proguard/D8/R8 doing it, but I'm saying the currently documented one does work for me |
Thanks for your answer, @mikehardy . I love to see your code of proguard-rules.pro as an attachment of your answer. Could you share it with me ? Again, thank you very much. |
Here's the full thing
Note my FIXME at the bottom has been there since I first integrated everything about a year ago, and I haven't gotten around to fixing it because it works I believe the firebase sdk libraries have their own proguard files internal, thus no entries |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Scenario
I have followed the documentation of react-native-firebase at the link https://rnfirebase.io/docs/v5.x.x/installation/android to install the react-native-firebase. The notification does not work when I build the release apk. However, it does work fine in debug mode.
I believe it is the proguard obfuscation which does not keep the relevant modules to make Firebase Notification work right way.
Asking for help
Would anyone mind giving me the proguard-rules.pro file which did work with FCM (Firebase Cloud Messaging), please ? Thanks for advance.
app/android/build.gradle
app/build.gradle
setting.gradle
MainApplication.java
AndroidManifest.xml
proguard-rules.pro
The text was updated successfully, but these errors were encountered: