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

fix(FEC-8097): adsRenderingSettings aren’t applied #50

Merged
merged 5 commits into from
Apr 8, 2018
Merged

Conversation

odedhutzler
Copy link
Contributor

@odedhutzler odedhutzler commented Apr 5, 2018

Description of the Changes

Fix conditional check for IMA AdsRenderingSettings object.

CheckLists

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • test are passing in local environment
  • Travis tests are passing (or test results are not worse than on master branch :))
  • Docs have been updated

@odedhutzler odedhutzler self-assigned this Apr 5, 2018
@@ -454,7 +454,7 @@ export default class Ima extends BasePlugin {
this._sdk.settings.setPlayerVersion(this.config.playerVersion);
this._sdk.settings.setVpaidAllowed(true);
this._sdk.settings.setVpaidMode(this._sdk.ImaSdkSettings.VpaidMode.ENABLED);
if (this.config.setDisableCustomPlaybackForIOS10Plus === 'boolean') {
if (typeof this.config.setDisableCustomPlaybackForIOS10Plus === 'boolean') {
Copy link
Contributor

@dan-ziv dan-ziv Apr 8, 2018

Choose a reason for hiding this comment

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

@odedhutzler
Although this is a good fix, how this is related to the adsRenderingSettings?

Copy link
Contributor

Choose a reason for hiding this comment

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

U r right @dan-ziv, added a fix for undefined instead of null on IMA adsRenderingSettings.
Please update your request for changes

Copy link
Contributor

Choose a reason for hiding this comment

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

@odedhutzler I think we can add tests for this - please check

dan-ziv
dan-ziv previously approved these changes Apr 8, 2018
@OrenMe OrenMe merged commit 88d2713 into master Apr 8, 2018
@OrenMe OrenMe deleted the FEC-8097 branch April 8, 2018 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants