Giter VIP home page Giter VIP logo

tw1ddle / samcodes-amazonmobileanalytics Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 31.88 MB

Unofficial Amazon mobile analytics bindings for Haxe Android and iOS targets

Home Page: https://samcodes.co.uk/code/

License: MIT License

Haxe 0.62% Batchfile 0.01% C++ 0.47% Objective-C 97.12% Objective-C++ 0.32% Shell 0.25% C 1.21%
haxe haxelib amazon-mobile-analytics analytics mobile-analytics

samcodes-amazonmobileanalytics's Introduction

Haxe Amazon Mobile Analytics

Unofficial Amazon Mobile Analytics bindings for Haxe OpenFL Android and iOS targets.

Don't use this, it's outdated. Deprecation note - Amazon Mobile Analytics was superseded by Amazon Pinpoint.

Features

Supports

  • Automatically record key app usage stats.
  • Record custom events with attributes and metrics.
  • Global attributes and metrics.

Doesn't Support

  • Monetization events.

Install

haxelib install samcodes-amazonmobileanalytics

Usage

On Android, define your app identifier and identity pool identifier in Project.xml:

<!-- Enter your app id and app signature here for Android! Enter your ids in the AmazonMobileAnalytics.init call on iOS -->
<setenv name="AmazonMobileAnalyticsAppId" value="long_hex_string_from_my_aws_console" />
<setenv name="AmazonMobileAnalyticsIdentityPoolId" value="long_hex_string_from_my_aws_console" />

After integrating and booting the app, you should see data appearing on the Amazon Mobile Analytics dashboards. From here you can create custom dashboards, or export the data and query it. Here it is in action:

Screenshot

Screenshot of demo app

Notes

Use #if (android || ios) conditionals around your imports and calls to this library for cross platform projects, as there is no stub/fallback implementation included in the haxelib.

If you need to rebuild the iOS or simulator ndlls navigate to /project and run rebuild_ndlls.sh.

License

The Amazon Mobile Analytics SDK included in this repository is copyright 2010-2016 Amazon.com, Inc. or its affiliates, and is licensed under the Apache License, Version 2.0.

Google Gson is Copyright 2008 Google Inc, and is released under the Apache License, Version 2.0.

The rest of this haxelib is provided under the MIT license and is copyright 2016 Sam Twidale.

samcodes-amazonmobileanalytics's People

Contributors

tw1ddle avatar

Watchers

 avatar  avatar  avatar

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.