I'm working on an "Issuer Provisioning" extension for iOS. Instances of my root PKIssuerProvisioningExtensionHandler
subclass are initialised and reinitialised often (every time the user taps the "+" button in the Wallet app) and live for a few milliseconds. So far, so good.
The head-scratching part is that the extensions' process lives on across multiple invocations. This in turn has the effect that static
member values also live on, meaning they are not in a predictable state during instantiation. Some of my static
-loving dependencies are unhappy with this pattern.
Is this "process outliving instances" extension pattern a common one? Is it described anywhere? Can it be disabled?