Releases: OneSignal/OneSignal-Android-SDK
Releases · OneSignal/OneSignal-Android-SDK
3.3.1 Release
- Background images on notifications will now be top left aligned.
- Set string key
onesignal_bgimage_notif_image_aligntorightto change alignment. - Alignment was
centerCropin previous releases. - Background images are now only supported on Android 4.1+.
- Set string key
- Added
syncHashedEmailvalidation.
3.3.0 Release
manifestApplicationId and Hardware id remove and postNotification fix
manifestApplicationIdno longer needs to be set, defaultapplicationIdis now used.- Removed used of fallback hardware ids.
PostNotificationResponseHandler.onFailurenow always returns aJSONObjectwith an error.
3.2.0 Release
Stability, no sound payload option, and Location sharing setting
Features
- Setting Android sound name to
"null"or"nil"disables the notification's sound. - Location sharing can be disabled with
setLocationShared.
Fixes
3.1.1 Release
Added removeNotificationReceivedHandler for use with other SDKs.
3.1.0 Release
- Fixed field names with notification classes
- Fixed very rare concurrency issue with user update network call.
3.0.4-rc1 Release
- Fixes for closed database errors due to race conditions.
- SyncService keeping process in memory fix.
3.0.3 Release
3.0.2 Release
Fixed Google Play services app out of date issue
3.0.1 Release
- Fixed rare crash if your app was stopped while generating a notification. Issue #84
- Fix extra network calls if using sendTags and their was a delay registering for push.
3.0.0 Release
- New
NotificationOpenedHandlersignature with a instance ofOSNotificationOpenResult. - New
NotificationReceivedHandlerevent settable withsetNotificationReceivedHandleronOneSignal.Builder. - New
OSNotificationReceivedResultpassed toNotificationExtenderService- More descriptive
OSNotificationPayloadproperty names withrawPayload.
- More descriptive
- 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.
- If you do not create your own drawable named
- In app alert changes
- In app alerts are now shown by default instead of just firing an event.
- New
OSInFocusDisplayOptionenum withInAppAlert,Notification, andNoneoptions settable withinFocusDisplayingfromOneSignal.Builder.- This replaces
enableInAppAlertNotificationandenableNotificationsWhenActive.
- This replaces
- Button text changed from "Close" to "Ok".
- Configurable by setting a
onesignal_in_app_alert_ok_button_textkey in yourstring.xml.
- Configurable by setting a
postNotificationnow allows override ofapp_id.lockScreenVisibilitydefault 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.