This helper crate is for interacting with the ios iap api from within your bevy app. It is using egui for the ui.
Demo from our game using this crate: zoolitaire.com
for now the crate is not published on crates, so it has to be used as a git dependency:
bevy_ios_iap_egui = { git = "https://github.com/rustunit/bevy_ios_iap.git" }
add this to your code:
// initialize the plugin with the product ids your app uses.
app.add_plugins(IosIapEguiPlugin {
products_ids: vec!["com.yourapp.product1".into()],
});
// in your system you can toggle the ui with the following command:
commands.trigger(IosIapEguiOpen::Toggle);