2.0.0
All platform updates
- New
HandleNotificationReceived
event. HandleNotificationOpened
now only fires when user taps on a notification or an alert.- Session count improvements.
- In app alert changes
- In app alerts are now shown by default instead of just firing an event.
- New
OSInFocusDisplayOption
options withInAppAlert
,Notification
, andNone
. Settable withinFocusDisplaying
fromOneSignal.Builder
.- This replaces
enableInAppAlertNotification
andenableNotificationsWhenActive
.
- This replaces
iOS Updates
- Support iOS 10 media attachments.
- Launch URL now defaults to opening in a pop-up webview instead of Safari.
- Support for iOS 6 was dropped. Only devices with iOS 7 and newer will register.
Android Updates
- Fixed Out of Date Google Play services app issues.
- Devices can now be as old as version 4 of GMS.
- Added more subscription statuses for Google Play services initialization errors.
- Badge support for newer Sony launchers and added Huawei launcher support.
- Setting Android sound name to "null" or "nil" disables the notification's sound.
- zh-Hant language detection.
- getTags now correctly returns values on 2nd and following calls.
- Fixed a number of rare Android crashes
- See the Android Native SDK 3.2.0 Release notes for a full list of fixes.
- Removed used of fallback hardware ids.
This version includes iOS Native SDK 2.1.15 and Android Native SDK 3.3.0.