tb_ga 0.1.0

Use GameAnalytics in Rust.
Documentation
  • Coverage
  • 21.43%
    3 out of 14 items documented0 out of 7 items with examples
  • Size
  • Source code size: 7.62 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.04 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 15s Average build duration of successful builds.
  • all releases: 15s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • ThierryBerger/tb_ga
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Vrixyz

Thierry Berger Game Analytics

My crate to handle Game Analytics from Rust, for now focused on iOS.

Features

  • initialization
  • Events
    • Design
    • Business
    • Progression

Instructions

  1. iOS
    1. Add to XCode: Add SPM (Swift Package Manager) dependency
    2. iOS: Add GA_GAME_KEY and GA_SECRET_KEY to your Info.plist
    3. Add iOS Game Analytics official SDK Swift dependency, and configure it as they recommend (build phases, linker, header file...)
  2. Add Rust dependency

1. Add to XCode

  • Go to File -> Add Package Dependencies and paste https://github.com/ThierryBerger/tb_ga.git into the search bar on the top right.

2. Add Rust dependency

cargo add tb_ga

or

# always pin to the same exact version you also of the Swift package
tb_ga = { version = "=0.1.0" }

Troubleshooting

  • File an issue!

Dev notes

Resources

License

All code in this repository is dual-licensed under either:

at your option. This means you can select the license you prefer.

Your contributions

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.