Skip to content

Releases: sailthru/sailthru-mobile-android-sdk

v3.8.0

26 Jan 02:06
Compare
Choose a tag to compare

Dependency Update

  • OkHttp updated to v3.5.0

v3.7.2

17 Jan 21:17
Compare
Choose a tag to compare

Bugfixes

  • Fixed App open attribution to notifications using _u.
  • Fixed Images not appearing in rich notifications.

v3.7.1

20 Dec 01:37
Compare
Choose a tag to compare
  • Enabled Javascript in Link-Message Webview

v3.7.0

29 Nov 20:59
Compare
Choose a tag to compare

Logging

All logging from the Carnival SDK can now be captured through the Carnival.setLogger(logger) and Logger interface.

Method Restrictions at Push-Time

There are now restrictions in place during Application#onCreate() and CarnivalMessageListener#onMessageReceived(). Method calls that update the device model (User ID, Attributes, etc) cannot be done at these times. Event logging via logEvent() is still safe to do in these methods.

v3.6.1

16 Nov 04:55
Compare
Choose a tag to compare

Bugfixes

  • Fixes In-App notifications not appearing in some cases

v3.6.0

03 Nov 04:06
Compare
Choose a tag to compare

Clear Device Data

new clearDevice() method for clearing device messages, attributes, and events accociated with that device.

//Carnival.ATTRIBUTES|Carnival.MESSAGE_STREAM|Carnival.EVENTS
Carnival.clearDevice(Carnival.CLEAR_ALL, new Carnival.CarnivalHandler<Void>() {
    @Override
    public void onSuccess(Void value) {

    }

    @Override
    public void onFailure(Error error) {

    }
});

Get Message

New method to get a Message by its ID.

String messageId = getIntent().getStringExtra(Carnival.EXTRA_MESSAGE_ID);

Carnival.getMessage(messageId, new Carnival.CarnivalHandler<Message>() {
    @Override
    public void onSuccess(Message message) {
        formatView(message);
    }

    @Override
    public void onFailure(Error error) {
        Log.e(TAG, "Failed to load message: " + error);
    }
});

Notifications

Optimised notification handing resulting in less network overhead.

V3.5.0

30 Oct 22:03
Compare
Choose a tag to compare

Bugfixes

  • Fixed an issue where in-app notifications would not redirect to custom message screens.

v3.4.1

26 Sep 00:30
Compare
Choose a tag to compare

Bugfixes

  • Fixed an issue with "null" tokens showing up when failing to register with GCM/FCM

v3.4.0

14 Sep 23:10
Compare
Choose a tag to compare

Performance

  • Optimised network use to reduce requests

Dependencies

  • Updated support-v4 to use v24.2.1

v3.3.5

26 Aug 06:07
Compare
Choose a tag to compare

Bug Fixes

  • Fixed an issue with App Open Analytics not appearing in the App Engagement Dashboard