Page MenuHomePhabricator

Update instrumentation to account for user being donor in Android app
Closed, ResolvedPublic

Description

Background
The Android team is planning to work on a feature that will acknowledge that a user is a donor in the contributions dashboard, where they see other stats about their behavior. There is no API or data storage currently that would help identify a user as a donor. In order to know if a user is a donor we would need to update our instrumentation.

Requirements

  • If a user donates using GPay retain that they are a donor and the date of the donation, which will later be surfaced to that specific user in an interface we release in November
  • If a user returns to the app via the Web Donate Thank page, retain that the user is a donor and the date of their donation
  • Whether or not a user is a donor should be tied to their app install id not User name

Event Timeline

For QA:

  • In the latest Beta, make a test donation, or alternatively click this link to simulate completing a donation.
    • Tapping the above link (from your phone's browser) should land you in the app, showing the "thank you" page.
  • Go to Developer Settings, and nearly all the way at the bottom (third from bottom), you should see an item called "Donation results", which should contain some text that states the date of the completed donation.