# activeApp

open fun activeApp(applicationContext: Context)

### Deprecated

Notifies the Gamebase SDK that the app has launched. It should be called as early as possible.

Because of release 2.6.0, GamebaseInitProvider call the API automatically, You do not need to call the API.

Example Usage:

    public class GamebaseApplication extends Application {
        @Override
        public void onCreate() {
            super.onCreate();
            Gamebase.activeApp(getApplicationContext());
        }
    }

Content copied to clipboard

#### Since

Added 1.4.0.

#### Deprecated

As of release 2.6.0, You don't need to call this API anymore. This API is called automatically.

#### Parameters

applicationContext

The application context.

#### Throws

NullPointerException

'applicationContext' is null.

IllegalStateException

'android.permission.INTERNET' permission is not defined in AndroidManifest.xml