You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After migrating from v1 to v2 I realize that I can't easily implement a scenario where I check the case where no paywalls match the requested id.
Before I could just do this:
But now if I call adapty.getPaywall(paywallId) with an invalid paywallId it just throws, so I can't distinguish this specific case (the developer error, basically) from other cases.
The returned error is this, which is not very helpful:
Description
After migrating from v1 to v2 I realize that I can't easily implement a scenario where I check the case where no paywalls match the requested id.
Before I could just do this:
But now if I call
adapty.getPaywall(paywallId)
with an invalidpaywallId
it just throws, so I can't distinguish this specific case (the developer error, basically) from other cases.The returned error is this, which is not very helpful:
I'm reporting this as a bug and not feature request since for me this is a regression in adapty sdk.
Version
v2.4.2
What platforms are you seeing the problem on?
iOS
System info
The text was updated successfully, but these errors were encountered: