Im using Branch SDK to supports SKAdNetwork. https://help.branch.io/using-branch/docs/branchskadnetwork-integration-instructions#app-option-1-use-the-branch-sdk-to-manage-skadnetwork I added StoreKit to my iOS app, in the apple documentation https://developer.apple.com/documentation/storekit/skadnetwork/2943654-registerappforadnetworkattributi they mention that this function is been called after the first launch of an app installed as a result of an ad. but I didn't find any documentation that talks about where and how to implement it, is it on the app side or on the Branch side. How do I know that its been triggered? how to call it? should I import something? Any help is appreciated
It appears that you are using Branch SDK with option to let SDK manage SKAdNetwork. If that’s the case, once you initialise SDK in App e.g. in didFinishLaunch function, SDK will take care of registerAppForAdNetworkAttribution Call. You don’t need to call it again in App. If you opt to manage SKAdNetwork yourself, then you need to call registerAppForAdNetworkAttribution From within App didFinishLaunch function. Ideally call it only once per app install, though Apple documentation says there is not effect if you call it multiple times.