Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Conversation

@HansMuller
Copy link
Contributor

The AdMob team advised us to not make the requestAgent a public part of the MobileAdTargetingInfo class but to set it to "flutter-version".

Copy link
Contributor

@collinjackson collinjackson left a comment

Choose a reason for hiding this comment

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

I think this change doesn't actually do what you want, because there's no default MobileAdTargetingInfo if the user doesn't specify one. We should have MobileAd use a default MobileAdTargetingInfo if there isn't one specified, and make sure to test this behavior.

Copy link
Contributor

@collinjackson collinjackson left a comment

Choose a reason for hiding this comment

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

lgtm

/// Default constructor, used by subclasses.
MobileAd({@required this.unitId, this.targetingInfo, this.listener}) {
MobileAd({@required this.unitId, MobileAdTargetingInfo targetingInfo, this.listener})
: _targetingInfo = targetingInfo ?? const MobileAdTargetingInfo();
Copy link
Contributor

Choose a reason for hiding this comment

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

remove semicolon

Copy link
Contributor Author

Choose a reason for hiding this comment

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

YES

@HansMuller HansMuller merged commit af1beed into flutter:master Jan 3, 2018
@HansMuller HansMuller deleted the request_agent branch January 3, 2018 23:08
julianscheel pushed a commit to jusst-engineering/plugins that referenced this pull request Mar 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants