Skip to content

Releases: OneSignal/OneSignal-Android-SDK

1.9.1 Release

08 Jun 23:35
Compare
Choose a tag to compare

Bug fixes

  • Correctly sets isActive to true when it should be when enableInAppAlertNotification is set to true.
  • Now handles switching over to a new Activity if it is finished, it implements the NotificationOpenedHandler interface, and OneSignal.init is called on the new Activity.
    • Added a TiedToCurrentActivity annotation to give the same effect as above without needing to add the NotificationOpenedHandler interface to your Activities.

1.9.0 Release

04 Jun 09:41
Compare
Choose a tag to compare

Alert notifications, set subscription, send notifications, and fixes

  • Moved SDK project from Eclipse to Android Studio.
Features
  • Added option to display an alert dialog when the user is in your app.
    • Also option to allow showing in the notification area too.
  • Can now specify a different activity or a broadcast receiver to be opened instead of the launcher activity by defining a com.onesignal.NotificationOpened.RECEIVE action to receive the event.
  • Added postNotification to make it easier to send notifications from user to user or schedule a future one to the same device.
  • Added setSubscription method to allow unsubscribing from notifications.
  • Added error detection for the following:
    • Invalid OneSignal AppId format or example id being used.
    • Invalid Google Project number format.
    • Old revision or missing Android Support Library v4.
    • Missing Google Play services library.
    • Now logs returned JSON from OneSignal calls if LOG_LEVEL.INFO is set or higher.
Fixes
  • Fixed crash that could happen when OneSignal.onPaused() is called before OneSignal.init()
  • Now retries up to 5 times to get a Google Registration id from Google to subscribe for push notifications.
  • Now accounts for daylight saving when detecting the timezone.

1.8.0 Release

08 Apr 00:40
Compare
Choose a tag to compare
OneSignal SDK initial commit.