Skip to content

6.13.0

Choose a tag to compare

@PushwooshCI PushwooshCI released this 11 Sep 18:53
· 3 commits to master since this release

New Features

  • Rich Media content now receives a color scheme from the SDK, so HTML built with the prefers-color-scheme CSS media query renders its light or dark variant consistently in both modal and full-screen Rich Media
  • Added RichMediaManager.setRichMediaColorScheme() and RichMediaManager.getRichMediaColorScheme() to choose which scheme is reported: APP follows the application theme (default), SYSTEM follows the system dark mode setting, LIGHT and DARK pin the scheme
    RichMediaManager.setRichMediaColorScheme(RichMediaColorScheme.DARK);
  • Added the com.pushwoosh.rich_media_color_scheme AndroidManifest.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, singleTask and singleInstance activities receive it in onNewIntent(), a standard activity gets it in onCreate(), 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