superwall / Superwall-iOS

Remotely configure every aspect of your paywall and double your revenue.
https://superwall.com
MIT License
89 stars 24 forks source link

[BUG] Superwall.configure throws errors #121

Closed lewis-smith closed 1 year ago

lewis-smith commented 1 year ago

New issue checklist

General information

Describe the bug

There is recursion bug in the configure method where it tries to inspect .superwall before it's finished being set.

You can see many instances of ‼️ [Superwall] [superwallCore] ERROR: Superwall has not been configured. Please call Superwall.configure() in the logs

Steps to reproduce

Other Information

Add a breakpoint at Superwall.swift, line 139 to see what's happening

CleanShot 2023-04-07 at 12 20 09@2x

Demo project. Unzip and run to see errors Superwall Test.zip

super-bryan commented 1 year ago

Hey @lewis-smith! Thanks for reporting this – we're pushing up a fix now. https://github.com/superwall-me/Superwall-iOS/pull/122

Turacbey commented 1 year ago

@super-bryan Heyy, when will it be available?

jakemor commented 1 year ago

This is fixed in 3.0.0-rc.2 (right now!)

Turacbey commented 1 year ago

@jakemor Thank you :-)