Releases: superwall/Superwall-Android
Releases · superwall/Superwall-Android
1.0.0-alpha.37
Enhancements
- SW-2684: Adds error logging if the
currentActivityisnullwhen trying to present a paywall.
Fixes
- Fixes bug where paywalls might not present on first app install.
- Fixes bug where all
paywallResponseLoad_events were being counted aspaywallResponseLoad_start. - Adds ProGuard rule to prevent
DefaultLifecycleObserverfrom being removed.
1.0.0-alpha.36
Enhancements
- Adds
X-Subscription-Statusheader to all requests. - Caches the last
subscriptionStatus. - Adds
subscriptionStatus_didChangeevent that is fired whenever the subscription status changes. - Calls the delegate method
subscriptionStatusDidChangewhenever the subscription status changes. - SW-2676: Adds a completion block to the
configuremethod.
Fixes
- Fixes issue where the main thread was blocked when accessing some properties internally.
- SW-2679: Fixes issue where the
subscription_startevent was being fired even if a non-recurring product was
purchased.
1.0.0-alpha.35
Fixes
- Fixes issue where
transaction_completeevents were being rejected by the server.
1.0.0-alpha.34
Breaking Changes
- Changes
Superwall.instance.getUserAttributes()toSuperwall.instance.userAttributes. SuperwallOptions.logging.logLevelis now non-optional. Set it toLogLevel.noneto prevent
logs from being printed to the console.
Enhancements
- SW-2663: Adds
preloadAllPaywalls()andpreloadPaywalls(eventNames:)to be able to manually
preload paywalls. - SW-2665: Adds
Superwall.instance.userIdso you can access the current user's id. - SW-2668: Adds
preferredLocaleandpreferredLanguageLocaleto the device attributes for use in rules. - Adds
Superwall.instance.logLevelas a convenience variable to set and get the log level.
Fixes
- SW-2664: Fixes race condition between resetting and presenting paywalls.
1.0.0-alpha.33
Fixes
- Fixes issue where a user would be asked to enable notifications even if there weren't any attached
to the paywall.
1.0.0-alpha.32
Enhancements
- SW-2214: Adds ability to use free trial notifications with a paywall.
- Adds
cancelAllScheduledNotifications()to cancel any scheduled free trial notifications. - SW-2640: Adds
computedPropertyRequeststoPaywallInfo. - SW-2641: Makes
closeReasoninPaywallInfonon-optional.
Fixes
- Fixes issue where thrown exceptions weren't always being caught.
1.0.0-alpha.31
Enhancements
- SW-2638: Adds
RestoredtoPurchaseResult. - SW-2642: Adds
productIdentifiertoStorePayment. - SW-2643: Makes
storePaymentnon-optional for aStoreTransaction. - SW-2644: Adds
RestoreTypetoSuperwallEvent.TransactionRestore.
Fixes
- SW-2635: Fixes crash that sometimes occurred if an app was trying to get Superwall's paywall
configuration in the background.
1.0.0-alpha.30
Enhancements
- SW-2154: The SDK now includes a paywall debugger, meaning you can scan the QR code of any paywall in the editor to preview it on device. You can change its localization, view product attributes, and view the paywall with or without a trial.
Fixes
- More bug fixes relating to the loading of products.
1.0.0-alpha.29
Fixes
- SW-2631: Fixes issue where paywalls weren't showing if the products within them had a base plan or
offer ID set.
1.0.0-alpha.28
Fixes
- SW-2615: Fixes crash on Android versions <8 when accessing the Android 8+ only class Period.
- SW-2616: Fixes crash where the
PaywallViewControllerwas sometimes being added to a new parent view before
being removed from it's existing parent view.