Skip to content

Releases: OneSignal/OneSignal-Android-SDK

Release 4.3.0

17 Mar 21:16
2e36697

Choose a tag to compare

4.3.0 Release Notes

  • Supporting Liquid Templating Tag Substitution in "In App Messages" using LiquidJS version 9.23.1
  • Fixed notifications omitted in OSRemoteNotificationReceivedHandler and from disabled channels being restored and shown as silent notifications.
  • Improved main thread DB access handling

Added SMS Channel Support

  • The OneSignalSDK now supports SMS. Setup guide can be found here

4.2.0 Release

17 Feb 00:08
d786b30

Choose a tag to compare

4.2.0 Release Notes

  • New com.onesignal.suppressLaunchURLs <meta-data> option added.
  • Fixed 4.0.0 regression - Notification open doesn't open main activity on cold start by default.
  • Opening a notification now always resumes the app by default.
    • Makes the behavior identical to opening the app from an Android launcher.
    • PR #1277
  • Bumped firebase-messaging library from [19.0.0, 20.99.99] -> [19.0.0, 21.99.99]
  • Now sends the device's time zone in the "IANA TZ" format when registering to OneSignal.

3.15.7 Release

04 Feb 23:28

Choose a tag to compare

3.15.7 Patch Release

This release includes fixes that went into Major Release 4.0.0, but is based on the 3.15.6 version. This release will be used by wrapper SDKs before their major release is available.

  • Fix IAM redisplay multiple times due to dynamic triggers (session_duration)
  • Fix Displaying IAMs past end time
  • Fix IAM redisplay when no dismiss is called
  • Fix remove external id with auth token
  • Avoid printing stack-trace when parsing "null"
  • Fix logout email ended linking again email

4.1.0 Release

04 Jan 21:59
64a6816

Choose a tag to compare

In An Message fixes, Carousel, and outcome fixes

  • The SDK will now send page impressions for individual IAM Carousel pages.
  • Fix IAM re-display issue, when IAM has only session duration trigger, only display once per session.
  • Fix direct tracking when the user disables OneSignal launch activity under open handler.
  • Fix outcome callback for disabling case, call success with null to end callbacks when outcomes are disabled for the application.
  • Cached IAMs could be shown past their stop time. The SDK now checks if an IAM is past its stop time before it is displayed.
  • Fix IAM display issue, IAM displaying and hiding when a user doesn't dismiss IAM and navigates with back buttons.

 

4.0.0 Release

09 Dec 01:28
285ea0f

Choose a tag to compare

⚠️ This is a major release which contains breaking API changes.

See the full list of changes along with step-by-step guides to upgrade.
https://documentation.onesignal.com/docs/mobile-2020-api-migration-guide

Some highlights for this release

  • Simpler & flexible initialization
    • setAppId, setNotificationOpenHandler, initWithContext, etc can be called in any order.
  • New notificationWillShowInForeground event
    • Fires just before a notification is displayed so decide at runtime if you want to show it or not.
    • Allow getting a OSNotification object that provides message body, additional data, etc.
  • Removed deprecated APIs
  • More consistent API with OneSignal-iOS-SDK
  • Updated to AndroidX
    • Improve compatibility with projects

4.0.0 Beta3

05 Dec 07:53

Choose a tag to compare

4.0.0 Beta3 Pre-release
Pre-release

Major Release 4.0.0 Beta3

⚠️ This is a major beta release which contains breaking API changes.
See the full list of changes along with step-by-step guides to upgrade.
https://documentation.onesignal.com/docs/mobile-2020-api-migration-guide

❓ Please provide feedback and bug reports with the beta version included in the title to this repo's issue tracker.
https://github.com/OneSignal/OneSignal-Android-SDK/issues

Changes since 4.0.0-Beta2

Fixes and Features from main line releases

Fixes and Features specific to 4.0.0

  • Fix - Proguard consumer rules to keep email observers PR #1189
  • Feature - Enable background player updates PR #1196
  • Feature - Disabling IAM scrolling if dragToDismissDisabled is true in the rendering_complete event PR #1199
  • Fix - Property renames for consistently with OSNotification, OSPermissionState, & OSDeviceState PR #1202
  • Fix - 4.0.0 regression - Add notification duplicate check under Workers. PR #1193
  • Improvement - Make UserState JSONObjects immutable PR #1203
  • Fix - Fix on_focus not completing if app process is stopped PR #1198
  • Cleanup - Removed autoPromptLocation PR #1207
  • Improvement - Notification Open now uses an Activity instead of Broadcast #1192
    • This means better compatibility with existing projects as singleTop or singleTask is no longer required on your launcher Activity.
  • Fix - 4.0.0 regression - Fixed setting outcomes from throwing if done before OneSignal was initialized. PR #1208
  • Fix - Add Main thread check under OSNotificationReceivedEvent. #12.06
  • Fix - 4.0.0 regression - Fix new session triggering from 2nd init #1229
  • Fix - 4.0.0 regression - Attempt to read from field android.content.Context. Issue #1195 PR #1222
  • Fix - 4.0.0 regression - Attempt to read from field 'org.json.JSONObject com.onesignal.UserState.syncValues' on a null object reference. Issue #1212 #1223

3.15.6 Release

03 Dec 02:11

Choose a tag to compare

Fix for Authentication for external id

  • Fix authentication hash email remote param

3.15.5 Release

24 Nov 02:41
b3be5d2

Choose a tag to compare

Authentication for external id and fix of ConcurrentModificationException

  • Add authentication hash to external user Id
  • Fix ConcurrentModificationException by making UserState JSONObjects immutable

3.15.4 Release

20 Oct 18:01
82d8f63

Choose a tag to compare

In-App Message fixes and DB transaction fix

  • Fixed In-App Message where redisplay option did not work with session duration
  • Fixed In-App Message display under Activity issue when pressing back button
  • Fixed rare IllegalStateException exception when SDK would internally end the transaction

4.0.0 Beta2

15 Oct 19:45

Choose a tag to compare

4.0.0 Beta2 Pre-release
Pre-release

Major Release 4.0.0 Beta2

⚠️ This is a major beta release which contains breaking API changes.
See the full list of changes along with step-by-step guides to upgrade.
https://documentation.onesignal.com/docs/mobile-2020-api-migration-guide

❓ Please provide feedback and bug reports with the beta version included in the title to this repo's issue tracker.
https://github.com/OneSignal/OneSignal-Android-SDK/issues

Changes from 4.0.0-Beta1

  • Fixes from 3.15.2 and 3.15.3 Release
  • Fix In-App Message not being redisplay by session duration
  • Fixed In-App Message displaying issues when back button pressed
  • setEmail, NPE fixed if called before SDK was initialized
  • Fixed foreground detection with Activity used with initWithContext
  • Fixed rare SQL IllegalStateException exception
  • Updated OSPermissionState & OSSubscriptionState property names to match OSDeviceState names
  • Removed getPermissionSubscriptionState, use getDeviceState instead
  • Fixed wrong boolean logic with disablePush
  • Added Support for FireOS 7 (only supported up to FireOS 6 before this)
  • Background location support for Android API 29 (Android 10)
  • Removed getVibrate and getSoundEnabled
    • Create Notification Categories instead to customize via the OneSignal dashboard or via the native Android Notification Channels API.
    • PR #1188