Hi,
I’m working on creating a native paywall with SwiftUI because we have a paywall design that deviates from the templates. (it’s mainly sizes and margin - footer paywalls are too tall for our use. Hope this is configurable in the future)
While creating a custom paywall, I wish we could still use some of the variables and localization RC offers with paywall templates. e.g., I tried to access periodName (e.g. “Annual”) via
package.periodNameOrIdentifier(.current)
This gives “'periodNameOrIdentifier' is inaccessible due to 'internal' protection level"
It seems that making ‘extension Package: VariableDataProvider’ public might allow this. Can RC support this?
At a high level, the pain here is that as soon as we try to do anything custom that deviates from the template, we face reimplementing many of the conveniences RC provides. Wish there was a middle ground somehow.