docs.rs failed to build bevy_ios_iap-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
bevy_ios_iap-0.9.0
bevy_ios_iap
Provides access to iOS native StoreKit2 Swift API from inside Bevy Apps. It uses Swift-Bridge to auto-generate the glue code and transport datatypes.

See also bevy_ios_notifications, bevy_ios_alerts & bevy_ios_impact
note: this currently does not ship precompiled binaries so it will only work if you clone and integrate as a local Swift package and build the binaries for the RustXcframework.xcframework, please use make build for an automated process for this
Features
- fetch detailed products
- purchase
- listen to changes in previous transactions
- fetch list of all transactions (to restore old purchases of non-consumables)
Notes
- does not return locally un-signed/un-verified transactions
Todo
- forward transaction.id inside of successful purchase result to allow early finish
- support subscription product type
- remaining error handling in:
ios_iap_transactions_allandios_iap_products - allow access to signature for remote verification
- support offers
- support family sharing
- transaction revocation reason
Swift-Bridge wishlist
- how to return data from swift that rust can read? (
fn foo() -> Bar) - make @_cdecl funcs
public(https://github.com/chinedufn/swift-bridge/issues/166) - allow changing stuff to allow multiple libs using this approach (
SwiftBridgeCore.swift, Name ofRustXcframework,Headerssubfolder etc.) see https://github.com/jessegrosjean/swift-cargo-problem - support derives(Clone,Debug) on shared enums
- support calling async swift from rust
- allow shared structs in
Vec's (Vectorizable) - properly add missing
import RustXcframeworkwhen using Swift Package approach - add
swift_bridge_build.update_packageto only copy the files over instead of generating everything (and do the above) - best practice to offer a swift package containing prebuild binaries? (
RustXcframework)