Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FirebaseRemoteConfig Error "No value of type 'String' exists for parameter key"

I am using Firebase Core and some other Features, but not Remote Config. Multiple times a second the following Output is on Logcat.

Where can I disable the Remote Config functionality or even set those non-existing values?

Dependencies:

// Project classpath 'com.android.tools.build:gradle:3.2.1' classpath 'com.google.gms:google-services:4.2.0' classpath 'com.google.firebase:firebase-plugins:1.2.0'  classpath 'io.fabric.tools:gradle:1.26.1'  // Module implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'com.android.support:design:28.0.0' implementation 'com.android.support:support-v4:28.0.0' implementation 'com.android.support.constraint:constraint-layout:1.1.3' implementation 'com.android.support:support-vector-drawable:28.0.0' implementation 'com.android.support:preference-v7:28.0.0' implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'com.android.support:recyclerview-v7:28.0.0' implementation 'com.android.support:design:28.0.0' implementation 'org.jsoup:jsoup:1.11.3' implementation 'com.squareup.okhttp3:okhttp:3.11.0' implementation 'com.android.support:cardview-v7:28.0.0'  implementation 'com.google.firebase:firebase-core:16.0.8' implementation 'com.google.firebase:firebase-messaging:17.5.0' implementation 'com.google.firebase:firebase-perf:16.2.4' implementation 'com.google.android.gms:play-services-location:16.0.0' implementation 'com.jsibbold:zoomage:1.2.0' implementation 'com.android.support:exifinterface:28.0.0' implementation 'com.squareup.picasso:picasso:2.71828'  implementation 'com.crashlytics.sdk.android:crashlytics:2.9.9' 
W/FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_max_length_minutes'. W/FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_max_length_minutes'. W/FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_feature_enabled'. W/FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_max_length_minutes'. W/FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'fpr_vc_trace_sampling_rate'. W/FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_feature_enabled'. W/FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'fpr_vc_trace_sampling_rate'. 

It is not causing any problems I think, just annoying that it spams the Console.

like image 673
Pascal Syma Avatar asked Apr 04 '19 07:04

Pascal Syma


2 Answers

Firebase answer to my bug report:

It seems that you're getting some warning about Remote Config. We managed to reproduce on our end, and our engineers have confirmed that this is working as intended. This happens because the Performance Monitoring SDK was added on your app. This is because Performance Monitoring uses Firebase Remote Config internally. However, our engineers have confirmed that they will try to reduce these warnings in the future. For now, you can ignore these as it's only a warning, and should not affect the app's performance.

like image 148
Hrk Avatar answered Sep 20 '22 06:09

Hrk


It comes from last versions of firebase-perf (for example, 16.2.5), because it has internal firebase-remote-config dependency. I have the same issue, but I don't know how to properly fix this log spam (except "Fold lines like this" option in logcat). I hope Firebase team will fix it soon.

like image 44
Ruslan Berozov Avatar answered Sep 21 '22 06:09

Ruslan Berozov