Socket
Book a DemoInstallSign in
Socket

@joinflux/capacitor-adjust

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@joinflux/capacitor-adjust

Capacitor plugin for Adjust MMP

Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
12
Maintainers
2
Weekly downloads
 
Created
Source

Capacitor Adjust Plugin

Capacitor plugin for Native Adjust integration with support for Web, Android and iOS.

Maintainers

MaintainerGitHub
Blake WardNevvulo
Gustavo Horischgugahoi

Installation

npm install @joinflux/capacitor-adjust

Sync native files:

npx cap sync

Configuration

No configuration is required for this plugin.

Supported methods

NameAndroidiOSWeb
start
trackEvent

Usage

// Must import the package once to make sure the web support initializes
import "@joinflux/capacitor-adjust";

import { Plugins } from "@capacitor/core";

const { CapacitorAdjust } = Plugins;

/**
 * Platform: Web/Android/iOS
 * Starts the SDK
 * @param appToken - token for the app to be tracked
 * @param environment - environment to be user (production/sandbox) (optional)
 * @returns void
 */
CapacitorAdjust.start({ appToken })

/**
 * Platform: Web/Android/iOS
 * Starts the SDK
 * @param eventId - id of the event (can be found in the Adjust Dashboard)
 * @returns void
 */
CapacitorAdjust.trackEvent({ eventId })

Keywords

capacitor

FAQs

Package last updated on 21 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts