configure

Configures Purpl once with the app context and starts automatic purchase recovery.

Calling this again with the same configuration returns the existing instance.

Parameters

context

Any context. The SDK keeps only the application context.

configuration

The server connection and device verification configuration.

Throws

If Purpl is already configured with a different configuration.