Disabling Automatic SDK Initialization
How to disable autostart
Section titled How to disable autostartSet the com.contentsquare.android.autostart
flag to false in your AndroidManifest.xml
file.
Then, you can start the Contentsquare SDK by calling the start()
method of the Contentsquare class.
This initialize function is called automatically on app startup if the com.contentsquare.android.autostart
flag is not listed in the AndroidManifest.
This function should be called before the first activity is created. Call this function in the onCreate()
method of a custom Application subclass: