Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

option to set debug enabled #390

Open
1 task done
qeepcologne opened this issue Nov 11, 2024 · 7 comments
Open
1 task done

option to set debug enabled #390

qeepcologne opened this issue Nov 11, 2024 · 7 comments
Labels
bug🐞 Something isn't working no-issue-activity

Comments

@qeepcologne
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

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
@qeepcologne qeepcologne added the bug🐞 Something isn't working label Nov 11, 2024
@qeepcologne qeepcologne changed the title enable option to set debug enabled option to set debug enabled Nov 11, 2024
@antonoddbit
Copy link
Contributor

Hi @qeepcologne that lines is for activating debugging right?

@qeepcologne
Copy link
Author

exactly, activate debug and log network communication

@antonoddbit
Copy link
Contributor

Hi @qeepcologne you could try the framework with ref: 4e2e081.
This update is inside debug feature, please give your feedback

You could call setAdvertiserTracking in app_event instead. Previously this feature is not working in Android

@qeepcologne
Copy link
Author

qeepcologne commented Nov 21, 2024

working great,
but requires to enable
android.defaults.buildfeatures.buildconfig=true
in gradle.properties globally.
not a problem for me, but maybe you can add

buildFeatures {
    buildConfig = true
}

to the build.gradle of the plugin.

@antonoddbit
Copy link
Contributor

Let me try

@antonoddbit
Copy link
Contributor

Hi @qeepcologne could you try ref 18151e4
Thanks

Copy link

github-actions bot commented Dec 4, 2024

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 5 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug🐞 Something isn't working no-issue-activity
Projects
None yet
Development

No branches or pull requests

2 participants