Skip to content

Releases: p3ol/access-package-ios

v2.0.0

05 Feb 14:45
Compare
Choose a tag to compare

Release v2.0.0 🎉

⚠️ BREAKING CHANGES

This release is a complete rewrite of the SDK api with backwards-incompatible changes.

The most notable change is the ability to create multiple paywall instances, by getting rid of the .instanciate() method.
To put it simple, replace:

try? Access.instanciate(key: "<your app id>")
Access.config(...)

with:

var access = Access(key: "<your app id>")
access.config(...)

See migration from v1 to v2 for more information about the full list of API changes.

New

Custom mode

You can now use a custom locking mode (in addition to the default enbedded mode that hides a percentage of the parent view, and bottom-sheet that overlays the whole content) to apply your own content-locking logic using onLock & onRelease events.

var access = Access(key: "<your_app_id>")

access.onLock {
  ...
}

access.onRelease {
  ...
}

var view: UIView? = access.createPaywall(pageType: "premium") {
    print("paywall was dismissed")
}

if let view = view {
    self.someView.addSubview(view)
}

Fixes

This release also brings a lot of quality-of-life fixes, especially if you use the SDK with SwiftUI.

v1.1.0

18 Sep 15:04
Compare
Choose a tag to compare

Release v1.1.0 🎉

This release adds the ability to install the SDK through CocoaPods:

s.dependency = "AccessIOS"
pod 'AccessIOS'

It also adds the missing custom_segment (see docs) option, and fixes various issues with SwiftUI.

Initial release ✨

21 Aug 15:43
b038088
Compare
Choose a tag to compare

✨ Initial release

See documentation here: https://poool.dev/docs/access/ios