GleapSDK / Flutter-SDK

Other
3 stars 2 forks source link

No debug logs when gleap is enabled #6

Open cornetthomas opened 1 year ago

cornetthomas commented 1 year ago

When enabling Gleap while debugging/developing I don't get any debug logs anymore in my console.

CleanShot 2023-02-03 at 14 49 40

I fix this by checking the kDebugMode flag while running an app in debug and only enabling Gleap if the app is running in release mode.

I would expect to still see my debug logs even when Gleap is enabled. I tried playing withGleap.enableDebugConsoleLog(); and Gleap.disableConsoleLog();, but this doesn't seem to have any effect.