Releases: OneSignal/OneSignal-Android-SDK
Releases · OneSignal/OneSignal-Android-SDK
2.2.0 Release
Added Badge support
- Added support for Android badges. Supported on launchers by Sony, Samsung, LG, HTC, Xiaomi, ASUS, ADW, APEX, and NOVA.
- Counts are automatically set to the number of notifications shown in the Android notification shade.
- Also fixed issue with
com.onesignal.NotificationOpened.DEFAULT
setDISABLE
not skipping url notifications.
2.1.3 Release
Fixed class name conflict with RootTools and target manifest fix
2.1.2 Release
Fixes to deleteTags, getTags, postNotification, and REST calls
- Fixed bug where launch URLs were not opening on a closed app state when OneSignal init was called outside of the Application class.
- Fixed bug where deleting multiple already sync tags after sync would print a null error and local sync state would not save.
- Notification shade now closes when tapping on a notification action button when the app is infocus.
- Now checks for "errors" key and fires onFailure correctly in postNotification.
- getTags no longer throws null exception if called before OneSignal init is called.
- Improved non 200 OK response handling in the REST Client.
- Robolectric tests are now runnable from the command line / terminal and execute much faster.
2.1.1 Release
getTags null fix
- getTags would throw a null exception if tags were not set yet.
2.1.0 Release
Simpler customization of open action and misc fixes
- Now supports application meta-tag 'com.onesignal.NotificationOpened.DEFAULT' with the value 'DISABLE' to turn off the launching of the main Activity.
- No longer need to create a BroadcastReceiver just to have your NotificationOpenedHandler fire in your Application class.
- Fixed issue with deleteTag not working when the value is a number.
- Added a number of checks around tag methods to make them consistent to what the REST API supports.
- Fixed location warning.
- Reverted back to Robolectric 3.0 as custom shadows in 3.1 were not working.
2.0.9 Release
Added xamarin build target
- Modified gradle script to take 4 properties that make xamarin aar support easy.
- Gradle can now produce a onesignal-xamarin-aar file used with Xamarin projects.
- Removed maven push logic from gradle which was causing a build error.
- Made OneSignalDbContract package-private to fix Xamarin build error.
2.0.8 Release
Default notification sound fix
- Fixed issue where onesignal_default_sound was not being used as a default notification sound.
2.0.7 Release
Rare Registration and location fields fixes, and open callback improvements
- Fixed rare issue where the device would not register with OneSignal due to intermittent connection issues or GMS aar file version mismatches.
- Added new removeNotificationOpenedHandler method.
- Required for Corona and Cordova SDKs to fix a back button issue.
- Fixed issues with location fields.
2.0.5 Release
Registration with location and old GMS fix
- Fixed issue where device may not register if the app has location permission and a very old (older than 7.0.0) or incomplete version of the Google Play services client library is used.
2.0.4 Release
App close fix
- Fixed issue where notification callback would fire instead of showing a notification when init was called from onCreate of the Application class.