Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Tw1ddle/samcodes-gameanalytics

Repository files navigation

Haxe GameAnalytics

License

Unofficial cross-platform GameAnalytics REST API support for Haxe OpenFL targets. Almost working - but some issues in dependencies have caused me to shelve the project.

See the demo code here, and run it in your browser here.

Features

  • Use the GameAnalytics REST API with Haxe.
  • Post events asynchronously on most targets.

If there is something you would like adding let me know. Pull requests welcomed too.

Known Issues

As of Haxe 3.4.7, OpenFL 8.0.1 there are some blocking issues to fix:

  • Submitting events to the GameAnalytics servers results in HTTP 500 error responses. That needs some work.
  • Connecting to the GameAnalytics servers work fine via HTTP on all targets, but HTTPS doesn't seem to work at all, not sure why.
  • Using gzip compression results in HTTP 401 authorization errors, not sure why. I have tried both hxPako Gzip and lime.util.compress.Gzip compression, same result with gzip deflate methods.
  • Support on iOS reportedly has issues due to Haxe problems: yupswing/akifox-asynchttp#27

Note this hasn't seen much testing or any use in a commercial app yet. Use with caution!

Usage

Include the haxelib through Project.xml:

<haxelib name="samcodes-gameanalytics" />

Example

See the demo app for a complete example:

Screenshot of demo app

Notes

This haxelib uses the akifox-asynchttp extension for asynchronous HTTP/HTTPS support on supported targets.

About

Unofficial cross-platform GameAnalytics REST API support for Haxe/OpenFL

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published