superwall / Superwall-iOS

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

[BUG] In debug build (on device), StoreKitManager.refreshReceipt() inside fetchConfiguration() never finishes and so the paywall never completes initialization and doesn't work #142

Closed tkafka closed 1 year ago

tkafka commented 1 year ago

New issue checklist

General information

Describe the bug

I am running debug builds in iOS simulator and on device to test Superwall.

In simulator: Apple ID login shows up. On device (iOS): No login, but the fetchConfiguration() never makes it past the await storeKitManager.refreshReceipt() line (link).

Steps to reproduce

Just run an app in debug mode on iOS device.

Other Information

Anything I can provide?

tkafka commented 1 year ago

Aha, I might have discovered this problem: https://github.com/superwall-me/Superwall-iOS/commit/8e4c54da0f9e57e700d80db98ad59e76fa662bab

yusuftor commented 1 year ago

Yes, this is fixed now, please update to 3.0.1. Sorry for the inconvenience!