[Bug] No App Icon Assigned for Leanplum Push Notifications
Steps to reproduce
- When sending a notification using the Preview app, there is no icon set to display for the app.
Expected behavior
- Should have the Preview icon
Actual behavior
- A gray circle is instead displayed
Device information
- Android device: Google Pixel 3 OS 10
- Fenix version: 4.1.0
This is the documentation provided by Leanplum to add an icon for the app: https://docs.leanplum.com/docs/customize-your-push-notifications-sample-android

┆Issue is synchronized with this Jira Task
@jonalmeida @st3fan for visibility
This should be fixed when the linked PR lands:
Sending a test notification in the nightly app with an Android 10 device should no longer show this grey circle icon.
cc: @lwa-moz
@jonalmeida sounds good - to make 100% sure we're testing the right app. By "Nightly app" would that be Preview Nightly, Fennec Nightly, or both?
Correct, both should work.
@jonalmeida I just contacted Loren since I wasn't seeing the update in the Firefox Preview app yet. Just to confirm, I never experienced this issue in any Beta & Nightly tests I had done, just solely in Firefox Preview. Does this mean the fix won't be complete in Firefox Preview until the next update to that app?
Does this mean the fix won't be complete in Firefox Preview until the next update to that app?
@cbonacuse this has landed in Fenix and Fennec Nightly. There hasn't been a new fennec beta build since this landed so it would only make it for the next beta release. I'm not sure when that would be next although I'm sure we could find out.
Hi, I've just checked this matter on: • Fenix Nightly 200429 from 4/29 • Fenix Beta 5.0.0-beta.1 from 4/29 • Fennec Nightly 200429 from 4/29
using the following devices: • Google Pixel 3a (Android 10) • Huawei Mate 20 Lite (Android 9) • OnePlus A3 (Android 6.0.1)
✔️ Fenix Nightly

❌ Fenix Beta 5.0.0-beta.1 - No push token got generated

✔️ Fennec Nightly 200429

@jonalmeida - Please review and share your thoughts. ☺️ I'll remove the QA needed label until further notice
Fenix Beta 5.0.0-beta.1 No push token got generated
We should check if we want to switch from the GCM token to the FCM for beta now that we are considering it fully migrated.
@jonalmeida please keep the token as-is - we have messages going out to users still on the Fennec code in Beta through next week. cc: @lwa-moz
@jonalmeida please keep the token as-is - we have messages going out to users still on the Fennec code in Beta through next week. cc: @lwa-moz
Thank you for clarifying! We can close this as tested then since it works on nightly and should do the same when we switch the tokens over.
Thank you @AndiAJ for your help as well!
Hi @jonalmeida, Liza tested this today for the first time in Beta Fenix and is not seeing the app icon. I ran a test in Firefox Preview and this did work for me. Did the update somehow skip Beta even though the fix was in the Preview release on 4/30? Below is our device information:
Liza's test that did not work as expected:
- App: Firefox Beta
- Device: OnePlus ONEPLUS A6013
- OS: 10
- App version: 75.0.0-beta.6
Caitlin's test that worked as expected:
- App: Firefox Preview
- Device: Google Pixel 3
- OS: 10
- App version: 4.3.0
cc: @lwa-moz & @st3fan for visibility

@liuche this bug wasn't fixed in Firefox Beta as of last Friday but it works in Preview. Can we keep it open until it is fixed in Beta?
We're currently at 5% rollout for Firefox Beta: https://bugzilla.mozilla.org/show_bug.cgi?id=1639964
So once we hit 100% we can validate/close this, or you can also test on the Beta builds here: ~~https://firefox-ci-tc.services.mozilla.com/tasks/index/project.mobile.fenix.v2.beta.2020.06.02.revision~~ https://firefox-ci-tc.services.mozilla.com/tasks/index/project.mobile.fenix.v2.fennec-beta.2020.06.02.revision/d383dbdff38feabf5dc33aefba7e8036f8adc49e (sorry, previous was the wrong apk!)
Hi, I've just checked this matter on both Fenix Beta 5.2.0-beta.2 from 6/16 and Firefox Migration Build 5.2.0-beta.2 from 6/16 from using the following devices:
• Google Pixel 3a (Android 10)
• Huawei Mate 20 Lite (Android 9)
• OnePlus A3 (Android 6.0.1)
✔️ Firefox Migration Build 5.2.0-beta.2

❌ Fenix Beta 5.2.0-beta.2 from 6/16 - No push tokens
@jonalmeida - Please review and advise. ☺️
@AndiAJ
Fenix Beta 5.2.0-beta.2 from 6/16- No push tokens
This is expected. Fenix beta builds no longer have Leamplum push enabled.
