All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- add
IosIapPurchaseError
andIosIapStoreKitError
toIosIapPurchaseResponse
to provide programmatic error handling
- make
BevyIosIap
requests more typesafe, so you cannot assign a observer that does not match the response type
- upgrade to bevy
0.15
- fixed broken observer api because we listened to the wrong event type
- support subscriptions
- new
BevyIosIap
SystemParam providing observer based API - new fields in IosIapTransaction:
original_id
,original_purchase_date
,json_representation
,currency
,currency_code
,revocation_reason
,app_account_token
,web_order_line_item_id
,subscription_group_id
- all calls now do proper error handling
- all calls take a request id and return it with the response used for
BevyIosIap
IosIapEvents::Transaction
is notIosIapEvents::TransactionUpdate
- renamed
IosIapTransactionFinished
->IosIapTransactionFinishResponse
- renamed
IosIapPurchaseResult
->IosIapPurchaseResponse
- renamed
IosIapEvents
inIosIapResponse
and movedTransactionUpdate
into a newIosIapEvents
to signify the difference between a pro-active event sent or a response to a previous request
- update to bevy
0.14
- proper rustdoc and readme with example
- new method
current_entitlements
that will response viaIosIapEvents::CurrentEntitlements
(see apple docs) IosIapPurchaseResult::Success
now contains theIosIapTransaction
of the purchaseIosIapPurchaseResult::Pending
andIosIapPurchaseResult::Cancel
return the Product ID used forpurchase
IosIapTransaction.app_bundle_id
was also returing the product ID
note: the crate release matches the commit tagged with the ru-
prefix because we release the swift package after the crate due to its dependency on each other
IosIapPurchaseResult
can beUnknown
if an invalid product ID is used for a purchase (#3)