Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Task/Issue URL: https://app.asana.com/0/488551667048375/1207335546470303/f ### Description This PR adds active plugin points, ie. plugin points that are automatically guarded by remote feature flags. See [this](https://app.asana.com/0/1202552961248957/1207322408444916/f) for more context ### Steps to test this PR _Test Main Process_ - [x] build and install from #4554 - [x] filter logcat by `UserOfThePluginPoint | Aitor` - [x] launch the app - [x] verify `Main`, `Baz`, `Bar`, `Second Main` plugins print in that order and `In Process main` - [x] Enable AppTP - [x] verify `Main`, `Baz`, `Bar`, `Second Main` plugins print in that order and `In Process vpn` - [x] Disable Baz plugin ``` "pluginPointMyPlugin": { "exceptions": [], "state": "enabled", "hash": "1", "features": { "pluginBazActivePlugin": { "state": "disabled" } } } ``` - [x] use fire button to update remote config - [x] verify `Main`, `Bar`, `Second Main` plugins print in that order and `In Process main` - [x] Disable and re-enable AppTP - [x] verify `Main`, `Bar`, `Second Main` plugins print in that order and `In Process vpn` - [x] Disable Bar plugin ``` "pluginPointMyPlugin": { "exceptions": [], "state": "enabled", "hash": "2", "features": { "pluginBarActivePlugin": { "state": "disabled" } } } ``` - [x] verify `Main`, `Second Main` plugins print in that order and `In Process main` - [x] Disable and re-enable AppTP - [x] verify `Main`, `Second Main` plugins print in that order and `In Process vpn` - [x] Disable plugin point ``` "pluginPointMyPlugin": { "exceptions": [], "state": "disabled", "hash": "3", "features": { } } ``` - [x] verify no plugin prints any message - [x] Disable and re-enable AppTP - [x] verify no plugin prints any message - [x] re-enable plugin point and all plugins ``` "pluginPointMyPlugin": { "hash": "5", "exceptions": [], "state": "enabled", "features": { "pluginBazActivePlugin": { "state": "enabled" }, "pluginBarActivePlugin": { "state": "enabled" } } } ``` - [x] verify `Main`, `Baz`, `Bar`, `Second Main` plugins print in that order and `In Process main` - [x] Disable and re-enable AppTP - [x] verify `Main`, `Baz`, `Bar`, `Second Main` plugins print in that order and `In Process vpn` - [x] disable all plugins individually ``` "pluginPointMyPlugin": { "exceptions": [], "state": "enabled", "hash": "6", "features": { "pluginBazActivePlugin": { "state": "disabled" }, "pluginBarActivePlugin": { "state": "disabled" }, "pluginFooActivePlugin": { "state": "disabled" }, "pluginMainActivePlugin": { "state": "disabled" }, "pluginSecondMainActivePlugin": { "state": "disabled" } } } ``` - [x] verify no plugin prints any message - [x] Disable and re-enable AppTP - [x] verify no plugin prints any message - [x] re-enable all individually - [x] verify `Main`, `Baz`, `Bar`, `Second Main` plugins print in that order and `In Process main` - [x] Disable and re-enable AppTP - [x] verify `Main`, `Baz`, `Bar`, `Second Main` plugins print in that order and `In Process vpn`
- Loading branch information