Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Cannot display Paywall #11

Closed
realcbnewham opened this issue Apr 26, 2024 · 4 comments · Fixed by #13
Closed

Cannot display Paywall #11

realcbnewham opened this issue Apr 26, 2024 · 4 comments · Fixed by #13
Assignees
Milestone

Comments

@realcbnewham
Copy link

realcbnewham commented Apr 26, 2024

I have set up RevenueCat and called the configure() which is successful.

When I try and call this (regardless of the shouldDisplayDismissButton being true or false) in my Composables screen:

Paywall(false, {}, null)

I get:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[RCPaywallViewController initWithOffering:displayCloseButton:dismissRequestedHandler:]: unrecognized selector sent to instance 0x10e815600'

@mirzemehdi
Copy link
Owner

@realcbnewham
1)which version of library you are using?
2)Did you include RevenueCat in Xcode with Swift Package Manager, and which version is that?

@realcbnewham
Copy link
Author

Yes, both RevenueCat and RvenueCatUI have been added via SPM in XCode. The version shown in XCode is 4.41.1.

I'm using 0.2.0 of your library - the current one which you updated to fix the bug I last raised.

@mirzemehdi
Copy link
Owner

Currently last supported RevenueCat ios version is 4.39.0. I'll bump it for new version of this library

@mirzemehdi mirzemehdi added this to the 0.3.0 milestone Apr 28, 2024
@mirzemehdi mirzemehdi self-assigned this Apr 28, 2024
@mirzemehdi mirzemehdi linked a pull request Apr 28, 2024 that will close this issue
@mirzemehdi
Copy link
Owner

This is fixed in 0.3.0 version

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants