facebook / facebook/facebook-ios-sdk
App events doesnt show up in the events manager dashboard
- Dominant language
- Swift
- Stars
- 8.1k
- Forks
- 3.7k
- PR merge metrics
- No merged PRs in 30d
Description
### Checklist before submitting a bug report
- [x] I've updated to the latest released version of the SDK
- [x] I've searched for existing [GitHub issues](https://github.com/facebook/facebook-ios-sdk/issues)
- [x] I've looked for existing answers on [Stack Overflow](https://facebook.stackoverflow.com), the [Facebook Developer Community Forum](https://developers.facebook.com/community/) and the [Facebook Developers Group](https://www.facebook.com/groups/fbdevelopers)
- [x] I've read the [Code of Conduct](https://github.com/facebook/facebook-ios-sdk/blob/main/CODE_OF_CONDUCT.md)
- [x] This issue is not security related and can safely be disclosed publicly on GitHub
### Xcode version
26.0.1
### Facebook iOS SDK version
18.0.1
### Dependency Manager
SPM
### SDK Framework
Core
### Goals
App Events should be logged and visible in the Facebook Events Manager Test Events tool to verify that onboarding tracking is working correctly.
### Expected results
Events should appear in Facebook Events Manager → Test Events within seconds
### Actual results
No events appearing in Facebook Events Manager Test Events tool
### Steps to reproduce
1. Install Facebook SDK via Swift Package Manager
2. Configure Info.plist with $(FACEBOOK_APP_ID) and $(FACEBOK_CLIENT_TOKEN) build variables
3. Initialize SDK in AppDelegate via FacebookService
4. Complete onboarding flow which triggers tracking permission request
5. ATT permission granted (status = .authorized)
6. Onboarding step completed (e.g., .enterPhoneForm)
7. Check Facebook Events Manager → Test Events
8. No events visible
### Code samples & details
```swift
import FacebookCore
func trackEvent(_ type: String, parameters: [String: Any]) {
let properties = with(parameters) { $0["env"] = BundleInfo.appEnvironment.value! }
var metaProperties: [AppEvents.ParameterName: Any] = [:]
for (key, value) in properties {
let parameterName = AppEvents.ParameterName(key)
metaProperties[parameterName] = value
}
AppEvents.shared.logEvent(AppEvents.Name(type), parameters: metaProperties)
AppEvents.shared.flush()
}
```
Contributor guide
Assessment
This issue has not been assessed yet.