Announcing Creative SDK v0.9.1251 for Android

Posted on Wednesday, February 15th, 2017 by Ash Ryan
Category: Android

Android builder

Hi Android developers! We’ve got a new version of the Creative SDK for Android that you can get started with in your apps.

This version of the SDK features two changes that you can start taking advantage of today: Android N (API 25) Support and a more convenient, expanded IAdobeAuthClientCredentials interface.

Android N (API 25) Support

The Creative SDK now supports Android N (API 25). This is now the maximum API level supported.

All you need to do to enable support for Android N is to update your Gradle settings. Example settings can be found in our Getting Started guide for Android.

Expanded IAdobeAuthClientCredentials interface

The previous version of the Creative SDK (v0.9.1186) introduced Redirect URI and Scope requirements for User Auth.

Those requirements are now part of the IAdobeAuthClientCredentials interface.

This means you can set the values centrally in a single interface, instead of potentially needing multiple interfaces or extra method calls depending on which components you use.

In accordance with the unified Client Auth interface, the Image Editor-only IAdobeAuthRedirectCredentials interface has been deprecated. This interface will continue to work for this version, but it will be removed in upcoming versions of the Android SDK, so we encourage you to move over the IAdobeAuthClientCredentials interface now.

Migrating your code

The update in your code is quite simple:

  1. Remove the IAdobeAuthRedirectCredentials interface, if you were using it
  2. Remove the .withRedirectURI() and .withAdditionalScopes() methods from the AdobeAuthSessionLauncher.Builder, if you were using it (this functionality is handled for you via the Client Auth interface)
  3. Implement the new methods for the IAdobeAuthClientCredentials interface (namely, getRedirectURI() and getAdditionalScopesList())

See the “Integrating the Client Auth component” of the Getting Started guide in the Android documentation for further details and a sample Application subclass that implements this interface.

Want to try the Adobe Creative SDK? Learn more about the Creative SDK for iOS, Android, and Web on the Creative SDK developer portal.