Releases: nearit/Android-SDK
2.2.7
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
Content has now new fields:
title
contentString
cta
getImageLink()
All the other fields are now deprecated
2.2.5
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
2.2.2
2.2.1
- 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
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 ofrecipeId
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
Fixed loss of values in hashmap loaded from cache with Gson
2.1.38
Fixed crash on upcoming feature support
2.1.36
Fixed type erasure issue with gson and generics