onAirshipReady

open fun onAirshipReady(context: Context)(source)

Called before the airship instance is used. Use this method to perform any Airship customizations. This method is called on a background thread, but if airship takes longer than 5 seconds to be ready it could cause ANRs within the application.y.

Parameters

context

The application context.


open fun onAirshipReady(airship: UAirship)(source)

Deprecated

Use onAirshipReady(context: Context) instead.

Replace with

onAirshipReady(context: Context)

Called before the airship instance is used. Use this method to perform any Airship customizations. This method is called on a background thread, but if airship takes longer than 5 seconds to be ready it could cause ANRs within the application.

Parameters

airship

The Airship instance.