Closed hhzhangzy closed 5 months ago
The document on the official website of the fakbook SDK (https://developers.facebook.com/docs/app-events/automatic-event-collection-detail) describes: "For Android, please call callbackManager.onActivityResult
to pass the login result to the callbackManager. For iOS, no code is required to collect events. "
Does it mean that Android automatic event reporting also requires additional code to be added?
Do you need to add the following code to the main.dart file?
FacebookAppEvents events = FacebookAppEvents();
events.setAutoLogAppEventsEnabled(true);
@antonoddbit
I'm currently figuring out a similar situation.
1 - Is it possible to add logging to the plugin, so it would log in the console when it sends something to Meta? 2 - Is it also suppose to work from the ios / android emulator? (I assume - yes, but in practice it's hard to debug without the logging)
I'm currently figuring out a similar situation.
1 - Is it possible to add logging to the plugin, so it would log in the console when it sends something to Meta? 2 - Is it also suppose to work from the ios / android emulator? (I assume - yes, but in practice it's hard to debug without the logging)
This issue has already affected the normal advertising process. I'm not sure if it's a problem with the face book SDK itself. After connecting to Flutter SDK on the Android end, there is a significant discrepancy in the application installation event statistics that are automatically reported and viewed in the face book backend. It is unclear whether additional Dart code needs to be written, or if the plugin is not fully integrated with Android native code.
@hhzhangzy I will check about autologging on android, thanks for the suggestion code
@hhzhangzy I will check about autologging on android, thanks for the suggestion code
However, according to the Facebook SDK document, there should be no need to verify the login logic for event reporting, right? According to the Facebook SDK documentation, automatic event recording and reporting should be enabled by default.
@hhzhangzy previously I have read the SDK and it should enabled by default. There is similar issue about this last year.
@hhzhangzy previously I have read the SDK and it should enabled by default. There is similar issue about this last year.
Hello, have you found the reason?
@antonoddbit Do I need to integrate Facebook SDK instead of just integrating Facebook event SDK?
Hi @hhzhangzy maybe you could try to integrate the the FBSDK on android directly if the problem persist. Previously there are several issue that also occurs in the native FBSDK itself, since this library is wrapper to native FBSDK on Flutter
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.
This issue was closed because it has been stalled for 5 days with no activity.
Is there an existing issue for this?
Current Behavior
I integrated the 0.19.2 version of the SDK and configured the Android XML files according to the documentation. However, I did not add any code to call the SDK. Can I still see the automatically collected Android application installation events on the Facebook platform? However, in reality, the collected events are not accurate and relatively few.
Expected Behavior
Directly integrate the SDK and configure the AndroidManifest.xml files:
and android/app/src/main/values/styles.xml ,android/app/src/main/values-night/styles.xml :
Steps To Reproduce
No response
Platform
Android
Flutter Doctor