#ios #bevy-plugin #swift #bevy #mobile #gamedev

bevy_ios_review

Bevy plugin for to request ios native review API from within the App

2 releases

0.1.1 Apr 15, 2024
0.1.0 Apr 15, 2024

#744 in Game dev

Download history 258/week @ 2024-04-15

258 downloads per month

MIT license

5KB

bevy_ios_review

Rust crate and Swift package to easily integrate iOS's requestReview API into a Bevy application.

Instructions

  1. Add to XCode: Add SPM (Swift Package Manager) dependency
  2. Add Rust dependency
  3. 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: xcode

2. Add Rust dependency

cargo add bevy_ios_review

or

bevy_ios_review = { version = "0.1" }

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);
}

Dependencies

~20–57MB
~1M SLoC