Commit 44c4f79c authored by Mygod's avatar Mygod

Fix remote config in direct boot

parent ded39118
......@@ -85,6 +85,8 @@
</intent-filter>
</receiver>
<service android:name="com.google.firebase.components.ComponentDiscoveryService"
android:directBootAware="true"/>
<provider android:name="com.crashlytics.android.CrashlyticsInitProvider"
tools:node="remove"/>
<provider android:name="com.google.firebase.provider.FirebaseInitProvider"
......
......@@ -28,7 +28,7 @@ import com.google.firebase.remoteconfig.FirebaseRemoteConfig
import kotlinx.coroutines.tasks.await
object RemoteConfig {
private val config by lazy { FirebaseRemoteConfig.getInstance().apply { setDefaults(R.xml.default_configs) } }
private val config = FirebaseRemoteConfig.getInstance().apply { setDefaults(R.xml.default_configs) }
private fun Exception.log() {
Log.w("RemoteConfig", this)
......
......@@ -63,7 +63,7 @@ dependencies {
implementation 'androidx.browser:browser:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta2'
implementation 'com.google.android.gms:play-services-vision:18.0.0'
implementation 'com.google.firebase:firebase-ads:18.1.0'
implementation 'com.google.firebase:firebase-ads:18.1.1'
implementation 'com.takisoft.preferencex:preferencex-simplemenu:1.0.0'
implementation 'com.twofortyfouram:android-plugin-api-for-locale:1.0.4'
implementation 'net.glxn.qrgen:android:2.0'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment