6.13.0
New Features
- Rich Media content now receives a color scheme from the SDK, so HTML built with the
prefers-color-schemeCSS media query renders its light or dark variant consistently in both modal and full-screen Rich Media - Added
RichMediaManager.setRichMediaColorScheme()andRichMediaManager.getRichMediaColorScheme()to choose which scheme is reported:APPfollows the application theme (default),SYSTEMfollows the system dark mode setting,LIGHTandDARKpin the schemeRichMediaManager.setRichMediaColorScheme(RichMediaColorScheme.DARK);
- Added the
com.pushwoosh.rich_media_color_schemeAndroidManifest.xml meta-data key for the same setting, so cross-platform plugins can configure it declaratively. A value set through the API takes priority over the manifest<meta-data android:name="com.pushwoosh.rich_media_color_scheme" android:value="dark"/>
- Native in-app messages now render a dark variant when the effective color scheme resolves to dark: the campaign's dark colors and images are applied, and messages authored without them render unchanged
Bug Fixes
- A deep link from an opened notification now reaches the activity that is already running instead of a new copy of it:
singleTop,singleTaskandsingleInstanceactivities receive it inonNewIntent(), astandardactivity gets it inonCreate(), and activities sitting above the target in the task are closed - Date tags and
InboxMessage.getISO8601SendDate()now produce the same machine-readable date format on every device locale, including locales that display non-Latin digits
Improvements
- Captioned and carousel inbox cards now require both a title and a message text, matching the iOS resolver; messages missing either render as a classic card
- Inbox carousel cards now display up to five slides