oddbit / flutter_facebook_app_events

Flutter Plugin for Facebook App Events
https://pub.dev/packages/facebook_app_events
Apache License 2.0
129 stars 327 forks source link

[Bug]: iOS isn't tracked #364

Closed hajiboy95 closed 5 months ago

hajiboy95 commented 5 months ago

Is there an existing issue for this?

Current Behavior

At the Meta for Developer Ads-Helptool webpage It always tells me that last iOS installation is not available. Android installation seems to be tracked however.

I tried the emulator as well as uploading it and test it with beta tester for my app. boeth doesn't get tracked

Expected Behavior

app install should be tracked

Steps To Reproduce

Add this to your info.pfile `CFBundleURLTypes

CFBundleTypeRole Editor CFBundleURLSchemes $(CFBundleURLSchemes) CFBundleURLSchemes fb$(FB_APP_ID)
<key>FacebookAppID</key>
<string>$(FB_APP_ID)</string>
<key>FacebookClientToken</key>
<string>$(FACEBOOK_CLIENT_TOKEN)</string>
<key>FacebookDisplayName</key>
<string>$(FB_DISPLAY_NAME)</string>`

I also added google login, that's why I've got a few more lines in the CFBUNDLEURLSCHEME section 

Platform

iOS

Flutter Doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.2, on macOS 14.5 23F79 darwin-arm64, locale de-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.3)
[✓] VS Code (version 1.90.1)
[✓] Connected device (4 available)            
[✓] Network resources

• No issues found!
hajiboy95 commented 5 months ago

worked after I added the token which I've skipped before