Skip to content

Releases: sailthru/sailthru-mobile-android-sdk

v2.16.1

04 Apr 02:59
Compare
Choose a tag to compare

Bug Fixes

  • Fixed a crash that occurs on devices without play services.

v3.0.2

31 Mar 00:13
Compare
Choose a tag to compare

Bug Fixes

  • Several methods weren't correctly executing network requests.
  • Device ID is no longer stored in the Default Shared Preferences.

v3.0.1

29 Mar 22:02
Compare
Choose a tag to compare

Bug fixes and improvements

v3.0.0

16 Mar 02:02
Compare
Choose a tag to compare

v2.x -> v3.0 migration docs can be found here.

GCM

As of 3.0, the Carnival Android SDK is using the latest GcmReceiver broadcast receiver and will need to be declared in your manifest instead of Carnival's GcmBroadcastReceiver.

<receiver
  android:name="com.google.android.gms.gcm.GcmReceiver"
  android:exported="true"
  android:permission="com.google.android.c2dm.permission.SEND" >
  <intent-filter>
      <action android:name="com.google.android.c2dm.intent.RECEIVE" />
      <category android:name="${applicationId}" />
  </intent-filter>
</receiver>

Custom Notification Handling

GcmIntentService has been replaced with the CarnivalMessageListener using the new onMessageReceived() method. See the migration docs for more information.

Removed Deprecated Methods

  • Removed deprecated Carnival.startEngine() methods.
    • Use Carnival.startEngine(Context context, String appKey).
  • Removed deprecated method Carnival.getDeviceId().
    • Use Carnival.getDeviceId(CarnivalHandler<String> carnivalHandler).
  • Removed deprecated method Carnival.logEvent(String source, String value).
    • Use Carnival.logEvent(EventSource source, String value).

v2.16.0

14 Mar 02:20
Compare
Choose a tag to compare

Custom Message Attributes

Carnival Messages can now contain key-value string meta data:

Map<String, String> attributes = message.getAttributes();

Improvements

Improved tracking of push enabled status on application.

v2.15.0

02 Feb 02:03
Compare
Choose a tag to compare

Google Project ID

The Google project ID for GCM can now be defined through the Carnival platform. The old startEngine() calls that take the project ID have been deprecated and replaced with just startEngine(Context context, String appKey).

Carnival.startEngine(this, appKey);

Strict Event Source

When forwarding events from analytic frameworks to Carnival the source of the event can be selected from EventSource.

Carnival.logEvent(EventSource.SOURCE_FLURRY, "eventName");

Default Notification Icon

If you do not set a notification icon for Carnival to use, it will now use the application's icon by default instead of the sys-stat-warning icon.

Notification Collapsing

Previously if a new push notification came in it would collapse with any existing notifications already in the system tray, effectively replacing it. Now when a new notification comes in it will not replace the existing one. The collapsing behaviour can be controlled by setting your own notification ID when publishing your own notifications in GcmIntentService.

v2.14.1

29 Jan 01:38
Compare
Choose a tag to compare

Get Device ID

Carnival.getDeviceId() has been deprecated and replaced with Carnival.getDeviceId(CarnivalHandler<String>) making it async with a callback. This means you always get a device ID if the device successfully registers with Carnival.

v2.14.0

24 Nov 02:51
Compare
Choose a tag to compare

Disable GeoIP

You can now disable Geo IP Tracking. This means Carnival will not estimate device location based on IP for geo-targeting.

Carnival.setGeoIpTrackingEnabled(boolean enabled);

Bug Fixes

  • Fixed an issue with device attributes not being removed correctly.

v2.13.1

18 Nov 04:35
Compare
Choose a tag to compare

Bug Fixes

  • Fixed an issue with deep linking from Link Messages

v2.13.0

05 Nov 00:38
Compare
Choose a tag to compare

Dependency updates

  • Removed unused Google Play Services imports
  • Removed dependency on Appcompat styles

Bug Fixes

  • Fixed bug that prevented lifecycle tracking under certain conditions