facebook / facebook/facebook-ios-sdk

SKAdNetwork Conversion Value updates not working when automatic in-app logging is turned off.

Open
#2,096 0 comments 0 reactions 0 assignees View on GitHub
bug needs-triage
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

13.3

### Facebook iOS SDK version

Latest

### Dependency Manager

CocoaPods

### SDK Framework

Core

### Goals

When I turn off automatic logging for in-app purchase events SKAdNetwork does not receive any conversion value updates. Is there a way to not auto-log trial start/subscribe events to FB but still update SKAdNetwork via the FB SDK.

### Expected results

A solution for using FB App Events API + FB SDK to send events to FB + SKAdNetwork.

The FB SDK should update the conversion values for SKAdNetwork.

Events manager should receive trial start/subscribe events via the App Events API.

### Actual results

Seems that FB SDK does not update the SKAdNetwork conversion values when automatic logging is turned off.

### Steps to reproduce

Turn off automatic in-app events.

### Code samples & details

```swift
// INSERT YOUR CODE HERE
var example = "Example code"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.