android-emarsys-sdk

core module of the EmarsysSDK

MPL-2.0 License

Stars
18

Bot releases are visible (Hide)

android-emarsys-sdk - 3.2.1

Published by github-actions[bot] over 2 years ago

What's fixed

Config

  • Fixed an issue when changing appcode would not clear the push token.

Geofence

  • Fixed an issue when enabling the feature without last known location could cause a crash.
android-emarsys-sdk - 3.2.0

Published by github-actions[bot] almost 3 years ago

What's changed

Emarsys SDK

  • Kotlin version has been updated to 1.6.10

Predict

  • Added new validation to the trackPurchase method so that empty cartItems lists are no longer accepted as it would be an invalid request.

What's fixed

Emarsys SDK

  • Fixed an issue where in some edge-cases the SDK could crash below API level 28 when tried to decide if the device has internet connection
android-emarsys-sdk - 3.1.2

Published by github-actions[bot] almost 3 years ago

What's fixed

Geofence

  • Fixed a race condition that caused a crash during device restart, when the geofence feature was disabled.

Shared Hardware ID

  • Fixed an issue when installing two apps on the same device without starting the first app caused a problem of missing the shared hardware ID.

Session Tracking

  • Fixed a session issue highlighted when verbose logging was enabled.

Push

  • Fixed a crash when internet connection was lost during image download.

Inbox

  • Fixed an issue where the result listener was not called from the main thread.
android-emarsys-sdk - 3.1.1

Published by davidSchuppa almost 3 years ago

What's new

Huawei

  • Followed up some major Huawei dependency updates, as we always try to keep our dependencies up-to-date

For now Huawei Toolkit still does not support Android 12. Updates about this issue: here

This crashes the application when running it on Android 12+, and Emarsys-Huawei is integrated into the application. No harm done when running on Huawei devices, or on devices below Android 12.

android-emarsys-sdk - 3.1.0

Published by github-actions[bot] about 3 years ago

What's new

Android 12

  • Android 12 support is added to the SDK.

Geofence

What's fixed

Geofence

  • Geofences are now re-registered on device boot.

Predict

  • recommendProducts CompletionHandlers were called on a background thread, which could cause some crashes on invoke. Now they are delegated to the UI thread.

Logging

  • App start logs are now more informative.

Important Notes

android-emarsys-sdk - 3.0.1

Published by github-actions[bot] about 3 years ago

What's fixed

Geofence

  • The value of initialEnterTrigger was not cached between app restarts.

Lifecycle handling

  • In some cases the AndroidLifecycleObserver was not used from the Main Thread, which caused the Mobile Engage features to be disabled.

Push

  • In case the application was not running the Push handling could freeze the app start for a few seconds

In-App

  • In-App dialog Fragment was missing the default constructor which might have resulted in a crash when the In-App was presented while the Application was restored from the background

What's changed

Config

  • Removed Deprecated annotations from Config API

Logging

  • Verbose logging has been extended with new logs at app start

Important Notes

android-emarsys-sdk - 3.0.0

Published by github-actions[bot] about 3 years ago

Emarsys SDK 3.0.0

We released the current major version of the Emarsys SDK two years ago. In the meantime we have received a lot of valuable usage feedback from our users and also the development tools of the underlying platforms have improved a lot. We always strive to offer the best possible developer experience and the most up-to-date mobile feature set to our users and this sometimes requires to introduce breaking changes of our API and therefore to release a new major version. We estimate that this migration can be done in about 60 minutes. We recommend to do this migration as soon as possible so that you can benefit from these improvements and also prepare your integration to benefit from future Emarsys SDK improvements. If you need any help in the migration please reach out to Emarsys support.

Benefits

Benefits of migrating to Emarsys SDK 3.0.0

  • Huawei Push Kit can be integrated through the Emarsys SDK which makes it possible to send push notification from Emarsys to users of newer Huawei devices while working simultaneously also with Firebase to reach Google Android phones
  • Updated dependencies
  • Java 8 usage
  • Cleaner and improved API
  • Improved the usage of callbacks in Kotlin and Java as well
  • Gave more flexibility to the developers by moving the contactFieldId into the setContact call, so it is not needed at the moment of the SDK setup

Emarsys SDK 3.0.0 migration guide

  • Following our official migration guide will help to upgrade to this major version. Our estimation is that the migration can be done in about 90 minutes.

What's fixed

EventHandlers

  • In 2.16.0, the SDK used the onEventActionEventHandler instead of notificationEventHandler on AppEvent buttons.

KeyStore

  • In case of an invalid, or badly implemented Android KeyStore the SDK's SecureSharedPreferences solution crashed, that could cause some invalid setup, or misbehaviour.

Important Notes

android-emarsys-sdk - 2.16.0

Published by github-actions[bot] over 3 years ago

What's new

Geofence

When initialEnterTriggerEnabled is true, Emarsys SDK will trigger all the affected geofences with Enter type triggers at the moment when the geofence is enabled if the device is already inside that geofence

What's fixed

In-App

  • Fixed an issue, where the app crashed when webView was not available

Application Version

  • Fixed an issue, where application version updates were not reported by the SDK

Known issues

NotificationEventHandler

  • AppEventCommand actually used the onEventActionEventHandler, not the notificationEventHandler.
    This is a problem, if you use different onEventActionEventHandler and notificationEventHandler, or not using any onEventActionEventHandler.

Important Notes

android-emarsys-sdk - 2.15.0

Published by github-actions[bot] over 3 years ago

What's new

Inbox

What's fixed

Geofence

  • Fixed an issue, where negative geofence radius crashed the application

Important Notes

android-emarsys-sdk - 2.14.3

Published by github-actions[bot] over 3 years ago

What's fixed

Dependencies

  • Updated some minor dependencies. Related commits are this and this.

In-App

  • Fixed a crash, which caused Push to In-App to crash the SDK, when the application was in the background.
  • Related to this, we fixed an issue, that the SDK handled some of the responses in the UI thread, what caused In-App messages to load slower then they should.

Important Notes

android-emarsys-sdk -

Published by kovacszsoltizsolt over 3 years ago

What's new

Geofence

  • If it's enabled, now the SDK sends an event (geofence EXIT) also when the mobile device leaves the area of a configured geofence.

Note: The Geofence feature is still in pilot phase!

What's fixed

Dependencies

  • Updated some minor dependencies. Related commit is here.

Threading

  • There were some edge-cases when LifecycleObserver addObserver were called on a thread other than the UI thread.
  • It caused a crash, but only in the SDK, it could have caused some issues in the session reporting/handling. Now it's always added on the UI thread.

Inline In-App

  • Fixed a crash, which happened when an Inline In-App were displayed before finishing the Emarsys.setup().

Important Notes

android-emarsys-sdk - 2.14.1

Published by github-actions[bot] over 3 years ago

What's new

mavenCentral

  • Since the sunset of the jCenter, from now on the SDK is also accessible from mavenCentral.

Important: new versions won't be available on jCenter after the 1st of May!

What's fixed

ClientService

  • Fixed an issue, where trackDeviceInfo was still called on UI thread.

Dependencies

  • Updated Kotlin 1.4.31 -> 1.4.32, and some minor dependencies. Related commit is here.

In-App

  • SDK now displays In-Apps even if FragmentActivity is used instead of just AppCompatActivity.

Important Notes

  • Deprecated methods are going to be removed in our next major release (3.0.0)
android-emarsys-sdk - 2.14.0

Published by github-actions[bot] over 3 years ago

What's new

openId

  • the SDK now provides a method to authenticate users with an idToken issued by an openId compliant provider

What's changed

AppEvent

  • AppEvents are now always called from the UI thread

What's fixed

In-App

  • Fixed an issue, where in-app weren't displayed until an application restart, in an edge case where the application was started without an applicationCode

IdlingResource

  • Updated the version of the idling resource

Session tracking

  • Fixed an issue, where the SDK handled sessions on the SDK's thread
  • Fixed an issue, where sessions weren't restarted correctly on user identification

Async

  • Fixed issues, that some of the API endpoints (Predict, trackDeviceInfo) weren't working asynchronously, and it caused a crash in the SDK

changeAppCode

  • Fixed an issue, that changeAppCode hasn't set a contact reference(anonymous login), if there was one set before the application code change. After this fix, a contact reference(anonymous login) will be created during an appCodeChange, when there was one set before.

Important Notes

  • Deprecated methods are going to be removed in our next major release (3.0.0)
android-emarsys-sdk - 2.13.0

Published by github-actions[bot] over 3 years ago

What's new

getPushToken

  • the SDK now provides a method under push which returns the pushToken

isAutomaticPushSendingEnabled

  • the SDK now provides a method under config which returns if the automaticPushSending is enabled or not

sdkVersion

  • the SDK now provides a method under config which returns the current version of Emarsys SDK

verboseConsoleLogging

  • verbose console logging is now available in the Emarsys SDK

What's fixed

  • Fixed an issue, where Inline In-App buttonClicks were not reported
  • Fixed nullPointerException in EmarsysMessagingService when deviceInfo was accessed before the setup finished

Important Notes

  • Deprecated methods are going to be removed in our next major release (3.0.0)
android-emarsys-sdk -

Published by megamegax over 3 years ago

What's fixed

  • Transitive dependencies has been added to the release.

Important Notes

  • Deprecated methods are going to be removed in our next major release (3.0.0)
android-emarsys-sdk - 2.12.0

Published by github-actions[bot] over 3 years ago

Known Issues

  • This release does not contains transitive dependencies please use 2.12.1 instead.

What's new

Shared hardwareId

  • Added support to share hardware IDs between customer applications. More info in the link above.

In-app

  • Added support for a newer version of the backend service, which allows an unlimited amount of in-app displays

What's changed

  • From this version cached data stored in the shared preferences are encrypted.

What's fixed

  • Fixed an issue, that caused a crash when more than 100 geofences were registered.
  • In-app dialog now closes when an URL button is clicked.

Important Notes

  • Deprecated methods are going to be removed in our next major release (3.0.0)
android-emarsys-sdk - 2.11.1

Published by github-actions[bot] almost 4 years ago

What's fixed

Mobile Engage Session

  • Fixed an issue, where session handling could happen on the UI thread.

Geofence

  • Fixed an issue, that geofence triggers could cause an exception on some edge cases.
  • Fixed that, the GeofenceBroadcastReceiver worked on the UI thread.

Important Notes

  • Deprecated methods are going to be removed in our next major release (3.0.0)
android-emarsys-sdk - Release 2.11.0

Published by github-actions[bot] almost 4 years ago

What's new

Mobile Engage Session

  • Emarsys SDK now creates sessions, when the application is in foreground. More information is available here

Known Issues

  • In this version we discovered a bug, where the SDK throws an exception on the main thread, instead of the SDK's. We do not recommend to use this version in production, use the previous version instead.

What's fixed

Inline in-app

  • Fixed issue, where buttonClicks were not reported

Important Notes

  • Deprecated methods are going to be removed in our next major release (3.0.0)
android-emarsys-sdk - 2.10.0

Published by davidSchuppa almost 4 years ago

What's new

On Event Action

  • Emarsys SDK now supports silent On Event Action

What's changed

Push

  • Thumbnail notification style is now extendable

Important Notes

  • Deprecated methods are going to be removed in our next major release (3.0.0)
android-emarsys-sdk - 2.9.1

Published by kovacszsoltizsolt almost 4 years ago

What's new

Testing

Upgraded Dependencies

  • Kotlin version upgraded to 1.4 FAQ
  • Firebase Core version upgraded to 18.0.0
  • Firebase Messaging version upgraded to 21.0.0

What's fixed

Config

  • Application code change won't fail, if push token isn't set.

Important Notes

  • Deprecated methods are going to be removed in our next major release (3.0.0)
Package Rankings
Top 22.01% on Repo1.maven.org
Badges
Extracted from project README
REUSE status
Related Projects