When upgrading from 2.1.8 to 2.1.9 or any newer version I get this crash when I call the registerInsights function:
java.lang.NoSuchMethodError: No static method ConfigurationInsights$default(Lcom/algolia/search/model/ApplicationID;Lcom/algolia/search/model/APIKey;JJLcom/algolia/search/logging/LogLevel;Ljava/util/List;Ljava/util/Map;Lio/ktor/client/engine/HttpClientEngine;Lkotlin/jvm/functions/Function1;Lcom/algolia/search/logging/Logger;ILjava/lang/Object;)Lcom/algolia/search/configuration/ConfigurationInsights; in class Lcom/algolia/search/configuration/ConfigurationInsightsKt; or its super classes (declaration of 'com.algolia.search.configuration.ConfigurationInsightsKt' appears in /data/data/com.gymshark.store.staging/code_cache/.overlay/base.apk/classes34.dex)
at com.algolia.instantsearch.insights.internal.extension.InsightsKt.clientInsights(Insights.kt:23)
at com.algolia.instantsearch.insights.InsightsKt.registerInsights(Insights.kt:90)
at com.algolia.instantsearch.insights.InsightsKt.registerInsights(Insights.kt:59)
at com.algolia.instantsearch.insights.InsightsKt.registerInsights$default(Insights.kt:51)
These are my current library versions for reproducing the crash:
When upgrading from
2.1.8
to2.1.9
or any newer version I get this crash when I call theregisterInsights
function:These are my current library versions for reproducing the crash: