storyteller_gam_sdk 12.2.0
storyteller_gam_sdk: ^12.2.0 copied to clipboard
Flutter plugin for Storyteller Google Ad Manager integration.
Changelog #
12.2.0 05/11/2026 #
Native SDKs #
- The Android Storyteller SDK and GAM v24 dependencies stay on
12.2.0. - Updated the iOS Storyteller SDK and GAM integration dependencies to
11.9.1.
New Features #
StorytellerGAMModuleConfigurationhas a newrequestCustomKvpscallback that receives theStorytellerAdRequestInfoof each GAM ad request, so custom KVPs can depend on the Clips collection or Stories list an ad is shown with. Storyteller calls it for every GAM request, including ads it loads ahead of time, and it can complete asynchronously. On iOS the GAM plugin no longer blocks while it waits for Dart targeting.
Bug Fixes #
- On iOS, the GAM plugin no longer uses the Swift code pattern that can crash
with the outdated runtime helper in Google Mobile Ads SDK
13.4.0or later when the plugins are linked statically.
12.1.2 30/10/2026 #
Native SDKs #
- Updated the Android Storyteller SDK and GAM v24 dependencies to
12.2.0. - Uses the Storyteller Android 12.x release line: Android apps need Kotlin 2.1+, compileSdk 35+ and Android Gradle Plugin 8.6.0+.
- Updated the iOS Storyteller SDK and GAM integration dependencies to
11.9.0.
New Features #
- Added the optional
contentIdof the current Story or Clip to ad requestItemInfoon Android and iOS.
Bug Fixes #
- Android GAM and AdMob keep serving ads when the Storyteller SDK cancels in-flight ad requests, for example when closing the player or swiping past Clips whose bottom banners are still loading.
11.6.5 20/08/2026 #
- Simplified package READMEs to direct installation, configuration, and usage guidance to the public Flutter documentation and Showcase.
11.6.4 19/08/2026 #
Native SDKs #
- Updated the Android Storyteller SDK and GAM v24 dependencies to
11.6.4. - Updated the iOS Storyteller SDK and GAM integration dependencies to
11.6.1. - iOS consumers must add the Storyteller Lottie podspec source to their
Podfilefor the transitiveStorytellerLottie4.6.0dependency.
New Features #
- Allowed GAM and AdMob Flutter packages to coexist in one consumer and made setup replace only the active Google ads facade while preserving VAST.
- Added
StorytellerGAMModule.disable()to remove the active Google facade while preserving VAST for integrating-app Client Ads configurations. - Added
bottomBannerAdUnitsupport for Clips bottom banner GAM placements. - Added consent-gated Publisher Provided ID (
publisherProvidedId) support. - Allowed main-content and bottom-banner ad-unit callbacks to return either a
synchronous value or a
Future. - Added typed host-native request-enrichment hooks for asynchronous Android GAM builders and iOS Google requests.
- Added native GAM module key and debug logging configuration passthrough where supported by the native SDK.
- Added support for the native
nextClipad request payload while preserving compatibility with the previous AndroidnextClipCategoriespayload.
Bug Fixes #
- Allowed main-content and bottom-banner ad-unit callbacks to resolve independently instead of sharing one timeout queue on Android.
- Fixed Android main-thread GAM requests skipping dynamic full-screen and Clips bottom-banner ad-unit callbacks by resolving each request asynchronously before delegating to the native module.
- Waited for Android native GAM registration before completing
setup()so sequential provider changes cannot race Storyteller initialization.
11.1.0 03/02/2026 #
11.0.2 17/12/2025 #
Bug fixes #
- Fixed an issue where the customKvps callback was called only once in the GAM adapter
- Fixed a rare issue related to the mute state on Android
11.0.1 04/12/2025 #
Improvements #
- Decreased the minimum required version of the GAM dependency for the GAM module on iOS to 12.2
11.0.0 14/11/2025 #
11.0.0-alpha.2 29/10/2025 #
Bug fixes #
- Fixed issue where adUnit callback was not being invoked on iOS
11.0.0-alpha.1 29/10/2025 #
storyteller_sdk #
SDK Initialization
Storyteller.initialize()with API key authentication and optional external IDStorytellerEventTrackingOptionsfor personalization and ad tracking configuration- SDK state queries:
isInitialized(),version(),currentApiKey()
Widget Components
StorytellerStoriesGridView- Grid layout for stories with category filteringStorytellerStoriesRowView- Horizontal scrolling row of storiesStorytellerClipsGridView- Grid layout for clips with collection supportStorytellerClipsRowView- Horizontal scrolling row of clipsStorytellerEmbeddedClipsView- Embedded clips player with playback controls
Controllers
StorytellerEmbeddedClipsControllerfor programmatic playback controlStorytellerListViewControllerfor list and grid view management
Content Navigation
- Direct content opening:
openStory(),openPage(),openSheet(),openSearch() - Collection support:
openCollection(),openCollectionWithCategory() - External ID support:
openStoryByExternalId(),openClipByExternalId() - Category navigation:
openCategory(),isCategoryFollowed() - Content counts:
getStoriesCount(),getClipsCount()
User Management
- Custom attributes:
setCustomAttribute(),removeCustomAttribute(),customAttributes() - Locale configuration:
setLocale() - Category following:
addFollowedCategory(),removeFollowedCategory(),followedCategories()
Theming System
StorytellerThemewith light/dark mode support- Component-specific themes: instructions, engagement units, polls, quizzes, search
- Per-collection theme support in
openCollection()
Deep Linking
isStorytellerDeeplink()for URL validationopenDeeplink()for navigation handlingisSearchEnabled()query
Player Controls
dismissPlayer()with animation and reason supportresumePlayer()for playback continuation- Player state queries:
isPlayerVisible(),isPresentingContent()
Event Streams
onUserActivityOccurred- All user interaction eventsuserNavigatedToApp- Link tap navigation eventscategoryFollowActionTaken- Category follow/unfollow eventsonPlayerPresented- Player presentation lifecycleonPlayerDismissed- Player dismissal lifecycleonLog- SDK debug logging
storyteller_gam_sdk #
Google Ad Manager Integration
StorytellerGAMModule.setup()for native SDK integration configurationStorytellerGAMModuleConfigurationwith dynamic ad unit callbackStorytellerAdRequestInfoproviding placement, category, and experiment contextStorytellerCustomNativeTemplateIdsfor stories and clips ad templates
Features
- Dynamic ad unit selection per request based on placement/category/experiment
- Custom native template ID mapping for stories and clips
- Platform channel bridge to native GAM SDKs