Package-level declarations
Initializing the SDK
Convenience classes that help with initializing the Olo Pay SDK.
When the application starts, the Olo Pay SDK needs to be initialized by calling OloPayApiInitializer.setup(). Classes in this package can help with the initialization.
It is recommended to do that early on to avoid any pitfalls with making SDK calls prior to initialization. This can be done by subclassing the Android Application and calling OloPayApiInitializer.setup() in its onCreate()
method. But if you don't already have a custom Application defined (or if you'd rather not create a custom Application subclass), there are other options for initialization defined in this package.
Both ApplicationInitializer and ApplicationProvider allow for initialization of the Olo Pay SDK (and any other SDK or library you are using) without subclassing the Application class. For more details, refer to the documentation for their respective classes.