feat(ads): ANLSPI-22249 CAID support #336
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
支持广协 CAID 归因,需要在 SDK 初始化时,通过配置项
configuration.CAIDFetchBlock
传入获取 CAID 操作(需保证每次获取最新 CAID),并在 block 最后调用 didCompleteBlock 传入获取到的 CAID JSON 字符串,示例如下:如果未调用 didCompleteBlock 或超时 5 秒,则此前生成的 ACTIVATE 事件将使用此前获取到的缓存在内存中的 CAID 事件属性(如果有)