Beagle 1.4 cache problem

Asked

Viewed 59 times

1

I’m using Beagle 1.4 (usebeagle.io) in a partially server driven Android app. I have the cache disabled in Beagleconfig, but when I get to the screen with the Beagle UI, the app crashes. I do not know if it is possible to enable the cache otherwise, and I have no way to ask all the developers of the app. If it is possible to enable in other ways, I need to know all of them to disable them.

@BeagleComponent
class AppBeagleConfig : BeagleConfig {
    override val isLoggingEnabled: Boolean = ServerDrivenConfig.data.isDebug
    override val baseUrl: String = ServerDrivenConfig.data.baseUrl
    override val environment: Environment = ServerDrivenConfig.data.environment
    override val cache: Cache = Cache(
        enabled = false,
        maxAge = 300
    )
}
at br.com.zup.beagle.android.cache.CacheManager.getBeagleCacheFromDisk(CacheManager.kt:89)

1 answer

2


Browser other questions tagged

You are not signed in. Login or sign up in order to post.