After upgrading my flutter app to flutter 2.5.2, and also updating my purchases_flutter package to 3.4.5, I am getting this error reported in my production app (I haven’t seen it in debug / test):
Invalid argument(s) (onError): The error handler of Future.catchError must return a value of the future's type
Crashed in non-app:
Unfortunately my error reporter (Sentry) doesn’t give me any more information (eg line numbers, stack trace). Can someone at revenue cat please check if there is an incorrect usage of future error handling in somewhere in the flutter SDK relating to Purchases.getOfferings? Any advice on what could be causing this error?