Skip to content

Releases: OneSignal/OneSignal-Website-SDK

150500 Release

04 Oct 00:26
d3736aa
Compare
Choose a tag to compare

Reducing the size of the OneSignal service worker file by:

  • removing unnecessary code #413
  • introducing 2 separate configs for Service Worker file (now targeting ES6) and SDK file (still targeting ES5) #414

150404 Release

25 Sep 19:36
Compare
Choose a tag to compare

Includes the following bug fixes:

  • Making sure localhost http is treated as secure if allowLocalhostAsSecureOrigin is set to true (#408)
  • Improved on_session reporting (#400)
  • Ensure getRegistration in Service Worker can handle throws (#393)
  • Fix error caused by a user blocking localStorage (#379)

150403 Release

12 Sep 00:17
Compare
Choose a tag to compare

Fix for OneSignal init in Chrome 69 on http

  • Fix for Issue #404

150402 Release

04 Aug 02:12
Compare
Choose a tag to compare

Init on HTTP "Secure origins" Error Fix

  • Fixes DOMException: Only secure origins are allowed error during init on HTTP sites

150401 Release

02 Aug 21:04
Compare
Choose a tag to compare

Compatibility with Safari 11.1 & base tag support

  • Fixed pushManager error with Safari 11.1 when using your own service worker.
  • Compatible with sites that use a <base> tag with a different domain

150400 Release

23 Jul 23:58
Compare
Choose a tag to compare

New Custom Link Prompt & Misc Improvements

  • Added new Custom Link prompt!
    • Available in the OneSignal Dashboard as a new prompt option
  • Improved accessible of slide down prompt colors. Issue #360 & PR #361
  • App Id formatting checks added. PR #373

150300 Release

15 Jun 09:42
Compare
Choose a tag to compare

Added 403 & 404 service worker detection and "force" bug fix

  • Added error reporting of setup issues with service workers for HTTPs sites
  • Fixed "Cannot read property 'force' of undefined" error. #363

150201 Release

12 Jun 00:12
Compare
Choose a tag to compare

showHttpPrompt Not Prompting on HTTP

  • Fixed issue where showHttpPrompt was not prompting on HTTP sites
    • Issue was introduced in version 150200

150200 Release

18 May 02:43
Compare
Choose a tag to compare

GDPR methods & addListenerForNotificationOpened Fix

  • Added GDPR privacy consent to postpone initialization of the SDK until the user accepts
    • New requiresUserPrivacyConsent init flag
    • New provideUserConsent(boolean) function
  • Fixed getListeners error when opening a notification if addListenerForNotificationOpened was called
  • Added Promise of id to setEmail. PR #349

WordPress HTTPS Integration Required Files

08 Dec 23:06
Compare
Choose a tag to compare

Please download OneSignal-WordPress-HTTPS-Integration-Files.zip and not Source code (zip).

Unzip the archived files to any directory of your site:

  • manifest.json.php
  • OneSignalSDKWorker.js.php
  • OneSignalSDKUpdaterWorker.js.php