ChoiceSDK
ChoiceSDK copied to clipboard
Initialising the Choice SDK
When I try to initiate the SDK (with ChoiceSdk.init(this)), it asks me to create a class called ChoiceSdk? How do I import the ChoiceSdk class into my app so I can call it?
Which SDK module are you including in your app?
The ChoiceSdk
class should automatically be available in every module, as every module implicitly depends on the choicesdk-core
module which includes the class.
How would I check that?
Sorry for the misleading comment before.
Which ChoiceSDK dependency are you using in your build.gradle file?
I have the same problem. The dependency I am using in my project is 0.2.0
I found a solution for my problem. It was the kotlinx-coroutines-core dependency that is also used by other libraries but these need version 1.4.2. So I had to downgrade the project version to 1.4.2.
implementation ('org.jetbrains.kotlinx:kotlinx-coroutines-core'){ version{ strictly '1.4.2-native-mt' } }
We have updated our coroutines dependencies to 1.5.0 with our 0.2.0 release, have you tried it yet?