Skip to content

Releases: OneSignal/OneSignal-Android-SDK

2.0.4 Release

01 Jan 02:33
Compare
Choose a tag to compare

App close fix

  • Fixed issue where notification callback would fire instead of showing a notification when init was called from onCreate of the Application class.

2.0.3 Release

24 Dec 03:19
Compare
Choose a tag to compare

Proguard fixes

  • Fixed registration, IAP tracking, and Android 2.3.3 issues when proguard is enabled.

2.0.2 Release

19 Dec 07:42
Compare
Choose a tag to compare

Compatibility fix for GMS library 8.1.0 and newer

  • Fixed compatibility issues when using GMS (Google Play services library) 8.1.0 or newer in your app.
    • Also insured backwards compatibility to 7.0.0.
  • Better clean up of internal sdk resources to prevent warnings in StrictMode.

2.0.1 Release

16 Dec 04:30
Compare
Choose a tag to compare

Lowered required support library revision and geo tag fix

  • No longer requires revision 23 of the Android Support Library. 22 is need for all features but an older one can be used safely.
  • Fixed bug where geo tag permission prompt did not work if used from the Application class on Android 6.0

2.0.0 Release

12 Dec 01:21
Compare
Choose a tag to compare

OneSignal Android Native SDK 2.0!

  • Network optimizations and offline support for tags, subscription setting, and getTags.
  • Added geo tagging.
  • Removed loopj library
    • Now uses the HttpURLConnection class which is built into the Android OS.
  • Smaller SDK size
  • Fixed Activity leak.
  • Simpler setup, no longer need to add OneSignal.onResumed() and OneSignal.onPaused() to each activity.
    • The SDK now handles this for you automatically.
  • New builder init pattern.
  • OneSignal app id and Google project number now pulled from the AndroidManifest.xml.
    • Android Studio users - Set these in the gradle file. See update notes below.
  • Now support Android market:// links.
    • Now directly opens all links instead of opening your app first.

Updating from 1.x.x

1. Add the following to your gradle file:

compile 'com.google.android.gms:play-services-location:+'
compile 'com.android.support:appcompat-v7:23.1.1'

`2.` Add `onesignal_app_id` and `onesignal_google_project_number` to your app's gradle file.
manifestPlaceholders = [manifestApplicationId: "${applicationId}",
                        onesignal_app_id: "b2f7f966-d8cc-11e4-bed1-df8f05be55ba",
                        onesignal_google_project_number: "703322744261"]

`3.` Move OneSignal initialization to your Application class and use new builder pattern:
OneSignal.startInit(this)
   .setAutoPromptLocation(true)
   .setNotificationOpenedHandler(new ExampleNotificationOpenedHandler())
   .init();

`4.` Remove all calls to OneSignal.onResumed() and OneSignal.onPaused() `5.` Update any calls to GameThrive with OneSignal.

See the all new setup documentation here:
https://documentation.onesignal.com/docs/android-studio-sdk-installation

1.10.7 Release

23 Oct 23:55
Compare
Choose a tag to compare

Fix for custom notification opened activity data

1.10.6 Release

19 Oct 22:17
Compare
Choose a tag to compare

Fixed leak with Google IAP tracking.

1.10.5 Release

18 Aug 04:58
Compare
Choose a tag to compare

Android idsAvailable Bug Fix

  • Fixed bug on Android where idsAvailable could fire with a userId of null if the device is having intermittent connection issues.

1.10.4 Release

08 Aug 00:24
Compare
Choose a tag to compare

postNotification UTF-8 fix

  • postNotification now works correctly with UTF-8 messages.

1.10.3 Release

16 Jul 00:22
Compare
Choose a tag to compare

Callback bug fix

  • Fixed bug where notification opened callback would not fire when opening a notification from an app cold start.