Description: This PR improves upon existing behavior by doing the following:
Updates FreemiumPIRFeature to observe changes to Privacy Config and Subscription status
Moves the declaration of FreemiumPIRFeature to the AppDelegate, to be accessed my multiple, distinct types
Observes Feature Availability changes in the new tab view Promotion Coordinator (future work will likely mean other types will also observe Feature Availability changes)
Testing Prerequisites
Make sure you are an internal user
Disable/Signout of Privacy Pro (Settings menu -> PP -> Remove from this device)
Remove an Freemium DBP data (i.e profile data) - Launch the browser and remove it via the DBP Dashboard Edit My Info button and Turn Personal Information Removal off and delete my information at the bottom
Reset all freemium state via Debug Menu -> Freemium -> RESET ALL STATE
Task/Issue URL: https://app.asana.com/0/0/1208258950415952/f
Description: This PR improves upon existing behavior by doing the following:
FreemiumPIRFeature
to observe changes to Privacy Config and Subscription statusFreemiumPIRFeature
to theAppDelegate
, to be accessed my multiple, distinct typesTesting Prerequisites
Edit My Info
button andTurn Personal Information Removal off and delete my information
at the bottomFreemium
->RESET ALL STATE
Freemium
feature to disabled in this JSON Blobhttps://www.jsonblob.com/api/1282779040355049472
Steps to test this PR: TEST 1 - ENABLING THE FEATURE FLAG CAUSES A NEW TAB TO DISPLAY THE PROMOTION BANNER
Freemium
feature tointernal
in the JSON BlobTEST 1 - SUBSCRIBING TO PRIVACY PRO REMOVES THE PROMOTION BANNER
Definition of Done:
—
Internal references:
Pull Request Review Checklist Software Engineering Expectations Technical Design Template Pull Request Documentation