Skip to content

6.17.0

Choose a tag to compare

@PushwooshCI PushwooshCI released this 15 Oct 15:39
· 2 commits to master since this release

New Features

  • Added action buttons in push notifications through the pw_buttons payload field: up to three buttons that open the app, open a URL or deep link, or deliver the tap to your code without opening a screen. The SDK renders the buttons and handles the tap; NotificationServiceExtension.onMessageOpened() receives a message whose getTappedButtonId() returns the tapped button
    @Override
    protected void onMessageOpened(PushMessage message) {
        String buttonId = message.getTappedButtonId(); // null for a tap on the notification body
    }
  • Added Inbox tabs configured in the Pushwoosh Control Panel. pushwoosh-inbox-ui shows the tab bar automatically; custom inbox UIs read it with PushwooshInbox.getTabs() and match messages by InboxMessage.getTabId()
    InboxTabs tabs = PushwooshInbox.getTabs(); // null when the Inbox has no tabs
  • The SDK now reports the device's push notification permission status to Pushwoosh on registration

Improvements

  • The group summary notification now updates its message count after any notification in the group is opened or dismissed
  • pushwoosh-inbox-ui now loads messages from the server when the local cache is empty

Deprecations

  • Action and PushMessage.getActions() (the pw_actions payload field) are deprecated in favor of pw_buttons and PushMessage.getButtons()