InitializationException
Thrown when a CGS API is used before the SDK has been initialized, or after CGS.shutdown.
This typically occurs when calling CGS.xxx(...) before invoking CGS.init(...) in your Application class or prior to any usage.
To fix this, ensure the SDK is initialized early in the app lifecycle:
class MyApp : Application() {
override fun onCreate() {
super.onCreate()
CGS.init(...) // must be called before using CGS features
}
}Content copied to clipboard
This exception indicates a developer integration error and is not intended to be caught or handled at runtime — it should be fixed during integration.