Adjust Plugins for Capacitor
npm install capacitor-adjust-plugin
npx cap syncinit(options: InitConfig) => Promise<void>adjust init
| Param | Type |
|---|---|
options |
InitConfig |
trackEvent(options: AdjustEventOptions) => Promise<void>track custom event
| Param | Type |
|---|---|
options |
AdjustEventOptions |
getAdid() => Promise<AdidResult>Returns: Promise<AdidResult>
adjust init config
| Prop | Type |
|---|---|
appToken |
string |
environment |
'sandbox' | 'production' |
logLevel |
'error' | 'warn' | 'info' | 'verbose' | 'debug' | 'assert' |
adjust custom event options
| Prop | Type |
|---|---|
eventToken |
string |
revenue |
number |
currency |
string |
parameters |
Record<string, string> |
| Prop | Type |
|---|---|
adid |
string |
Construct a type with a set of properties K of type T
{
[P in K]: T;
}