Skip to content
This repository has been archived by the owner on Sep 3, 2021. It is now read-only.

Releases: nearit/Android-SDK

2.2.7

05 Oct 15:35
Compare
Choose a tag to compare

The Coupon object field called name is now deprecated.
Please switch to the getter method getTitle() in your app. The old field is still available and automatically maps on the title to preserve retro-compatibility.

2.2.6

04 Oct 14:24
Compare
Choose a tag to compare

Content has now new fields:

  • title
  • contentString
  • cta
  • getImageLink()

All the other fields are now deprecated

2.2.5

28 Sep 16:20
Compare
Choose a tag to compare

Adds the ability to override the two firebase services (for registering a new user token and for receiving a message) and still enable NearIT push functionality. Useful when integrating NearIT with a legacy push system.

The two method to call our routines are:
to save the registration device token

NearInstanceIDListenerService.sendRegistrationToServer(String token)

and to handle a push message

NearFcmListenerService.processRemoteMessage(RemoteMessage remoteMessage)

2.2.4

27 Sep 16:17
Compare
Choose a tag to compare

Fixed No automatic notification when the app targetSdkVersion is 26 (#22)
Fixed Custom background notification stopped working on Oreo (#23)

2.2.2

25 Sep 08:28
Compare
Choose a tag to compare

Update play services dependencies to 11.4.0 (Fixes #15)

2.2.1

22 Sep 09:19
Compare
Choose a tag to compare
  • FIxes #19
  • FIxes #20
    Now built-in background notifications work by default, without having to explicitly include a receiver in the manifest.
    If you were using a custom background receiver to handle background events, you still need to include it in the app manifest and it still overrides the default background receiver.

2.2.0

31 Aug 10:05
Compare
Choose a tag to compare

Milestone release:

  • New initialization technique; just like Firebase, an explicit initialization of the library is no longer needed, and a Context object is no longer necessary for obtaining the instance.
  • New tracking-specific object; TrackingInfo is used instead of recipeId for tracking purposes.
  • Automatic engaged recipe tracking, for the built-in background notification builder.

If you need help upgrading from a previous version, refer to this migration guide

2.1.39

09 Aug 13:29
Compare
Choose a tag to compare

Fixed loss of values in hashmap loaded from cache with Gson

2.1.38

07 Aug 16:59
Compare
Choose a tag to compare

Fixed crash on upcoming feature support

2.1.36

29 Jul 09:03
Compare
Choose a tag to compare

Fixed type erasure issue with gson and generics