Instruction for upgrading the Onegini Android SDK to version 8.1
Mobile authentication request
The Onegini SDK doesn't expect a GCM/FCM specific objects anymore when handling mobile authentication requests. In order to handle the mobile authentication
request you need to provide an OneginiMobileAuthWithPushRequest
instance to the SDK method:
In order to create such a request object, you should parse the incoming GCM/FCM message object in the app. This can be done by your own JSON parser or one of
free JSON parsing libraries like Gson. For example, to parse the incoming RemoteMessage (FCM) object into an OneginiMobileAuthWithPushRequest
you could
use