Skip to content

Fixed remote params & WrapperWorkItem.complete issues

  • Fixed remote params NPE. Issue #729
  • Fixed IllegalArgumentException Thrown from WrapperWorkItem.complete. Issue #644
Assets 2

@jkasten2 jkasten2 released this Mar 26, 2019 · 4 commits to master since this release

Restore Logic includes TTL, network optimizations, and misc fixes

  • Filter notifications past their TTL when restoring them back to the shade. PR #720
    • Restoring logic happens when the app is cold started, device reboot, or app is updated.
  • Caching for REST GET calls by handling 304s. PR #723
  • Omit network retries if HTTP 403 is returned. PR #724
  • Added SDK-Version HTTP header to all requests PR #721
  • Registration retrying now does not require a new session to resume retrying if app was interrupted by an app cold restart.
Assets 2

@jkasten2 jkasten2 released this Jan 18, 2019 · 15 commits to master since this release

Badge Count, Notification Overflow, and getTag Fixes

  • Badge count now uses notification count from system
    • Fallback for Pre-Android 6 to use internal count.
  • Omits running notification restore if notifications are disabled.
  • Fixes new notifications not showing if there were 49 notifications in the shade
    • Now handles removing oldest notifications to make room for new ones.
  • Clear notifications methods now works even if provideUserConsent was not accepted.
  • Badge counts are now updated after restoring notifications.
  • getTags now supports multiple callbacks
  • OneSignal.setAppContext is now public.
    • Only needed if you need to call provideUserConsent before initializing OneSignal.
Assets 2

@Nightsd01 Nightsd01 released this Dec 6, 2018 · 23 commits to master since this release

External User ID Support

  • This update adds new methods (setExternalUserId(string) and removeExternalUserId) allowing you to target push notifications using your own custom user ID's instead of having to store OneSignal player ID's.

Catch for SecurityException from JobIntentService & Misc Improvements

  • Removed ACTION_BOOT_COMPLETED for BOOT_COMPLETED
    • ACTION_BOOT_COMPLETED is invalid, BOOT_COMPLETED is the correct intent action
  • Catches security exception from Job Intent Service
Assets 2

@Nightsd01 Nightsd01 released this Dec 6, 2018 · 29 commits to master since this release

This release was made in error and contains no changes from 3.10.3. Please use 3.10.5 instead.

Assets 2

@jkasten2 jkasten2 released this Nov 2, 2018 · 31 commits to master since this release

Notification Restore Tweaks & Misc Bug Fixes

  • Notification Restore Improvements (PR #645)
    • Limit number of notification restored to 49
      • This is the max visible limit per app, Android omits displaying any more
      • Helps mitigate issue #644
    • Slowed Restore rate to 5 per second
    • Above 2 changes cleans up NotificationService warnings from the logcat
  • GDPR method fixes
    • Allow calling provideUserConsent before init. PR #648
    • Allow calling add observer methods before provideUserConsent(true) is called. #655
  • Fixed IllegalArgumentException thrown from JobIntentService in a specific case
    • Issue was only happening with high priority notifications that had a remote image with an app setup with a NotificationExtenderService and running on Android Oreo+, in some cases.
    • Fixes issue #649
  • Fix for OneSignalSyncServiceUtils throwing IllegalArgumentException when boot permission is removed.
  • Possible fix for rare "Package manager has died" error. PR #658
Assets 2

@jkasten2 jkasten2 released this Oct 5, 2018 · 43 commits to master since this release

Notification Channel Fallback, NotificationExtenderService Doze Mode, & Misc Fixes

  • Fixed NPE with ChangeTagsUpdateHandler when a tag update results in no changes. PR #611
  • Fixed FirebaseInstanceIdService IllegalArgumentException exception
  • Fixed rare NPE Bundle error on RestoreJobService.onHandleWork. Issue #591
  • NotificationExtenderService now respects FCM High priority to wake from Dose mode. PR #640
  • Fixed fallback of medium and lower priorities of Notification Channel for pre-Oreo devices. PR #639
  • Fixed issue with disabling enableVibrate or enableSound was not respected.
    • When initializing OneSignal after Application.onCreate.
    • Note, settings only apply to Android 7.0 and older.
    • Methods will be deprecated, please migrate to Android Categories / Channels
  • Cleaned up GCM related warning in logcat when a push is received. #642
    • CANCELLED forIntent { act=... flg=0x10000000 pkg=... }
Assets 2

@Nightsd01 Nightsd01 released this Aug 7, 2018 · 57 commits to master since this release

Fix ANR's (Application Not Responding)

  • Fixes a thread synchronization bug that in some situations could cause the main thread to lock up while waiting for a network request to finish.
Assets 2

@Nightsd01 Nightsd01 released this Jul 31, 2018 · 61 commits to master since this release

Adds Send/Delete Tags Callback

  • Adds a new ChangeTagsUpdateHandler parameter for methods that update/delete tags.
  • Publicly exposes requiresUserPrivacyConsent() that indicates if the application is set to require privacy consent and the user hasn't yet given consent
  • Publicly exposes onesignalLog() so that wrapper SDK's can use it
  • Updated fix for error with startWakefulService on Oreo when sending high priority with remote urls.
Assets 2

@jkasten2 jkasten2 released this Jul 19, 2018 · 72 commits to master since this release

Fixes FirebaseInstanceId & startWakefulService Errors

  • Fixes error with FirebaseInstanceId when a default Firebase app is not initialized.
  • Fixes error with startWakefulService on Oreo when sending high priority with remote urls.
    • Issue #498
    • NOTE: After further investigation we determined this release did not resolve this issue, and we've included an updated fix in our new release (3.10.0)
Assets 2
You can’t perform that action at this time.