I am using firebase remote config in my app and in logs, I am seeing this message with a non-fatal crash.
remote config is working fine but I don't know why this crash is showing up.
It only appears when I install the app the first time. After that, I am not seeing this.
I am using this dependency:
implementation 'com.google.firebase:firebase-config:19.1.1'
2020-02-04 14:17:19.168 31897-31935/x.y.z D/FirebaseRemoteConfig: Persisted config file was not found.
java.io.FileNotFoundException: /data/user/0/x.y.z/files/persisted_config (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:200)
at java.io.FileInputStream.<init>(FileInputStream.java:150)
at android.app.ContextImpl.openFileInput(ContextImpl.java:515)
at android.content.ContextWrapper.openFileInput(ContextWrapper.java:189)
at com.google.firebase.remoteconfig.internal.LegacyConfigsHandler.readPersistedConfig(com.google.firebase:firebase-config@@19.0.3:339)
at com.google.firebase.remoteconfig.internal.LegacyConfigsHandler.getConvertedLegacyConfigs(com.google.firebase:firebase-config@@19.0.3:196)
at com.google.firebase.remoteconfig.internal.LegacyConfigsHandler.saveLegacyConfigsIfNecessary(com.google.firebase:firebase-config@@19.0.3:151)
at com.google.firebase.remoteconfig.RemoteConfigComponent$$Lambda$4.call(Unknown Source:2)
at com.google.android.gms.tasks.zzv.run(Unknown Source:2)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)