Skip to content

Public init() for Package and Offerings #1563

Description

@janandre

Dear RevenueCat developers,

We just migrated to 4.0 and really like the swift experience. Well done!

Currently, I am building some Paywalls we want to A/B test.
SwiftUI & Previews are a great tool, therefore!

However, we initialize our view model with our different packages.
To be able to use Previews, a public init would be really handy to create the mock data.

Is there a reason why they are fileprivate at the moment?
Of course, I could create my own wrapper object, but that does not feel native to me.

Best regards,
Jan André

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions