5 unstable releases
new 0.3.0 | Dec 2, 2024 |
---|---|
0.2.1 | Nov 24, 2024 |
0.2.0 | Jul 7, 2024 |
0.1.1 | Apr 15, 2024 |
0.1.0 | Apr 15, 2024 |
#2046 in Game dev
446 downloads per month
7KB
bevy_ios_review
Rust crate and Swift package to easily integrate iOS's requestReview
API into a Bevy application.
example screenshot from our game using this crate: zoolitaire.com
Instructions
- Add to XCode: Add SPM (Swift Package Manager) dependency
- Add Rust dependency
- Setup Plugin
1. Add to XCode
Go to File
-> Add Package Dependencies
and paste https://github.com/rustunit/bevy_ios_review.git
into the search bar on the top right:
2. Add Rust dependency
cargo add bevy_ios_review
or
bevy_ios_review = { version = "0.3" }
3. Setup Plugin
Initialize Bevy Plugin:
app.add_plugins(bevy_ios_review::IosRequestReviewPlugin);
Trigger Review Event in your application code:
fn some_system(mut event: EventWriter<IosRequestReview>) {
event.send(IosRequestReview);
}
Our Other Crates
- bevy_debug_log
- bevy_device_lang
- bevy_web_popups
- bevy_libgdx_atlas
- bevy_ios_impact
- bevy_ios_alerts
- bevy_ios_iap
- bevy_ios_notifications
- bevy_ios_gamecenter
Bevy version support
bevy | bevy_ios_review |
---|---|
0.15 | 0.3,main |
0.14 | 0.2 |
0.13 | 0.1 |
License
All code in this repository is dual-licensed under either:
- MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
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.
Dependencies
~23–58MB
~1M SLoC