Releases: OneSignal/OneSignal-Android-SDK
3.15.4 Release
In-App Message fixes and DB transaction fix
4.0.0 Beta2
Major Release 4.0.0 Beta2
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
- PR #1171
- setEmail, NPE fixed if called before SDK was initialized
- PR #1168
- Fixed foreground detection with
Activity
used withinitWithContext
- PR #1174
- Fixed rare SQL IllegalStateException exception
- PR #1178
- Updated
OSPermissionState
&OSSubscriptionState
property names to matchOSDeviceState
names- PR #1177
- Removed
getPermissionSubscriptionState
, usegetDeviceState
instead- PR #1187
- Fixed wrong boolean logic with
disablePush
- PR #1177
- Added Support for FireOS 7 (only supported up to FireOS 6 before this)
- Background location support for Android API 29 (Android 10)
- PR #1185
- Removed
getVibrate
andgetSoundEnabled
- Create Notification Categories instead to customize via the OneSignal dashboard or via the native Android Notification Channels API.
- PR #1188
4.0.0 Beta1
Major Release 4.0.0 Beta1🛠️
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
3.15.3 Release
Fixes for SQLiteDatabaseLockedException, getDisplayPosition NPE, Badges for Asus
3.15.2 Release
Fixes for Background Location Update, Misleading Email Id Log, Class Detection for Proguard Optimize, ANR on_focus
from MainThread
, Android 6 API 23 IAM bug
- Fix
InterruptedException
from background location update #1008InterruptedException
was due to a circular initialization of theJobScheduler
- Avoid reschedule an already scheduled or running service, but instead do it in
jobFinished
- Fix misleading email id log, email id can be null, downgrade log to info level, keep error level for user id
- Modify class detection for proguard optimize
- Added a method call to prevent it from incorrectly optimizing,
class.getName()
- Added a method call to prevent it from incorrectly optimizing,
- Fix ANR due to
on_focus
call being called fromMainThread
- All remote calls now get a
MainThread
check
- All remote calls now get a
- Fix bug when showing an IAM on Android 6 API 23 devices #930
- Elevation must be removed before animating IAM and then added back on animation end
3.15.1 Release
Added HMS bridging methods
- Please make sure to follow Step 6 - Compatibility with other HMS push libraries or your own HmsMessageService class if it applies to your app.
- Added
HmsMessageService
bridging methods.- If you use another HMS push sdk / library you or have your own
HmsMessageService
please forward these events to
OneSignalHmsEventBridge
- PR #1077
- If you use another HMS push sdk / library you or have your own
3.15.0 Release
Huawei (HMS) Push Support
Follow the OneSignal - Huawei SDK Setup guide to get started!
3.14.1 Release
3.14.0 Release
DB Lock Issue Fix, Location Permission Prompt Warning, Location Settings Prompt, IAM Redisplay Count on Failure Fix, Rare IllegalThreadStateException Fix, IAM Outcome Tracking
- DB Adjustments for Lock Issue #988
- Fixed IAM ANR with
getSync
toget
onOneSignalRestClient
. PR #1015 - Location Permission Prompt Warning
- Warn the user through preview IAMs when location permission setting is not added to the application's
AndroidManifest.xml
.
- Warn the user through preview IAMs when location permission setting is not added to the application's
- Add Settings option to denied location prompt
- When user selects "Do not show again" in permission prompt, we show a settings prompt in replace on next action.
- IAM Redisplay Count on Failure
- When IAM request fails we should not increment redisplay count.
- Rare
IllegalThreadStateException
start()
- When calling
Thread.start()
there is no guarantee that the thread has started after finishing or that is may have already completed.
- When calling
- IAM Outcome Tracking
- SDK now tracks Push Notifications and In-App Messages in regard to outcomes
3.13.2 Release
deviceType
iOS Issue Fixed, WritePrefHandlerThread
startThread Issue Fixed, SQL DB Issue Fixed
- Fix for Android deviceType being marked as iOS because of init not being called before a player sync (on_session) was occurring and in cases where notification opens (opened) occurred. So in this case we fixed two bugs.
- WritePrefHandlerThread startThread Issue Fixed #917
- Creating a
RuntimeException
using theThrowable
signature to throw without having to attachExceptions
all the way up the stack.
- Creating a
- SQL DB Issue Fixed #988
- We open a DB instance and leave it open across the whole application and let the system handle closing it when necessary