- From
v2.x.xtov3.x.xMeteor#setCallbackis nowMeteor#addCallback.Meteor#unsetCallbackis nowMeteor#removeCallbackorMeteor#removeCallbacks.- You now have to establish the connection to the server manually. Before, this was done automatically in the
Meteorconstructor. To update your code, callMeteor#connectsomewhere after calling theMeteorconstructor. It is recommended to place the call after registering the callback viaMeteor#addCallback. - You now have to unregister all callbacks manually by calling either
Meteor#removeCallbackorMeteor#removeCallbacks. Before, this was done automatically when disconnecting. It is recommended to remove the callback(s) just after callingMeteor#disconnect, whenever you do that. - Exceptions triggered while connecting and disconnecting are now correctly delivered in
MeteorCallback#onException.
- From
v1.x.xtov2.x.x- The minimum API level is now
9(Android 2.3) instead of8(Android 2.2). MeteorCallback.onDisconnect(int code, String reason)is now justMeteorCallback.onDisconnect()without the arguments.
- The minimum API level is now