Releases: superwall/Superwall-iOS
Prevents payment queue transaction observer from finishing transactions
1.0.10 Remove finishing transaction
1.0.9
1.0.8
CocoaPod & Objective C++ Support
This release adds a Pod Spec file to let customers install the SDK via CocoaPods. Additionally this release allows for use of the SDK with Objective-C++ codebases.
To install via coacopods, simply add this line to your Podfile
pod 'Paywall', :git => 'https://github.com/superwall-me/paywall-ios.git', :tag => '1.0.7'
To get up and running with Objective-C++, please our example application. The documentation has also been updated to callout relevant changes.
The biggest gotchas lie in the importing of Paywall-iOS
. Instead of using #import @Paywall;
Objective-C++ requires that you use #import <Paywall/Paywall-Swift.h>
. However, you must also include definitions of two protocols, so in total the import should look as follows (in an .h
file):
@protocol SKPaymentTransactionObserver;
@protocol SKProductsRequestDelegate;
#import <Paywall/Paywall-Swift.h>
Docs on github pages are live
Read the iOS docs at sdk.superwall.me
1.0.5
- adds periodDays, periodWeeks, periodMonths and periodYears to product variables
- adds daily, monthly and yearly prices to variables
- exposes locale to event parameters in pricing related events
- removes flicker when launching template viewer from debugger
as always, email jake@superwall.me with questions :)
User Attribute Support for Objective-C
This release adds a new method setUserAttributesDictionary
on Paywall
which accepts an NSDictionary
of user attributes. It is similar to setUserAttributes
but does not use the same Swift Enum-based interface.
Objective-C Support
This release adds full Objective-C support. We've also included a sample application to get you started!