-
Notifications
You must be signed in to change notification settings - Fork 360
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
App events not received in iOS. #148
Comments
Sounds like a duplicate of #145 ... can you confirm |
yes, but the difference is, that all events are captured for android devices, but not for iOS devices. I have autoLogEvents enabled, so on android I am seeing these events + my custom events. But on iOS devices, nothing is detected. |
Update: I just tested the package on a iOS 13.7 simulator and it worked. I saw in the events manager that my device was detected and that all of the auto logged events where collected. |
@DennisAlund Do you have any solution? Please give us an update. Thank you! |
I have just revisited the plugin and its example. I don't have a iOS device to test on right now. Please have a look at PR #149 as it bumps plugin version to |
unfortunately I can't test if this solved my problem because I am also using flutter_login_facebook: ^1.1.0 in my app which still depends on SDK v11. And now, when I want to update, coco pods is throwing an error because it cannot resolve the sdk versions. So, since I can't have to versions of the sdk at the same time(right ?) I am kind of stuck here. Would be great if anyone who is also experiencing this can give feedback wether or nor updating changed anything. |
Would be happy to get some insights from a iOS developer who has a finger on the pulse on what happened in the jump from v13-14 for iOS and how it might have impacted the Facebook SDK. Is it a bug on the plugin or some restrictions of the OS that prevents the Facebook SDK to work differently. Would be happy to learn more abou this. |
You might want to look into https://pub.dev/packages/flutter_facebook_auth which seems to be more up to date |
Do you think it could be related? https://developers.facebook.com/docs/app-events/guides/advertising-tracking-enabled/ |
Thanks @furkanvatandas that seems to be a good lead. @Young-Slim-Jim can you confirm if you have enabled the advertisement tracking using this method already? Or if you enable it can you confirm that the events start showing up. Would be great to know for future troubleshooting 🙏 flutter_facebook_app_events/lib/facebook_app_events.dart Lines 261 to 269 in 1d4af85
|
Thank you for that hint. That actually solved the problem for me. Before I opened the ticket, I tried setting that flag in another way, which didn't work out, which is why I did not take it into consideration. |
Currently, I am using this package to send custom events. On Android devices everything is working fine. I see events in the overview and in event testing tab on the Facebook event dashboard. However, I do not see anything when I am running the app on a iOS Device. In my Facebook dashboard no error are shown and it is telling me, that everything is up to date.
Possible Solution
I saw that a lot of people are struggling with iOS Device on sending out the events on iOS 14.5 and higher. I tried everything that these people where suggestion, but I can not try everything since some of the suggested fixes are only possible to do for people who use Swift / native development. Tracking for this iOS devices was allowed, but it did not change anything.
Steps to Reproduce (for bugs)
Context
Your Environment
The text was updated successfully, but these errors were encountered: