Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proposal: monitor IMA ad events for the user #42

Merged
merged 21 commits into from
Oct 29, 2024

Conversation

daytime-em
Copy link
Contributor

Here are the proposed changes.

We need to update the unit tests before we un-draft this

@daytime-em daytime-em marked this pull request as ready for review October 29, 2024 16:52
@daytime-em daytime-em requested a review from a team as a code owner October 29, 2024 16:52
Copy link

@cjpillsbury cjpillsbury left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pre-approving (😎) but some nits that should probably get cleaned up pre-merge: semicolons; added whitespace

@daytime-em
Copy link
Contributor Author

daytime-em commented Oct 29, 2024

I just remembered that I need to update the Example in the SPM project.

Copy link
Contributor

@andrewjl-mux andrewjl-mux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SPM example needs a small fix for build break. LGTM otherwise

…MExampleIOS/PlayerContainerViewController.swift

Co-authored-by: AJ Lauer Barinov <[email protected]>
@daytime-em
Copy link
Contributor Author

ok, build fixed!

@andrewjl-mux andrewjl-mux self-requested a review October 29, 2024 22:00
@daytime-em daytime-em merged commit aeaad63 into releases/v0.14.0 Oct 29, 2024
2 checks passed
@daytime-em daytime-em deleted the data-api-proposal branch October 29, 2024 22:05
@daytime-em daytime-em mentioned this pull request Oct 30, 2024
daytime-em pushed a commit that referenced this pull request Oct 30, 2024
## Breaking
* Reworked the `MuxImaListener` API to improve data accuracy (see below) (#42)

## Improvements:
* update Mux Data dependencies
* add Swift Package Manager example

### Steps to migrate existing integration 

1. Replace calls to `MuxImaLister` with `MUXSDKIMAAdListener`. `MuxImaListener` supports the same new API so this step is optional, the remaining steps are applicable to `MuxImaListener`. As of `v0.14.0`, `MuxImaLister` is deprecated and will be removed in a future release.
2. Supply an `IMAAdsLoader` when calling the `MUXSDKIMAAdListener` initializer. Make sure your IMAAdsLoader delegate **is configured before this step**.
3. MUXSDKIMAAdListener will forward `IMAAdsLoaderDelegate` calls to your delegate. 
4. When you've created a new `IMAAdsManager`, like you've done with `IMAAdsLoader`, configure your own  `IMAAdsManagerDelegate` first and then call `monitorAdsManager`.
5. MUXSDKIMAAdListener will forward `IMAAdsManagerDelegate` calls to your delegate. 
6. Remove calls to `dispatchEvent`, `dispatchError`, and `onContentPauseOrResume` from your integration.
@daytime-em daytime-em restored the data-api-proposal branch November 21, 2024 23:39
@daytime-em daytime-em deleted the data-api-proposal branch November 21, 2024 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants