shouldSkipAppInitialize
Determines whether the initialization for the SDK process should be skipped in Application.onCreate() method.
The code that is added to the Application.onCreate() method is executed for all processes. This method evaluates specific conditions and returns a boolean value indicating whether the initialization should be bypassed. This can be useful in scenarios such as initializing android.webkit.WebView.
Example:
if (InPersonPaymentsTools.shouldSkipAppInitialize(context)) {
// Perform actions when initialization is skipped
} else {
// Proceed with application initialization
}
Content copied to clipboard
Return
Boolean - true
if the initialization should be skipped, false
otherwise.
Parameters
context
The context used to evaluate whether initialization should be skipped.