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
- fetch detailed products
- purchase
- listen to changes in previous transactions
- fetch list of all transactions (to restore old purchases of non-consumables)
- does not return locally un-signed/un-verified transactions
- forward transaction.id inside of successful purchase result to allow early finish
- support subscription product type
- remaining error handling in:
ios_iap_transactions_all
andios_iap_products
- allow access to signature for remote verification
- support offers
- support family sharing
- transaction revocation reason
- how to return data from swift that rust can read? (
fn foo() -> Bar
) - make @_cdecl funcs
public
(chinedufn/swift-bridge#166) - allow changing stuff to allow multiple libs using this approach (
SwiftBridgeCore.swift
, Name ofRustXcframework
,Headers
subfolder 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 RustXcframework
when using Swift Package approach - add
swift_bridge_build.update_package
to only copy the files over instead of generating everything (and do the above) - how to get swift
Data
out? cannot figure out how to convert that into RustVec or anything compatible