Introduction
With the SDK version 16.04 we have changed the SDK initialization process. Login module takes care of initializing the framework and fetching the SDK profile.
As mentioned in the guide, with 16.04 users simply need to extend their application class from AWApplication class and transition the flow to a landing activity which extends the SDKBaseactivy. We highly recommend following the login module implementation as mentioned in our SDK guide but this article is intended to resolve any errors which might arise when you swap out the framework files if your code already consists the implementation of classes like SDKBaseContextService, SDKBaseIntentService etc.
In addition to the classes listed below there may be other classes which would require the code inspection to resolve any compile time errors. Below you will find the code changes in some of the classes which user might have implemented while in the older versions of the SDK.
Migrating from 15.11 to 16.02
Change-log
Libraries
A total of 23 libraries including jar and aar files (addition of extra 5 new jar files)
SQLCipher library is a .aar file instead of .jar file
Gradle
Code
SDKBaseContextService
Deleted method onSDKConfigurationChanged()
Deleted variable mContext
AirWatchSDKBaseIntentService
Added method onApplicationConfigurationChange()
AWApplication
getMainActivityIntent() method is public
SDKBaseActivity
onTimeout() method is changed
Migrating from 15.11 to 16.04
Change-log:
Libraries
A total of 23 libraries including jar and aar files (addition of extra 5 new jar files)
SQLCipher library is a .aar file instead of .jar file
Gradle
Code
SDKBaseContextService
Deleted method onSDKConfigurationChanged()
Deleted variable mContext
AirWatchSDKBaseIntentService
Added method onApplicationConfigurationChange()
AWApplication
getMainActivityIntent() method is public
SDKBaseActivity
onTimeout() method is changed
AWApplication
getMagCertificateEnable is public in AWApplication
init() function removed from AWApplication
Migrating from 16.02 to 16.04
Change-log:
Gradle
Code
AWApplication
getMagCertificateEnable is public in AWApplication
init() function removed from AWApplication
0 Comments