Skip to content

Commit 062c8d4

Browse files
[interactive_media_ads] Updates README to recommend that a single AdsLoader should be used per page (flutter#11103)
Addresses flutter/flutter#182012 ## Pre-Review Checklist **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
1 parent 12013c4 commit 062c8d4

5 files changed

Lines changed: 9 additions & 4 deletions

File tree

packages/interactive_media_ads/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.3.0+11
2+
3+
* Updates `README` to recommend that a single `AdsLoader` should be used per page not for the entire
4+
application.
5+
16
## 0.3.0+10
27

38
* Bumps `com.google.ads.interactivemedia.v3:interactivemedia` from 3.38.0 to 3.39.0.

packages/interactive_media_ads/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ guide:
2323

2424
* [AdDisplayContainer][3]: A container object where ads are rendered.
2525
* [AdsLoader][4]: Requests ads and handles events from ads request responses. You should only
26-
instantiate one ads loader, which can be reused throughout the life of the application.
26+
instantiate one ads loader at a time, which can be reused throughout the lifecycle of a page.
2727
* [AdsRequest][5]: An object that defines an ads request. Ads requests specify the URL for the VAST
2828
ad tag, as well as additional parameters, such as ad dimensions.
2929
* [AdsManager][6]: Contains the response to the ads request, controls ad playback,

packages/interactive_media_ads/android/src/main/kotlin/dev/flutter/packages/interactive_media_ads/AdsRequestProxyApi.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class AdsRequestProxyApi(override val pigeonRegistrar: ProxyApiRegistrar) :
2121
*
2222
* This must match the version in pubspec.yaml.
2323
*/
24-
const val pluginVersion = "0.3.0+10"
24+
const val pluginVersion = "0.3.0+11"
2525
}
2626

2727
override fun setAdTagUrl(pigeon_instance: AdsRequest, adTagUrl: String) {

packages/interactive_media_ads/ios/interactive_media_ads/Sources/interactive_media_ads/AdsRequestProxyAPIDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class AdsRequestProxyAPIDelegate: PigeonApiDelegateIMAAdsRequest {
1313
/// The current version of the `interactive_media_ads` plugin.
1414
///
1515
/// This must match the version in pubspec.yaml.
16-
static let pluginVersion = "0.3.0+10"
16+
static let pluginVersion = "0.3.0+11"
1717

1818
func pigeonDefaultConstructor(
1919
pigeonApi: PigeonApiIMAAdsRequest, adTagUrl: String, adDisplayContainer: IMAAdDisplayContainer,

packages/interactive_media_ads/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: interactive_media_ads
22
description: A Flutter plugin for using the Interactive Media Ads SDKs on Android and iOS.
33
repository: https://github.com/flutter/packages/tree/main/packages/interactive_media_ads
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+interactive_media_ads%22
5-
version: 0.3.0+10 # This must match the version in
5+
version: 0.3.0+11 # This must match the version in
66
# `android/src/main/kotlin/dev/flutter/packages/interactive_media_ads/AdsRequestProxyApi.kt` and
77
# `ios/interactive_media_ads/Sources/interactive_media_ads/AdsRequestProxyAPIDelegate.swift`
88

0 commit comments

Comments
 (0)