fenix icon indicating copy to clipboard operation
fenix copied to clipboard

Product & Marketing Should Be Able to Send Push Notifications to Users

Open Sdaswani opened this issue 7 years ago • 47 comments

Why/User Benefit/User Problem

Product & Marketing Should Be Able to Send Push Notifications to Users to let them know about all the great features of Fenix.

What / Requirements

  • Fenix has to integrate FCM SDK
  • Fenix has to use some concoction of Android Components to be able to register for and receive push notifications

Acceptance Criteria (how do I know when I’m done?)

Product / Marketing can send a push to Fenix builds A user can opt out of LP/messaging

┆Issue is synchronized with this Jira Task

Sdaswani avatar Feb 04 '19 19:02 Sdaswani

@bbinto Fennec is actually getting away with not using FCM, but Fenix can't as GCM will be deprecated on April 10 and we can't pin to the old Google Play Services version either.

https://bugzilla.mozilla.org/show_bug.cgi?id=1510730

Sdaswani avatar Feb 04 '19 19:02 Sdaswani

I removed the links to the A-C Push work because now with the new title of this issue, I think this is actually a duplicate of the Leanplum SDK Integration ticket instead.

st3fan avatar Feb 04 '19 19:02 st3fan

jennifer davidson did some awesome research on firefox desktop interruptions. i highly encourage people to watch the product club video and take this into consideration for this user story/feature.

https://vreplay.mozilla.com/replay/showRecordingExternal.html?key=HJI4gtp2yXDG8B3

lime124 avatar Feb 05 '19 20:02 lime124

@bbinto to prioritize

boek avatar Mar 26 '19 16:03 boek

I agree with @st3fan as this should be covered by the Leanplum SDK integration. @st3fan would we still have to support/integrate with FCM if we use Leanplum SDK - I feel that's a technical question I can't answer.

bbinto avatar Mar 26 '19 22:03 bbinto

Just waiting for Send Tab to be completed.

bifleming avatar Jul 15 '19 17:07 bifleming

@boek is this ready to be worked on? Follow-up from Backlog grooming yesterday.

liuche avatar Jul 25 '19 21:07 liuche

Send tab is landed, removing AC dep.

liuche avatar Aug 01 '19 22:08 liuche

Probably need to just get keys into LP and then test it.

liuche avatar Aug 02 '19 17:08 liuche

https://news.ycombinator.com/item?id=20586299

A simple change I'd like to see in tech culture is to change how we refer to the notifications feature. We should call them interruptions instead.

Do I want my meeting interrupted if my spouse calls with an emergency? Absolutely.

Do I want that meeting interrupted to find out I've been given a $10 Lyft credit? Absolutely not.

I don't want to be interrupted by Firefox push notifications either.

nyanpasu64 avatar Aug 04 '19 04:08 nyanpasu64

@jimbo1qaz and @lime124 raise good points here. I've filed #4663 to track the ability for users to opt out of these communications. Even with this we should be careful about how frequently we use these. I'd love to touch base with @lwa-moz regarding policy on pushing notifs.

sblatz avatar Aug 09 '19 20:08 sblatz

@mheubusch is also part of the newly formed mobile marketing communications and may also be thinking about this. :)

lime124 avatar Aug 09 '19 20:08 lime124

https://vreplay.mozilla.com/replay/showRecordingExternal.html?key=HJI4gtp2yXDG8B3

Is there a non-Flash version available?

lnicola avatar Aug 10 '19 13:08 lnicola

Touched base with @lwa-moz. He said that he believes this is working but we still need to go through the full QA process to verify its functionality.

sblatz avatar Aug 14 '19 16:08 sblatz

@bifleming I don't actually see any code here, so my guess is that this was already in-app, and nothing needed to be done except verification to close this.

liuche avatar Aug 17 '19 01:08 liuche

@liuche that's correct :)

sblatz avatar Aug 19 '19 16:08 sblatz

This is dependant on https://github.com/mozilla-mobile/fenix/issues/4063

jonalmeida avatar Aug 21 '19 23:08 jonalmeida

Hi @sblatz , not sure how we should test this. I would kindly ask you to help us out with some extra info's. :)

AndiAJ avatar Aug 23 '19 11:08 AndiAJ

Hi @sblatz , not sure how we should test this. I would kindly ask you to help us out with some extra info's. :)

Perhaps @lwa-moz can provide some details on this?

sblatz avatar Aug 26 '19 16:08 sblatz

Hi, I'm not sure if I took the correct steps to verify this issue, but I wasn't able to send push notifications from Leanplum to Fenix 2.0.0-rc.1 I've tried sending a push notification using the "client_id" but bumped into an error. Based on the Leanplum events I've added the device to the "Development Devices" and added it as a target

picturemessage_ttgszwb0 p3f Capture

@lwa-moz Could you please review and help me out? :)

AndiAJ avatar Sep 03 '19 14:09 AndiAJ