Swiftpack.co - superwall-me/paywall-ios as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by superwall-me.
superwall-me/paywall-ios 2.5.0
Remotely configure every aspect of your paywall and double your revenue.
⭐️ 21
🕓 5 days ago
iOS macOS watchOS
.package(url: "https://github.com/superwall-me/paywall-ios.git", from: "2.5.0")


logo

In-App Paywalls Made Easy 💸


SwiftPM Compatible Cocoapods Compatible iOS Versions Supported MIT License Community Active Version Number


Superwall lets you remotely configure every aspect of your paywall — helping you find winners quickly.

Paywall.framework

Paywall is the open source SDK for Superwall, providing a wrapper around Webkit for presenting and creating paywalls. It interacts with the Superwall backend letting you easily iterate paywalls on the fly in Swift or Objective-C!

Features

Superwall
Server-side paywall iteration
🎯 Paywall conversion rate tracking - know whether a user converted after seeing a paywall
🆓 Trial start rate tracking - know and measure your trial start rate out of the box
📊 Analytics - automatic calculation of metrics like conversion and views
✏️ A/B Testing - automatically calculate metrics for different paywalls
📝 Online documentation up to date
🔀 Integrations - over a dozen integrations to easily send conversion data where you need it
🖥 macOS support
💯 Well maintained - frequent releases
📮 Great support - email a founder: [email protected]

Installation

Swift Package Manager

The preferred installation method is with Swift Package Manager. This is a tool for automating the distribution of Swift code and is integrated into the swift compiler. In Xcode, do the following:

  • Select File ▸ Add Packages...
  • Search for https://github.com/superwall-me/paywall-ios in the search bar.
  • Set the Dependency Rule to Up to Next Major Version with the lower bound set to 2.0.0.
  • Make sure your project name is selected in Add to Project.
  • Then, Add Package.

Cocoapods

Cocoapods is an alternative dependency manager for iOS projects. For usage and installation instructions, please visit their website. To include the Paywall SDK in your app, add the following to your Podfile:

pod 'Paywall', '< 3.0.0'

Then, run pod install.

Getting Started

Sign up for a free account on Superwall and read our docs.

You can also view our iOS SDK docs. If you'd like to view it in Xcode, select Product ▸ Build Documentation.

Read our Ray Wenderlich tutorial: Superwall: Remote Paywall Configuration on iOS

Check out our sample apps for a hands-on demonstration of the SDK:

Contributing

Please see the CONTRIBUTING file for how to help.

GitHub

link
Stars: 21
Last commit: 11 hours ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

2.5.0
5 days ago

Enhancements

  • Assigments of paywall variants are now performed on device, meaning reduced network calls and faster setup time for the SDK.
  • Adds Paywall.latestPaywallInfo. You can read this to access the PaywallInfo object of the most recently presented view controller.
  • Adds feature flags under the hood so new features can be turned on for specific organizations and apps.
  • Adds the ability to specify SKProducts with triggers. These override products defined in the dashboard. You do this by creating a PaywallProducts object and calling Paywall.trigger(event: "event", products: products).
  • Updates sample projects to iOS 16.

Fixes

  • Shimmer view is no longer visible beneath a paywall's WKWebView when there is no body or html background color set
  • Previously, calling Paywall.preloadPaywalls(forTriggers:) before Paywall.config() finished would not work. This has been fixed.
  • Previously, if a user purchases a product within a subscription group, they would still be offered a free trial on other products within that group. This has been fixed.
  • Fixes a bug where Paywall.reset() couldn't be called on a background thread.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics