Skip to content

7.3.0

Choose a tag to compare

@PushwooshCI PushwooshCI released this 27 Oct 08:54
· 1 commit to master since this release

New Features

  • Added Inbox tabs configured in the Control Panel: the Inbox UI shows an "All" tab plus the server tabs with unread badges, and each tab lists only its messages. Pushwoosh.inbox.getTabs() returns the tab list (nil when no tabs are configured), and each inbox message carries its tabId
  • Added Pushwoosh.configure.postEvent, addJavascriptInterface, reloadInApps and resetUserId as replacements for the deprecated instance methods. Pushwoosh.InboxKit is now visible from Swift

Deprecated

  • Pushwoosh.sharedInstance(), initializeWithAppCode, all Pushwoosh instance members, PWInAppManager.shared(), PWInbox and PWRichMediaManager.shared() are deprecated in favour of Pushwoosh.configure, Pushwoosh.inbox and Pushwoosh.media.legacyRichMedia. They keep working and only produce compiler warnings
    // Before
    Pushwoosh.sharedInstance().setTags(["plan": "pro"])
    // Now
    Pushwoosh.configure.setTags(["plan": "pro"])

Bug Fixes

  • Fixed registerForPushNotifications(completion:) reporting success while device registration was still in progress or had failed; the completion now reports the server's real outcome, and tags passed with registration are no longer lost on transient failures
  • Fixed a malformed in-app catalog response deleting the cached in-apps; the cache is now kept until the next successful sync
  • Fixed the SDK unregistering the device when iOS revokes the VoIP token; regular push notifications now keep arriving
  • Fixed inline JavaScript in Rich Media HTML being corrupted by placeholder substitution, so the template's script runs. Single-brace placeholders such as {Name|text|} are no longer substituted inside <script>; use {{Name|text|}} there