Skip to content

0.7.3

Compare
Choose a tag to compare
@ren6 ren6 released this 04 Oct 10:32
· 482 commits to master since this release

What's new in 0.7.3:

  • Added new method func addAttribution(data: [AnyHashable : Any], from provider: ApphudAttributionProvider, identifer: String? = nil, callback: ApphudBoolCallback?). Use this method to submit attribution data from your attribution provider.
  • Added new method func didFetchProductsNotification() -> Notification.Name. Add observer to this notification name to get notified when SKProducts are fetched from StoreKit.
  • Added new method func products() -> [SKProduct]?. Returns array of SKProduct objects fetched from StoreKit. Now you don't have to fetch and store products for yourself.
  • Callback in func submitPushNotificationsToken(token: Data, callback: ApphudBoolCallback?) method is now optional.
  • Method func purchase(product: SKProduct, callback: ((ApphudSubscription?, Error?) -> Void)?) renamed to more lightweight func purchase(_ product: SKProduct, callback: ((ApphudSubscription?, Error?) -> Void)?).