So we've been using Aviary SDK in our project for a long time, and no problems occured. But when we updated the Aviary version to latest, some strange behavior was revealed - when u first install application with new version of Aviary bundled on a device, which has version of app with older Aviary version, app crashes with exception -
FATAL EXCEPTION: IntentService[AviaryCdsService]
java.lang.IllegalStateException: Missing required api key secret
second run of installed app work as expected, and all functions are working properly. If device doesn't have previously installed app, no crash occured and installation runs fine. This behavior revealed when migrating from com.aviary.android.feather.sdk:aviary-sdk:3.4.3.351 to com.aviary.android.feather.sdk:aviary-sdk:3.6.3
Does anyone else had such problem, and is there any way to avoid this crash?
Create application class and put below code in onCreate() methide
Intent cdsIntent = AviaryIntent.createCdsInitIntent(getBaseContext(), API_SECRET, null); startService( cdsIntent );
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With