Facbook events doesn't works on iOS

Viewed 1789

When I start my app I always receive this message:

[connection] nw_resolver_start_query_timer_block_invoke [C35.1] Query fired: did not receive all answers in time for graph.facebook.com:443

I am using this plugin: https://pub.dev/packages/facebook_app_events

The events works perfectly fine on Android. I've tried many options (the ones I found on the internet) but none of it worked.

2 Answers

I finally found a solution for it.

In the main.dart I just need to call:

FacebookAppEvents().isAdvertiserIDCollectionEnabled(true);

And then it worked. I hope it works for you too!

Related