tb_ga

Crates.iotb_ga
lib.rstb_ga
version0.1.0
created_at2025-11-07 21:12:25.224642+00
updated_at2025-11-07 21:12:25.224642+00
descriptionUse GameAnalytics in Rust.
homepage
repositoryhttps://github.com/ThierryBerger/tb_ga
max_upload_size
id1922183
size8,131
Thierry Berger (Vrixyz)

documentation

https://docs.rs/tb_ga

README

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.

Commit count: 0

cargo fmt