Releases: OneSignal/OneSignal-Android-SDK
Releases · OneSignal/OneSignal-Android-SDK
4.3.2 Release
Release 4.3.1
4.3.1 Release Notes
- Fresh installs of an application will always result in a new player id. OneSignal no longer uses AdvertisingIdentifierProvider to identify reinstalls of an application.
- PR #1313
- Fixing getNotificationChannels crash on some manufacturer devices
- PR #1314
- Fixing potential Application Not Responding issue by making all IAM DB access requests on MainThread
- PR #1302
- Two internal library cleanup changes
Release 4.3.0
4.3.0 Release Notes
- Supporting Liquid Templating Tag Substitution in "In App Messages" using LiquidJS version 9.23.1
- PR #1283
- Fixed notifications omitted in OSRemoteNotificationReceivedHandler and from disabled channels being restored and shown as silent notifications.
- Improved main thread DB access handling
- PR #1290
Added SMS Channel Support
4.2.0 Release
4.2.0 Release Notes
- New
com.onesignal.suppressLaunchURLs
<meta-data>
option added.- PR #1268
- Fixed 4.0.0 regression - Notification open doesn't open main activity on cold start by default.
- PR #1276
- 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.
- PR #1270
3.15.7 Release
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)
- PR #1240
- Fix Displaying IAMs past end time
- PR #1246
- Fix IAM redisplay when no dismiss is called
- PR #1247
- Fix remove external id with auth token
- PR #1249
- Avoid printing stack-trace when parsing "null"
- PR #1256
- Fix logout email ended linking again email
- PR #1260
4.1.0 Release
In An Message fixes, Carousel, and outcome fixes
- The SDK will now send page impressions for individual IAM Carousel pages.
- PR #1239
- Fix IAM re-display issue, when IAM has only session duration trigger, only display once per session.
- PR #1240
- Fix direct tracking when the user disables OneSignal launch activity under open handler.
- PR #1244
- Fix outcome callback for disabling case, call success with null to end callbacks when outcomes are disabled for the application.
- PR #1245
- 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.
- PR #1246
- Fix IAM display issue, IAM displaying and hiding when a user doesn't dismiss IAM and navigates with back buttons.
- PR #1247
4.0.0 Release
⚠️ 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
Major Release 4.0.0 Beta3
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
istrue
in therendering_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
orsingleTask
is no longer required on your launcher Activity.
- This means better compatibility with existing projects as
- 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
Fix for Authentication for external id
- Fix authentication hash email remote param
- PR #1224