-1

I am using facebook analytics for measuring events of users on my Android application.

How do avoid sending events to Facebook while app is in development/debug phase so that i can avoid corrupting production data.

Is there any configuration or something in Facebook SDK?

Vikas Goyal
  • 131
  • 2
  • 11

1 Answers1

1

Allow me to recommend, do send events from Debug builds, just add a custom parameter for each event such as: buildType="Debug" or buildType="Release" accordingly. This way you can debug end to end and confirm that you instrumented properly the app, and filter such events in Facebook Analytics, by applying the appropriate segment. Similar idea, will be to call FacebookSDK.setApplicationName(-"Debug").

elize
  • 166
  • 2