1.2.4 • Published 2 years ago
appscoperplugintest v1.2.4
Introduction
appscoperplugintest is a plugin for AppScoper
that allows you to easily test AppScoper main functionality. It provides sendEvent function that triggers your main events.
Installation
To install appscoperplugintest, run the following command in your terminal:
npm install appscoperplugintest
Usage
Below is an example how to use this plugin:
import { sendEvent } from "./node_modules/appscoperplugintest/src/index.js";
window.onload = function () {
// sendEvent(appToken, eventName, appIdentifier, appVersion, appScreen, screenDuration, amount)
sendEvent("k8eoi47mqdc0gkkswg10", "testhome", "web", "", "home2", "", "");
};