Closed S0z1e closed 1 year ago
Hello, Could you share your airship config, your push icon and your build.gradle files please ? I think you might have proguard minifying enabled in release that may shrink your image resources. Is that the case ?
Screenshots of the airship configuration are shown below.
screenshots of the push icon are shown below
build.gradle
proguard-rule.pro
@Ulrico972
Could you try by adding your image resource to a keep file to prevent any resource shrink ? https://developer.android.com/build/shrink-code#keep-resources
Also could you share how your push icon look like ? And also your App icon ? I'm wondering if that's your app icon that is used instead and is probably not monochrome so showing a square of your accent color. That would mean that your push icon is somehow not available in your release version.
This issue was resolved using keep files, thank you. @Ulrico972
Preliminary Info
What Airship dependencies are you using?
airship_flutter: ^7.1.2
What unexpected behavior are you seeing?
In debug mode the push icon is displayed, but in release mode after receiving a push there is no push icon.
What is the expected behavior?
The push icon needs to be displayed properly in the release APK.
What are the steps to reproduce the unexpected behavior?
Do you have logging for the issue?
none.