Version 1.7.5

2020/09/09

datasync: fix the subscribeWithMobileNotifications and unsubscribeWithMobileNotifications methods so that they send not encrypted notifications in V1 format

Version 1.7.4

2020/09/07

datasync: add the subscribeWithMobileNotifications and unsubscribeWithMobileNotifications methods

Version 1.7.3

2020/09/02

datasync: add the subscribe and unsubscribe methods

authenticator: add the addAccount and unsubscribe methods

datasync: fix a bug on fetching ".info" nodes at low-level api

Version 1.7.2

2020/03/02

datasync: add the wakeupSubscribe and wakeupUnsubscribe methods

Version 1.7.1

2019/11/27

auth: add multi-factor authentication

auth: fix some OnAuth.AuthResponse deserialization bugs

Version 1.6.2

2019/09/30

datasync: add the Query.on and Query.off methods to subscribe or unsubscribe to several event types at once

datasync: fix the serialization/deserialization of dates

Version 1.6.1

2019/09/02

datasync: improve the network detection on Android API N

auth: fix stack overflow exception when calling the Webcom.authWithOAuth method

Version 1.6.0

2019/07/25

all: add the WebcomApp class, as well as the Webcom(WebcomApp) and Webcom(WebcomApp,WebcomOptions) constructors

all: add the WebcomApp class, as well as the WebcomOptions.setGoOnline method

Clients must now wait for the Webcom SDK to initialized before instanciating the Webcom class. The Webcom.onReady and Webcom.waitForReady helper methods are provided on this purpose

Replace the Rhino JavaScript engine with the JavaScript engine of the native Android webviews

Version 1.5.0

2019/04/03

auth: add Webcom.addAccount, Webcom.authWithPhone, Webcom.removeAccount, Webcom.removeIdentity, Webcom.sendOtp, Webcom.sendPasswordResetCode, Webcom.sendVerificationCode, Webcom.updateIdentityProfile, Webcom.verifyIdentity, Webcom.shouldBeOnline methods

auth: add AuthDetails, MessageDetails and VerificationData classes

auth: embed the "forcesWebView" option of authWithOAuth(Context, String, AuthOptions, OnAuthWithOAuth, boolean) within the AuthOptions class

Improve the detection of network connectivity when switching between 4D and wifi

auth: deprecate createUser(String, String, OnAuth), removeUser(String, String, OnAuth), sendConfirmationEmail(String, OnComplete), sendPasswordResetEmail(String, OnAuth), updateEmailPasswordProfile(String, Object, OnComplete), updateEmailPasswordProfile(Object, OnComplete), authWithOAuth(Context, String, AuthOptions, OnAuthWithOAuth, boolean)

auth: rename AuthOptions.WithXXX(...) methods into AuthOptions.setXXX(...), AuthOptions.Create() method into AuthOptions.create(), WebcomOptions.Create() method into WebcomOptions.create(), WebcomOptions.SetPersist() method into WebcomOptions.setPersist()

Version 1.4.2

2018/12/21

datasync: add a new signature to DataSnapshot.value and DataSnapshot.getJSON methods, to control the extraction of JSON arrays from webcom data

datasync: improve the network connectivity detection when exiting Doze mode

fix a problem of concurrent access when registering/unregistering callbacks

datasync: update the signature of JSONValue.getProperty, JSONValue.getPropertyAs, JSONValue.getPropertyAsListOf and JSONValue.getPropertyAsMapOf,methods: the passed key of JSON properties is now an Object instead of a String

Version 1.4.1

2018/09/28

update dependencies: org.mozilla:rhino:1.7.7.1 (because 1.7.8+ requires Java 8)

improve the toString() method of WebcomError

Version 1.4.0

2018/09/12

auth: add Webcom.sendConfirmationEmail method

datasync: add a "persit" mode to the Webcom class (specified by a new WebcomOptions object in the constructor)

datasync: add JSONValue.stringify method

datasync: Include the monitoring of Android Doze mode (with Android API 23+) within the monitoring of the network state

Prevent the JavaScript execution thread from throwing a StackOverflowError exception with Android API 19-

datasync: When several queries are subscribed on the same data node, each callback receives only data that match its query

datasync: Query.startAt, Query.endAt, Query.limit and Query.equalTo methods throw java.lang.UnsupportedOperationException when building a Query instance with inconsistent constraints

datasync: Improve the monitoring of the network state, so that there is no attempt to establish the websocket while offline, and the websocket is established as soon as network is up

update dependencies: org.mozilla:rhino:1.7.10, com.fasterxml.jackson.core:jackson-databind:2.9.6

Version 1.3.0

2018/07/13

auth: add Webcom.updateEmailPasswordProfile method

datasync: add DataSnapshot.getJSON method and the JSONValue interface to easy browsing JSON values

Version 1.2.0

2018/06/21

datasync: add methods to Query for controlling results of queries

auth: custom parameters may be set within AuthOptions for OAuth2 authentication

improve stability of the internal thread dedicated to the javascript engine

publish the Android SDK on Maven Central

update dependencies: com.android.support:customtabs:27.1.1

Version 1.1.1

2018/04/14

datasync: make wakeup subscriptions work on non-empty paths and fix wakeup unsubscriptions

make it possible to use JSONObject.NULL when calling javascript methods

Version 1.1.0

2018/03/18

auth: implement the authWithOAuth() method using Google CustomTabs in order to seamlessly use local accounts of the device

auth: add registerAuthCallback() and unregisterAuthCallback() methods to properly manage authentication callbacks

datasync: implement the mobile wakeup (or push) based on Firebase Cloud Messaging : add the Webcom.wakeupSubscribe, Webcom.wakeupSubscribe, Webcom.wakeupUnsubscribe methods

auth: deprecate resume(OnAuth)

update dependencies: com.orhanobut:logger:1.15, com.fasterxml.jackson.core:jackson-databind:2.9.3