Skip to content

Releases: OneSignal/OneSignal-Website-SDK

Release 151002

08 Jun 21:48
Compare
Choose a tag to compare

Send Unique Outcome for Web

Adds support for sending unique outcomes for Web called using sendUniqueOutcome

Release 151001

18 May 19:52
Compare
Choose a tag to compare

Includes an additional parameter device_type to the request body in onNotificationOpen function of ServiceWorker class https://github.com/OneSignal/OneSignal-Website-SDK/blob/master/src/service-worker/ServiceWorker.ts#L839.

Release 151000

22 Apr 20:41
Compare
Choose a tag to compare

Time and page view count based prompt delays

Added support for time and page view count based delay on automatic prompts, i.e. native and slidedown - #630.

  • New settings are available in web settings at OneSignal dashboard.
  • Supported for typical and custom configurations.
  • Existing configurations not affected, to use please update your app config first.

More information in our docs here.

Other

Small fix for simplified debugging of service worker. Flip the flag self.shouldLog on your service worker and see OneSignal logs output for your service worker.

Release 150900

17 Apr 20:58
20d112b
Compare
Choose a tag to compare

New session tracking and support for web outcomes

  • NEW Outcomes
  • Session count now track after un-focusing the site for 30+ seconds then coming back.
    • Before session counts were track by browser session.
  • Time spent on site now tracked.

More details in this PR -> Feature branch: new session logic + outcomes #624

Release 150800

03 Feb 20:56
Compare
Choose a tag to compare

Confirmed Deliveries

Release 150713

24 Jan 01:36
Compare
Choose a tag to compare

Firefox 72+ Sub-domain & Player recreate Fixes; ServiceWorker install optimization

  • Fixed notification pop-up window for Firefox 72+ when using a Sub-domain / HTTP setup.
  • Fixed sendTags and other updates not working after user is deleted from OneSignal dashboard.
  • Fixed issue where OneSignal ServiceWorker was being installed unnecessarily on first page visit.

Release 150712

06 Jan 22:01
30447b0
Compare
Choose a tag to compare

Includes a fix for Require Interaction Bug (#577)

Any promises between user click on the html element and the browser prompting for permission are treated as breaking direct interaction rule by browser which results in the native prompt not showing up.

Replaced the promisified call to get the current subscription status with pre-saving it to local storage and retrieving the value from there, since local storage calls are synchronous.

Release 150711

11 Dec 23:49
Compare
Choose a tag to compare

Omit ServiceWorker install on a HTTPS host page when using a os.tc subdomain setup

  • Fixed bug where we would attempt to install a ServiceWorker on a HTTPS domains even for HTTP/ subdomain setups which do not require the site to host one

Release 150710

31 Oct 21:44
Compare
Choose a tag to compare

Notification Display Fix for Chrome macOS 10.15

  • Fixed notifications not displaying on macOS 10.15 Chrome when presist is enabled.
    • Due to limitations of macOS 10.15 notifications won't persistent now.
    • This is requireInteraction bug is noted by Chromium issue 1007418, Google is applying the same fix / workaround in Chrome 79.
      • Update: Google issue is now hidden, need to confirm if fixed in Chrome 79+ now.
      • See issue Chromium issue 1064641 which is a related issue.
    • PR #568
  • Also fixed the same issue for Opera on macOS 10.14+

Release 150709

23 Oct 21:58
9dc9641
Compare
Choose a tag to compare

Resolved a bug where navigator.permissions is undefined in Firefox (#555)