fenix icon indicating copy to clipboard operation
fenix copied to clipboard

[Bug] No App Icon Assigned for Leanplum Push Notifications

Open cbonacuse opened this issue 6 years ago • 17 comments

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 Screenshot_20200324-171447

┆Issue is synchronized with this Jira Task

cbonacuse avatar Mar 25 '20 20:03 cbonacuse

@jonalmeida @st3fan for visibility

lwa-moz avatar Mar 26 '20 19:03 lwa-moz

This should be fixed when the linked PR lands:

Screen Shot 2020-04-15 at 3 37 27 PM

jonalmeida avatar Apr 15 '20 19:04 jonalmeida

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 avatar Apr 21 '20 20:04 jonalmeida

@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?

lwa-moz avatar Apr 21 '20 20:04 lwa-moz

Correct, both should work.

jonalmeida avatar Apr 21 '20 20:04 jonalmeida

@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?

cbonacuse avatar Apr 21 '20 20:04 cbonacuse

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.

jonalmeida avatar Apr 21 '20 21:04 jonalmeida

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 rsz_1rsz_1screenshot_20200429-184102

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

✔️ Fennec Nightly 200429 rsz_fennec

@jonalmeida - Please review and share your thoughts. ☺️ I'll remove the QA needed label until further notice

AndiAJ avatar Apr 29 '20 16:04 AndiAJ

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 avatar Apr 29 '20 16:04 jonalmeida

@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

cbonacuse avatar Apr 29 '20 17:04 cbonacuse

@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!

jonalmeida avatar Apr 29 '20 17:04 jonalmeida

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 Beta

cbonacuse avatar May 13 '20 19:05 cbonacuse

@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?

vesta0 avatar May 26 '20 16:05 vesta0

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!)

liuche avatar Jun 02 '20 17:06 liuche

Confirmed this is fixed in Beta (QA campaign in LP here).

Thank you! This can be closed out. Screenshot_20200602-170145

cbonacuse avatar Jun 02 '20 21:06 cbonacuse

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 rsz_1rsz_screenshot_20200622-163345

❌ Fenix Beta 5.2.0-beta.2 from 6/16 - No push tokens

@jonalmeida - Please review and advise. ☺️

AndiAJ avatar Jun 22 '20 13:06 AndiAJ

@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.

jonalmeida avatar Jun 22 '20 14:06 jonalmeida