MissingSplitsDetectingApplication

public class MissingSplitsDetectingApplication
extends Application

java.lang.Object
   ↳ android.content.Context
     ↳ android.content.ContextWrapper
       ↳ android.app.Application
         ↳ com.google.android.play.core.missingsplits.MissingSplitsDetectingApplication


A convenience Application that prevents an incorrectly sideloaded app from crashing because of missing splits. There are the following possibilities of using this class:

  • Declare this class as the application in your AndroidManifest.xml.
  • Have your Application extend this class. Optionally override onCreateCustom() to define custom onCreate behavior.

Summary

Inherited constants

From class android.content.Context
From interface android.content.ComponentCallbacks2

Public constructors

MissingSplitsDetectingApplication()

Public methods

final void onCreate()
void onCreateCustom()

Can be overridden to define custom behavior instead of onCreate().

Inherited methods

From class android.app.Application
From class android.content.ContextWrapper
From class android.content.Context
From class java.lang.Object
From interface android.content.ComponentCallbacks2
From interface android.content.ComponentCallbacks

Public constructors

MissingSplitsDetectingApplication

MissingSplitsDetectingApplication ()

Public methods

onCreate

void onCreate ()

onCreateCustom

void onCreateCustom ()

Can be overridden to define custom behavior instead of onCreate().

Note that this method will not be invoked in case the app has been incorrectly sideloaded.

Do NOT call super.onCreate() from within this method.