fenix icon indicating copy to clipboard operation
fenix copied to clipboard

Leanplum attribute 'Signed into FxA' is not updating when expected

Open cbonacuse opened this issue 6 years ago • 3 comments

The following attribute was identified as not updating when expected Fenix during a recent test by the Mobile Engagement team.

  • [ ] Signed into FxA

This is shown as "complete" in Mobile Engagement team documentation, but this is not shown (to my knowledge) in the original Meta that was listed for it (#4421).

Tasks:

  • [x] Understand if Leanplum attribute 'Signed into FxA' exists
  • [ ] If it exists, understand what triggers the change in the attribute from "false" to "true". If it does not exist, create the attribute so that it changes from "false" to "true" upon successful sign in to an FxA account.
  • [ ] Undergo data review
  • [ ] Add test to show it's being fired (e.g. specified by #11210 )
  • [ ] Test end-to-end and validate attribute in Leanplum

This needs to be added to the Mobile Engagement :heart: Fenix project. I do not have access to add it myself.

┆Issue is synchronized with this Jira Task

cbonacuse avatar Jun 15 '20 20:06 cbonacuse

An attribute, fxa_signed_in exists in fenix. As an attribute, it Fenix reports to LeanPlum only at cold startup. Is this what you expected, and it's not getting updated after a cold restart?

There is an event, E_Sign_In_FxA which may give you the results you're looking for. If you're seeing more fxa_signed_in attributes than would be accounted for by E_Sign_In_FxA, you may want to count FxA QR code pairings, signups or using the same credentials as Fennec all as E_Sign_In_FxA events.

@cbonacuse we can change this issue to log more signin events, or if it is updating after a cold restart close this. If it's not, then there's the possibility of a deeper problem, but I'd like to check your intentions before diving into that theoretical problem.

jhugman avatar Jun 25 '20 15:06 jhugman

@jhugman thank you for clarifying. This issue likely needs to be changed.

I have tested the attribute fxa_signed_in and it worked for me and changed, but yes I would like to have the attribute changed to 'true' and the event E_Sign_In_FxA fired for the same credentials (QR code pairings, signups [if we cannot create a separate signup event] and email). So ideally, logging more signin events if they are not already logged. Let me know how you'd like to proceed and I can make the updates. Thanks!

cbonacuse avatar Jul 02 '20 19:07 cbonacuse

Hi, verified as fixed on both Nightly 200806 and Beta 80.0.0-beta.3 using a Google Pixel 3a (Android 10)

Nightly - Device ID fdd9324a-dc99-4461-90da-7a925b396cad

✔️ Signed in using the sign in card from the onboarding screen image

✔️ Sign in with existing account image

✔️ Pairing image

✔️ Sign up new account image

Beta - Device ID d4af3353-0731-401c-8af2-178ca955fe2c

✔️ Migrated while being signed in image

✔️ Sign in with existing account image

✔️ Pairing image

✔️ Sign up new account image

AndiAJ avatar Aug 06 '20 11:08 AndiAJ