Skip to content

3.0.0 Release

Compare
Choose a tag to compare
@jkasten2 jkasten2 released this 05 Aug 23:40
  • New NotificationOpenedHandler signature with a instance of OSNotificationOpenResult.
  • New NotificationReceivedHandler event settable with setNotificationReceivedHandler on OneSignal.Builder.
  • New OSNotificationReceivedResult passed to NotificationExtenderService
    • More descriptive OSNotificationPayload property names with rawPayload.
  • Session count improvements.
  • syncHashedEmail - New optional method that sends OneSignal the user's email as an anonymized hash so that we can better target and personalize notifications sent to that user across their devices.
  • Badge support for newer Sony launchers and added Huawei launcher support.
  • Fix for white circle or square small notification icon Android 5.0+ devices. (API level 21).
    • If you do not create your own drawable named ic_stat_onesignal_default, a notification bell icon will be provided instead of using the app icon.
  • In app alert changes
    • In app alerts are now shown by default instead of just firing an event.
    • New OSInFocusDisplayOption enum with InAppAlert, Notification, and None options settable with inFocusDisplaying from OneSignal.Builder.
      • This replaces enableInAppAlertNotification and enableNotificationsWhenActive.
    • Button text changed from "Close" to "Ok".
      • Configurable by setting a onesignal_in_app_alert_ok_button_text key in your string.xml.
  • postNotification now allows override of app_id.
  • lockScreenVisibility default read value fix.
  • Fixed rare issue where an out of date Google Play services app would unsubscribe the device when it may still be valid.
  • Added more subscription statuses for Google Play services initialization errors.