Skip to content

attachAnalytics

attachAnalytics(options?): AnalyticsPinger

Defined in: analytics.ts:233

Call synchronously at the top level of the background entry. Each cold start of the background is itself the driver for the daily ping; onInstalled counts the install immediately (so install time is exact to the day instead of waiting for the next wake).

AnalyticsOptions = {}

AnalyticsPinger