{"id":15137927,"url":"https://github.com/rustunit/bevy_ios_alerts","last_synced_at":"2026-03-05T08:02:05.419Z","repository":{"id":233816658,"uuid":"787867605","full_name":"rustunit/bevy_ios_alerts","owner":"rustunit","description":"Bevy plugin to request ios native UIAlert popups","archived":false,"fork":false,"pushed_at":"2026-01-16T21:33:52.000Z","size":15485,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-02T18:55:58.285Z","etag":null,"topics":["bevy","gamedev","ios","rust","swift","uikit"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/bevy_ios_alerts","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rustunit.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"extrawurst"}},"created_at":"2024-04-17T10:34:23.000Z","updated_at":"2026-01-16T21:33:34.000Z","dependencies_parsed_at":"2024-07-10T14:13:35.666Z","dependency_job_id":"07901af0-63e4-44c6-a7e7-50c55f8f3a98","html_url":"https://github.com/rustunit/bevy_ios_alerts","commit_stats":{"total_commits":20,"total_committers":3,"mean_commits":6.666666666666667,"dds":"0.15000000000000002","last_synced_commit":"269966a9651e0ffdec0697fe4d650328627ddb46"},"previous_names":["rustunit/bevy_ios_alerts"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/rustunit/bevy_ios_alerts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustunit%2Fbevy_ios_alerts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustunit%2Fbevy_ios_alerts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustunit%2Fbevy_ios_alerts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustunit%2Fbevy_ios_alerts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rustunit","download_url":"https://codeload.github.com/rustunit/bevy_ios_alerts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustunit%2Fbevy_ios_alerts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30115662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T03:40:26.266Z","status":"ssl_error","status_checked_at":"2026-03-05T03:39:15.902Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bevy","gamedev","ios","rust","swift","uikit"],"created_at":"2024-09-26T07:03:37.492Z","updated_at":"2026-03-05T08:02:05.407Z","avatar_url":"https://github.com/rustunit.png","language":"Rust","funding_links":["https://github.com/sponsors/extrawurst"],"categories":[],"sub_categories":[],"readme":"# bevy_ios_alerts\n\n[![crates.io][sh_crates]][lk_crates]\n[![docs.rs][sh_docs]][lk_docs]\n[![discord][sh_discord]][lk_discord]\n\n[sh_crates]: https://img.shields.io/crates/v/bevy_ios_alerts.svg\n[lk_crates]: https://crates.io/crates/bevy_ios_alerts\n[sh_docs]: https://img.shields.io/docsrs/bevy_ios_alerts\n[lk_docs]: https://docs.rs/bevy_ios_alerts/latest/bevy_ios_alerts/\n[sh_discord]: https://img.shields.io/discord/1176858176897953872?label=discord\u0026color=5561E6\n[lk_discord]: https://discord.gg/rQNeEnMhus\n\nRust crate and Swift package to easily integrate iOS's native UIAlerts API into a Bevy application.\n\n![demo](./assets/demo.gif)\n\ndemo from our game using this crate: [zoolitaire.com](https://zoolitaire.com)\n\n## Instructions\n\n1. Add to XCode: Add SPM (Swift Package Manager) dependency\n2. Add Rust dependency\n3. Setup Plugin\n\n### 1. Add to XCode\n\nGo to `File` -\u003e `Add Package Dependencies` and paste `https://github.com/rustunit/bevy_ios_alerts.git` into the search bar on the top right:\n![xcode](./assets/xcode-spm.png)\n\n### 2. Add Rust dependency\n\n```\ncargo add bevy_ios_alerts\n```\n\nor\n\n```\nbevy_ios_alerts = { version = \"0.7\" }\n```\n\n### 3. Setup Plugin\n\nInitialize Bevy Plugin:\n\n```rust\napp.add_plugins(bevy_ios_alerts::IosAlertsPlugin);\n```\n\nTrigger Alert in your application code:\n\n```rust\nfn system_triggerin_alerts(mut events: MessageWriter\u003cIosAlert\u003e) {\n\n    events.send(IosAlert::Message {\n        title: String::from(\"title\"),\n        msg: String::from(\"msg\"),\n        button: String::from(\"ok\"),\n    });\n\n    events.send(IosAlert::Dialog {\n        title: String::from(\"title\"),\n        msg: String::from(\"this is a dialog with multiple buttons\"),\n        button_yes: String::from(\"absolutely yes\"),\n        button_no: String::from(\"no no no\"),\n    });\n\n    events.send(IosAlert::Input {\n        title: String::from(\"title\"),\n        msg: String::from(\"input box\"),\n        button: String::from(\"ok\"),\n        placeholder: String::from(\"placeholder\"),\n    });\n}\n\nfn process_alert_response(mut events: MessageReader\u003cIosAlertResponse\u003e) {\n    for e in events.read() {\n        info!(\"incoming alert response: {e:?}\");\n    }\n}\n```\n\n## Our Other Crates\n\n- [bevy_debug_log](https://github.com/rustunit/bevy_debug_log)\n- [bevy_device_lang](https://github.com/rustunit/bevy_device_lang)\n- [bevy_web_popups](https://github.com/rustunit/bevy_web_popups)\n- [bevy_libgdx_atlas](https://github.com/rustunit/bevy_libgdx_atlas)\n- [bevy_ios_review](https://github.com/rustunit/bevy_ios_review)\n- [bevy_ios_gamecenter](https://github.com/rustunit/bevy_ios_gamecenter)\n- [bevy_ios_iap](https://github.com/rustunit/bevy_ios_iap)\n- [bevy_ios_notifications](https://github.com/rustunit/bevy_ios_notifications)\n- [bevy_ios_impact](https://github.com/rustunit/bevy_ios_impact)\n- [bevy_ios_safearea](https://github.com/rustunit/bevy_ios_safearea)\n\n## Bevy version support\n\n|bevy|crate|\n|----|---|\n|0.18|0.7,main|\n|0.17|0.6|\n|0.16|0.5|\n|0.15|0.3,0.4|\n|0.14|0.2|\n|0.13|0.1|\n\n# License\n\nAll code in this repository is dual-licensed under either:\n\n- MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)\n- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)\n\nat your option. This means you can select the license you prefer.\n\n## Your contributions\nUnless 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustunit%2Fbevy_ios_alerts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frustunit%2Fbevy_ios_alerts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustunit%2Fbevy_ios_alerts/lists"}