Apphud v0.8 Release Notes
Release Date: 2020-01-05 // over 4 years ago-
What's new in 0.8:
- ๐ New Rules support. Old rules (win back lapsed subscribers, billing issue) are deprecated and no longer supported since this SDK version. When upgrading to this SDK version, you should create your new screens and rules in web dashboard. If you need help with SDK upgrade, please contact us: https://apphud.com/contacts
- Method
func submitReceipt(_ productIdentifier : String, _ callback : ((ApphudSubscription?, Error?) -> Void)?)
is now deprecated. You don't need to call it anymore, as starting now Apphud SDK automatically tracks all your in-app purchases and submits App Store receipt to Apphud. If you were using callback from this method, you can useapphudSubscriptionsUpdated
delegate method instead; - โ Added new protocol
ApphudUIDelegate
with screen controller delegate methods; - โ Delete method
func apphudScreenPresentationStyle(controller: UIViewController) -> UIModalPresentationStyle
is moved fromApphudDelegate
to new protocolApphudUIDelegate
; - โ Added new method
func showPendingScreen()
to present Apphud screen that was delayed (i.e. returnedfalse
) inapphudShouldShowScreen
delegate method; - โ Added new method
func migrateSubscriptionsIfNeeded(callback: @escaping ([ApphudSubscription]?) -> Void)
which helps you to migrate existing subscribers into Apphud. Useful when adding Apphud SDK to live app. - ๐ Other minor bug fixes and improvements.