Skip to content

super-gaming-db/capacitor-adjust

Repository files navigation

capacitor-adjust-plugin

Adjust Plugins for Capacitor

Install

npm install capacitor-adjust-plugin
npx cap sync

API

init(...)

init(options: InitConfig) => Promise<void>

adjust init

Param Type
options InitConfig

trackEvent(...)

trackEvent(options: AdjustEventOptions) => Promise<void>

track custom event

Param Type
options AdjustEventOptions

getAdid()

getAdid() => Promise<AdidResult>

Returns: Promise<AdidResult>


Interfaces

InitConfig

adjust init config

Prop Type
appToken string
environment 'sandbox' | 'production'
logLevel 'error' | 'warn' | 'info' | 'verbose' | 'debug' | 'assert'

AdjustEventOptions

adjust custom event options

Prop Type
eventToken string
revenue number
currency string
parameters Record<string, string>

AdidResult

Prop Type
adid string

Type Aliases

Record

Construct a type with a set of properties K of type T

{ [P in K]: T; }

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published