Code Monkey home page Code Monkey logo

appsflyer's Introduction

AppsFlyer

AppsFlyer plugin for Phonegap.

Built against Phonegap 2.4.0.

Installation

General

  1. Add the appsflyer.js file to your www directory

Android

  1. Add the AppsFlyerPlugin.java file in the android directory and class path to your src directory.

  2. Add the jar you received from AppsFlyer to your libs directory in your project

  3. In the plugins section of your res/xml/config.xml file, add the following:

     <plugin name="AppsFlyerPlugin" value="org.apache.cordova.appsflyer.AppsFlyerPlugin"/>
    

iOS

  1. Drag the AppsFlyerPlugin.h and AppsFlyerPlugin.m files to your plugins directory.

  2. From the Build Phases tab, expand Link Binary With Libraries, then click on the + button and add the lib_AppsFlyerLib.a file you recieved from AppsFlyer.

  3. From the Build Settings tab, find the Other Linker Flags and add -lAppsFlyerLib

  4. In the plugins section of your Resources/config.xml file, add the following:

     <plugin name="AppsFlyerPlugin" value="AppsFlyerPlugin"/>
    

API

The only method supported is:

	window.plugins.appsFlyer.notifyAppID(appId, devKey, eventName, eventValue);
  • appId: (String)(Required) App ID provided from AppsFlyer

  • devKey: (String)(Required) Dev key provided from AppsFlyer

  • eventName: (String)(Optional) The event name to define the event

  • eventValue: (String)(Optional) The event sales value

appsflyer's People

Contributors

krange avatar

Stargazers

 avatar

Watchers

 avatar

appsflyer's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.