oddbit / flutter_facebook_app_events

Flutter Plugin for Facebook App Events
https://pub.dev/packages/facebook_app_events
Apache License 2.0
128 stars 325 forks source link

option to set debug enabled #390

Open qeepcologne opened 6 days ago

qeepcologne commented 6 days ago

Is there an existing issue for this?

Current Behavior

in native sdk i do something like that:

if ("release" != BuildConfig.BUILD_TYPE) {
  FacebookSdk.setIsDebugEnabled(true)
  FacebookSdk.addLoggingBehavior(LoggingBehavior.APP_EVENTS)
  FacebookSdk.addLoggingBehavior(LoggingBehavior.REQUESTS)
}

This is the only reason to keep the native dependencies also.

Please add similar option to flutter package.

Expected Behavior

similar option to in flutter package to debug output network requests

Steps To Reproduce

No response

Platform

Android

Flutter Doctor

[✓] Flutter (Channel stable, 3.24.4, on Ubuntu Plucky Puffin (development branch) 6.11.0-9-generic, locale en_DE.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.2)
[✓] Connected device (3 available)
[✓] Network resources
antonoddbit commented 3 days ago

Hi @qeepcologne that lines is for activating debugging right?