start

fun start(richieAppIdentifier: String, context: Context, storageLocation: StorageOption = StorageOption.INTERNAL)

Initializes the SDK factory. Must be called before calling any of the factory methods.

richieAppIdentifier is an identifier for finding the configuration for the SDK. This can be the package name of your app, Richie app ID, or anything else agreed to with Richie, as long as it can be used to successfully to find a configuration in the Richie configuration service.

This function should only be called once. Calling it again with the same identifier will log a warning, and calling it again with a different identifier will throw an exception.

Throws

if this function has already been called.