Skip to content

TPAs: As a developer I want to turn the TPA system into its own service #214

@IzKuipers

Description

@IzKuipers

Ever since its inception, the TPA system has been a scattered around bit of functionality in ArcOS. The props and supplementaries live under JsExec, the spawning lives in SpawnUserContext, etcetera. I'd like for the TPA code execution to be consolidated into its own service, the TpaService.

The TpaService should only be activated if and when TPAs are enabled (UserPreferences.security.enableThirdParty), and TPAs should not work at all if TPAs aren't enabled. If the user tries to open a TPA without TPAs being enabled, a dialog should show instructing the user to go to the settings app to enable TPAs. This dialog is already implemented elsewhere (I think SpawnUserContext). When the user enables TPAs, the service should be started. When the user disables TPAs, the service should be stopped. The state of the service should always match the enablement of TPAs.

Metadata

Metadata

Assignees

Labels

RefactoringThis issue refactors a part of the codebaseService HostThis involves the service host or any system servicesThird-party applicationsThis issue is related to the TPA frameworkUser DaemonInvolves the user daemon or user contextsenhancementNew feature or request

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions