6.0.2 • Published 1 year ago

@omedom/adjust-capacitor-plugin v6.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

OMEDOM Adjust Capacitor Plugin

Adjust SDK plugin for Capacitor

Install

npm install @omedom/adjust-capacitor-plugin
npx cap sync

API

initSDK(...)

initSDK(options: AdjustInit) => void
ParamType
optionsAdjustInit

trackEvent(...)

trackEvent(event: AdjustEvent) => void
ParamType
eventAdjustEvent

trackEventCallbackId(...)

trackEventCallbackId(event: AdjustCallbackId) => void
ParamType
eventAdjustCallbackId

trackRevenueEvent(...)

trackRevenueEvent(event: AdjustRevenue) => void
ParamType
eventAdjustRevenue

addSessionCallbackParameter(...)

addSessionCallbackParameter(options: AdjustSessionOptions) => void
ParamType
optionsAdjustSessionOptions

addSessionPartnerParameter(...)

addSessionPartnerParameter(options: AdjustSessionOptions) => void
ParamType
optionsAdjustSessionOptions

getAdid()

getAdid() => Promise<AdjustAdidResponse>

Returns: Promise<AdjustAdidResponse>


showTrackingDialog()

showTrackingDialog() => Promise<AdjustTrackingStatusResponse>

Returns: Promise<AdjustTrackingStatusResponse>


getTrackingStatus()

getTrackingStatus() => Promise<AdjustTrackingStatusResponse>

Returns: Promise<AdjustTrackingStatusResponse>


getIDFA()

getIDFA() => Promise<AdjustIdfaResponse>

Returns: Promise<AdjustIdfaResponse>


Type Aliases

AdjustInit

{ appToken: string; environment?: AdjustEnvironment; logLevel?: AdjustLogLevel; }

AdjustEnvironment

'production' | 'sandbox'

AdjustLogLevel

'none' | 'error' | 'warning' | 'info' | 'verbose'

AdjustEvent

{ eventToken: string; callbackParams?: Record<string, string>; }

Record

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

{

}

AdjustCallbackId

{ eventToken: string; id: string; }

AdjustRevenue

{ eventToken: string; currency: string; amount: number; orderId?: string; }

AdjustSessionOptions

{ key: string; value: string; }

AdjustAdidResponse

{ id: string; }

AdjustTrackingStatusResponse

{ status: AdjustTrackingAuthorizationStatus; }

AdjustTrackingAuthorizationStatus

0 | 1 | 2 | 3 | -1

AdjustIdfaResponse

{ id: string; }

acornacorn-jsxajvansi-regexansi-stylesargparsearray-buffer-byte-lengtharray-includesarray-unionarray.prototype.findlastindexarray.prototype.flatarray.prototype.flatmaparraybuffer.prototype.sliceastral-regexat-least-nodeavailable-typed-arraysbalanced-matchbrace-expansionbracescall-bindcallsiteschalkchevrotaincolor-convertcolor-namecoloretteconcat-mapcosmiconfigcross-spawndebugdeep-isdefine-data-propertydefine-propertiesdir-globdoctrineemoji-regexerror-exes-abstractes-set-tostringtages-shim-unscopableses-to-primitiveescape-string-regexpeslint-config-prettiereslint-import-resolver-nodeeslint-module-utilseslint-plugin-importeslint-scopeeslint-visitor-keysespreeesqueryesrecurseestraverseesutilsfast-deep-equalfast-globfast-json-stable-stringifyfast-levenshteinfastqfile-entry-cachefill-rangefind-upflat-cacheflattedfor-eachfs-extrafs.realpathfunction-bindfunction.prototype.namefunctions-have-namesget-intrinsicget-symbol-descriptiongithub-sluggerglobglob-parentglobalsglobalthisglobbygopdgraceful-fsgraphemerhas-bigintshas-flaghas-property-descriptorshas-protohas-symbolshas-tostringtaghasownignoreimport-freshimurmurhashinflightinheritsinternal-slotis-array-bufferis-arrayishis-bigintis-boolean-objectis-callableis-core-moduleis-date-objectis-extglobis-fullwidth-code-pointis-globis-negative-zerois-numberis-number-objectis-path-insideis-regexis-shared-array-bufferis-stringis-symbolis-typed-arrayis-weakrefisarrayisexejava-parserjs-tokensjs-yamljson-bufferjson-parse-even-better-errorsjson-schema-traversejson-stable-stringify-without-jsonifyjson5jsonfilekeyvlevnlines-and-columnslocate-pathlodashlodash.mergemerge2micromatchminimatchminimistmsnatural-comparenatural-compare-liteobject-inspectobject-keysobject.assignobject.fromentriesobject.groupbyobject.valuesonceoptionatorp-limitp-locateparent-moduleparse-jsonpath-existspath-is-absolutepath-keypath-parsepath-typepicomatchprelude-lspunycodequeue-microtaskregexp-to-astregexp.prototype.flagsresolveresolve-fromreusifyrun-parallelsafe-array-concatsafe-regex-testsemverset-function-lengthset-function-nameshebang-commandshebang-regexside-channelsignal-exitslashslice-ansistring-widthstring.prototype.trimstring.prototype.trimendstring.prototype.trimstartstrip-ansistrip-bomstrip-json-commentssupports-colorsupports-preserve-symlinks-flagtext-tableto-regex-rangetree-killtsconfig-pathstslibtsutilstype-checktype-festtyped-array-buffertyped-array-byte-lengthtyped-array-byte-offsettyped-array-lengthunbox-primitiveuniversalifyuntildifyuri-jswhichwhich-boxed-primitivewhich-typed-arraywrap-ansiwrappyyamlyocto-queue
6.0.2

1 year ago

6.0.1

1 year ago

6.0.0

1 year ago