Class annotated with @ContributesMultibinding cannot be internal.
This commit is contained in:
parent
3b24990a9f
commit
cbb27cb5e5
4 changed files with 4 additions and 4 deletions
|
|
@ -22,7 +22,7 @@ import io.element.android.libraries.core.meta.BuildMeta
|
|||
import io.element.android.libraries.di.ApplicationContext
|
||||
import javax.inject.Inject
|
||||
|
||||
internal class PostHogFactory @Inject constructor(
|
||||
class PostHogFactory @Inject constructor(
|
||||
@ApplicationContext private val context: Context,
|
||||
private val buildMeta: BuildMeta,
|
||||
private val posthogEndpointConfigProvider: PosthogEndpointConfigProvider,
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ import javax.inject.Inject
|
|||
// private val IGNORED_OPTIONS: Options? = null
|
||||
|
||||
@ContributesMultibinding(AppScope::class)
|
||||
internal class PosthogAnalyticsProvider @Inject constructor(
|
||||
class PosthogAnalyticsProvider @Inject constructor(
|
||||
private val postHogFactory: PostHogFactory,
|
||||
) : AnalyticsProvider {
|
||||
override val name = "Posthog"
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
package io.element.android.services.analyticsproviders.posthog
|
||||
|
||||
internal data class PosthogEndpointConfig(
|
||||
data class PosthogEndpointConfig(
|
||||
val host: String,
|
||||
val apiKey: String,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ import io.element.android.libraries.core.meta.BuildMeta
|
|||
import io.element.android.libraries.core.meta.BuildType
|
||||
import javax.inject.Inject
|
||||
|
||||
internal class PosthogEndpointConfigProvider @Inject constructor(
|
||||
class PosthogEndpointConfigProvider @Inject constructor(
|
||||
private val buildMeta: BuildMeta,
|
||||
) {
|
||||
fun provide(): PosthogEndpointConfig {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue