glassfy / glassfy-flutter

Open source SDK to quickly integrate subscriptions, stop worring about code maintenance, and getting advanced real-time data. Javascript / iOS glue framework
MIT License
21 stars 4 forks source link

restorePurchases() can block forever #22

Closed kalafut closed 2 months ago

kalafut commented 2 months ago

If I call await Glassfy.restorePurchases(); when I'm disconnected, the function never returns. Is this expected? Do I need to wrap it in my own timeout handler? This doesn't seem to be the case with fetching offerings and skus.

kalafut commented 2 months ago

My mistake... it wasn't blocking, but rather throwing an exception (which is fine).