New Boxcar Android SDK 3.0.0 and SDK 2.0.4 released
We have just released a new version of the Boxcar SDK for Android devices. More documentation about how to use it can be found here.
Boxcar Framework v3.0.0 includes the following changes:
Support for the latest Google Cloud Messaging 3
- SDK 3 uses new Google Cloud Messaging SDK, provided by Google Play Services APK.
A few words about Google Coud Messaging 3.0
The new version of Google Cloud Messaging was announced the past 28th May 2015 at the Google I/O event in San Francisco. One of the changes introduced relates with the registration token. Previously, this identifier was known as the registrationID, an arbitrary string identifier specific for the GCM service. Now Google launched a “universal” identifier for application instances running on a specific device (“universal” in quotes because this is only valid among Google services). One of these Google services that now rely on this identifier, the Instance ID, is GCM. Although the old registrationID is supported, its use is now deprecated, so we have upgraded our library accordingly.
One of the strenghts of Instance ID is the possibility to retrieve more information about the registered application, like verifying the application authenticity or retrieving the last time the device was active among others. On the other hand, Google allows to refresh the tokens in a periodic base. At least every 6 months or every time a security concern is triggered, tokens will be refreshed on your device (and forwarded to our Boxcar service) to keep it secret.
- cleans AndroidManifest.xml content and updates it according to GCM 3 requirements
- drop support for Nokia X as this platform is not being used anymore.
- drop OpenUDID service. Instead, it uses an internal implementation that doesn’t require a service declaration.
- fix lint warnings from SDK and demos.
The new SDK is available in our Boxcar Maven Repository at http://developer.boxcar.io/maven and also on the developer download area.
Boxcar SDK v2 was also updated with minor improvements:
Drop OpenUDID service
- OpenUDID service is not used anymore. Instead, SDK v2.0.4 uses an internal implementation that doesn’t require a service declaration on manifest file.