"Must provide level parameter" errors
Hi,
I've installed the library in my Capacitor app and it seems to be working ok, but I'm getting these messages all the time, I can see them in the XCode console and they are also captured by Sentry.
⚡️ [info] - RevenueCat Purchases SDK configured for ios
ERROR MESSAGE: {"message":"Must provide level parameter","errorMessage":"Must provide level parameter"}
⚡️ To Native -> ⚡️ [warn] - {"message":"Must provide level parameter","errorMessage":"Must provide level parameter"}
I've tried to find the source of those messages but I haven't been able to, does anyone know?
Thanks a lot!
👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!
Hi @inakie, thanks for reporting. From that error message, seems that you're calling Purchases.setLogLevel without passing a level parameter. An example call would be: await Purchases.setLogLevel({ level: LOG_LEVEL.DEBUG });
If that doesn't help, could you provide a sample of your call to setLogLevel? Also debug logs from before/after would also be helpful.