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
We are checking if the instance exists before we do any operation. The assertion should have printed You must call setup first., I assume the error message was above the log you shared.
The best way we have to inform the developers that something is in a weird state is by doing this sort of crashes. We could log a warning, but we can't guarantee the developers will see the warning. This is the only way we have to inform that there's a wrongful operation being executed when it shouldn't. Otherwise, the app would be in a weird state or the reset wouldn't do anything.
If Purchase.reset() is called before Purchase.setup(...), i know it's bad but should not crash anyway:
The text was updated successfully, but these errors were encountered: