Releases: OneSignal/OneSignal-Android-SDK
Releases · OneSignal/OneSignal-Android-SDK
3.13.1 Release
Dependency Issue Fixed & Unity Proxy Updated
- Dependency
appCompat
needed to becompleOnly
- Also led to adding try-catch (
ClassNotFoundException
) on IAM system condition check
- Also led to adding try-catch (
- Unity proxy file updated for external user id callback support
- This will show in Unity release
2.12.0
- This will show in Unity release
3.13.0 Release
In-App Messaging Improvements, setExternalUserId Callback, Google Play Security Alert Fix & Misc Improvements
- In-App Messaging Improvements: Redisplaying with a limit and delay, Adding and removing tags, sending outcomes, and location permission prompting.
- Redisplay params now expected (has defaults) in parser
- Adding and removing tags w/ element click
- Sending outcomes w/ element click
- Showing permission prompts for location w/ element click
- Set and remove external user id now have completion callback
- Callback for completion added to verify the status of the set or remove of an external user id (push & email)
- Fixed false positive Google Play Security alert
- Issue #966
- Addressed
IllegalThreadStateException
from OneSignalstartDelayedWrite
- Issue #917
- Changed internal API call from onesignal.com to api.onesignal.com
3.12.7 Release
🚨 Compatibility Update for Firebase Messaging (FCM) 20.1.1+ ⚠️
This version or newer required if using
firebase-messaging 20.1.1+
!
- Updated Firebase Initialization to be compatible with firebase-messaging & firebase-iid 20.1.1+.
- PR #960
3.12.6 Release
Minor Bug Fixes
Fixes:
- Fix ANR from dead lock between UserSync and Location #719
- Prevent
IllegalArgumentException
crash fromcreateNotificationChannel
#895 - Prevent
NullPointerException
crash fromgetWindowHeightAPI23Plus
#896 - Prevent
IllegalThreadStateException
crash fromstartDelayedWrite
#917
Misc:
- Pausing IAM now prevents the queue from showing IAMs instead of stopping from adding to the queue
- IAM now has failure reattempt handling when loading content
3.12.5 Release
Minor Bug Fixes: Location Prompt Flicker, Too Many Alarms, Remote Params Crash
- Location Prompt Flicker Fixed #884
- The location prompt uses a
PermissionActivity
and still uses Android default transitions - Now we use to blank fade transitions for in and out animations so that no flickering occurs at all when being shown or dismissing the location prompt
- The location prompt uses a
- Too Many Alarms Fixed #887
- On Samsung device, intent flag
FLAG_CANCEL_CURRENT
sometimes causes a crash - Fixed by changing
FLAG_CANCEL_CURRENT
toFLAG_UPDATE_CURRENT
- On Samsung device, intent flag
- Remote Params Crash Fixed #916
- Customer was seeing an issue where remote params are null and email id is null after changing organization and app id of mobile app
- Crashing is fixed now with null checks to prevent any null exceptions, but the root of the issue was a request being made with a deleted app's app id and in the same session a init with a new app id
3.12.4 Release
Minor Bug Fixes & Updated Unity Proxy
- Sending custom outcome from notification opened handler will use the previous session instead of current
- Fixed now so the opened handler is called LAST when opening a notification so that all OneSignal work can be done first
- Updated Unity Proxy file
- Last release overwrote the Unity Proxy file, causing it to be outdated
3.12.3 Release
3.12.2 Release
SQLite Error on Outcome & Nullable Callback
OutcomeEvent
will now benull
whenOutcomeCallback.onSuccess
is fired to indicate the outcome was cached for retry.- Fixed SQLite DB migration issue when going from 3.12.0 to 3.12.1.
- Fixed dependency ranges in POM;
- Updated
com.google.android.gms:play-services-ads-identifier:[15.0.0, 16.0.99]
- Updated
com.google.android.gms:play-services-location:[10.2.1, 16.0.99]
- Updated
com.google.android.gms:play-services-base:[10.2.1, 16.1.99]
- Updated
com.google.firebase:firebase-messaging:[10.2.1, 17.3.99]
- Updated
com.android.support:cardview-v7:[26.0.0, 27.99.99]
- Updated
com.android.support:support-v4:[26.0.0, 27.99.99]
- Updated
com.android.support:customtabs:[26.0.0, 27.99.99]
- NOTE: Newer versions than above can be used, however you must enable Jetifier in your project
- Updated
3.12.1 Release
Outcome callback changes
- Dropped
onOutcomeFail
fromOneSignal.OutcomeCallback
- Outcomes are cached when offline and are always retried later.
3.12.0 Release
Outcomes & Received Receipts
- New Outcomes feature
- New Confirmed Deliveries
- Upgraded POM dependencies
- Added
com.google.android.gms:play-services-ads-identifier:[10.2.1, 16.1.0)
- Updated
com.google.android.gms:play-services-location:[10.2.1, 16.1.0)
- Updated
com.google.android.gms:play-services-base:[10.2.1, 16.1.0)
- Updated
com.google.firebase:firebase-messaging:[10.2.1, 16.1.0)
- Updated
com.android.support:cardview-v7:[26.0.0, 28.1.0)
- Updated
com.android.support:support-v4:[26.0.0, 28.1.0)
- Updated
com.android.support:customtabs:[26.0.0, 28.1.0)
- NOTE: Newer versions than above can be used, however you must enable Jetifier in your project
- Added