Skip to content

Releases: blueshift-labs/Blueshift-Android-SDK

v3.3.1

25 Jan 04:50
Compare
Choose a tag to compare

What's new?

  • Provision to disable Android Advertising ID tracking.

According to the Google Play Family Policy, apps that solely target children must not transmit AAID. This release lets the host app ignore the play-services-ads-identifier library without causing compile-time errors (sample code below). With this change, now the apps can safely stop the collection and use of AAID by the Blueshift SDK.

implementation("com.blueshift:android-sdk-x:$sdkVersion") {
    excludegroup:'com.google.android.gms', module:'play-services-ads-identifier'
}

v3.3.0

05 Aug 09:21
Compare
Choose a tag to compare

What's new?

  • Android 13: Added a helper method to request notification permission.
  • Android 13: Added in-app message support to request notification permission.
  • Changed the URL to filename hashing algorithm from MD5 to SHA-256 for the image cache.
  • Stopped sending delivered events for the expired in-app messages.

Please check out the blog Push Notifications with Android 13 from Blueshift to know more about this release and Android 13 compatibility.

v3.3.0-beta.0

08 Jul 14:46
Compare
Choose a tag to compare

What's new?

  • Android 13: Added a helper method to request notification permission.
  • Android 13: Added in-app message support to request notification permission.

Please check out the blog Push Notifications with Android 13 from Blueshift to know more about this release and Android 13 compatibility.

v3.2.8

08 Jul 14:36
Compare
Choose a tag to compare

What's new?

  • Stopped sending delivered events for push notifications as Blueshift changed the definition of push delivery. Know more
  • Non interrupting slide-in banners (within the same Activity).
  • Customizable close buttons for in-app messages.
  • New helper method to reset device_id (GUID Only).
  • Addressed the implicit pending intent vulnerability reported in issue #294
  • Fixed a bug that caused crashes due to a corrupted in-app font file.

v3.2.7

09 May 14:11
Compare
Choose a tag to compare

What's new?

  • Added configuration to open push notification deep link URLs using VIEW Intents.
  • Avoiding ANRs occurred due to access of Instance ID and In-app font file from the main thread.

🐛 Known issue: The host app crashes (in InAppMessageIconFont.java line 28) when the sdk is unable to download the font file required by the in-app feature. Update to v3.2.8 or above to resolve this issue.

v3.2.6

11 Apr 18:30
Compare
Choose a tag to compare

What's new?

  • Fixed a bug that caused crashes while reading the message object when passed as Serializable in Intent's bundle.
  • We are deprecating the device id sources "Android Advertising ID" and "Android Advertising ID:Package Name" owing to the changes Google introduced to the Advertising ID collection starting April 1st, 2022. "Firebase Instance ID:Package Name" would be the new default device id source for the SDK, even if the app has explicitly specified the device id source as "Android Advertising ID" or "Android Advertising ID:Package Name".

    ⚠️ This is a breaking change! For assistance, reach out to your CSM or send us an email to support@blueshift.com.

v3.2.5

10 Dec 10:50
Compare
Choose a tag to compare

android-sdk

android-sdk-x

  • Upgraded the minimum SDK version of the Firebase Messaging library to 20.3.0.
  • Replaced deprecated method used for accessing instance id and token with new methods.

v3.2.4

05 Oct 17:39
Compare
Choose a tag to compare

What's new?

  • Added support for choosing Blueshift's datacenter in the EU region during SDK initialization. The default region will be the US, if not set.
Configuration config = new Configuration();

config.setRegion(BlueshiftRegion.EU);

// other config settings...

Blueshift.getInstance(context).initialize(config);
  • Sending the Message and CarouselElement objects from notification to the SDK and app as JSON instead of using Serializable. This is to prevent read errors reported in certain OS versions of Samsung devices.

Note: if you are reading the message object from the launcher activity in your app, please use the helper methods Message.fromIntent() of Message.fromBundle() to avoid any possible runtime errors.

v3.2.3

07 Sep 17:35
9743be4
Compare
Choose a tag to compare

What's new?

  • Introduced customisable action buttons for push notifications, now the push notification can support up to 3 action buttons.
  • Added support for dismiss action tracking for in-app notifications.
  • Minimised the logs from the image cache class and added preloadScaled method to cache the carousel images.
  • Applied fixes for the ANRs caused by JobSchedulers.
  • Android 12 support added.
    • Removed the broadcast with action ACTION_CLOSE_SYSTEM_DIALOGS.
    • Adjusted the UI for carousel notification to match the Android 12's native notification UI.
    • Adding mutability flags to the PendingIntent code used inside the SDK.

v3.2.2

03 Aug 08:09
299dd53
Compare
Choose a tag to compare

What's new?

  • Removed the following obsolete files that were marked as deprecated long ago.
    • /rich_push/NotificationActivity.java
    • /rich_push/RichPushActionReceiver.java
    • /rich_push/RichPushBroadcastReceiver.java
    • /pn/BlueshiftNotificationEventsService.java
  • Improved image loading in push notification using the new image cache.
  • Bugfix: Fixed a bug that prevented restricting in-app messages to specific Activities when using the registerForInAppMessages(activity) method.