Skip to main content

Questions tagged [firebase-remote-config]

Firebase Remote Config allows developers to optimize and customize their iOS, Android and Web apps on the fly.

firebase-remote-config
Filter by
Sorted by
Tagged with
378 votes
38 answers
412k views

Default FirebaseApp is not initialized

We're seeing a few exceptions with the message Default FirebaseApp is not initialized in this process com.example.app. Make sure to call FirebaseApp.initializeApp(Context) first. in our Android app in ...
Roy Solberg's user avatar
65 votes
8 answers
22k views

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 ...
Pascal Syma's user avatar
51 votes
12 answers
54k views

Firebase Remote Config: Can't read any values, but fetch is successful

I'm trying to have a remote config parameter using the new Remote Config feature of Firebase, and I'm having an issue. Here's my Remote Config console: I'm doing a fetch and update in my ...
Steven Schoen's user avatar
37 votes
2 answers
13k views

Is it OK to use Firebase RemoteConfig to store API Keys?

Note: For clarification this is not the Firebase API Key, this may be more like a token...something that the client app possesses, and the server endpoint verifies. We are trying to do even better to ...
Innova's user avatar
  • 2,099
30 votes
5 answers
13k views

FirebaseRemoteConfig.fetch() does not trigger OnCompleteListener every time

I'm trying to implement Firebase Remote Config : override fun onCreate(savedInstanceState: Bundle?) { val configSettings = FirebaseRemoteConfigSettings.Builder().setDeveloperModeEnabled(...
guillaume's user avatar
  • 1,658
29 votes
6 answers
20k views

Can I declare an array to Firebase Remote config?

I am a novice to Android and Firebase. Is it possible to declare an array inside the the Parameter key of Firebase Remote Config? I want to provide some promotions to some specific models/mobile ...
Munir Hoque's user avatar
28 votes
4 answers
16k views

Firebase Remote Config feature for web app (after Firebase expansion)

I am building a web application with Firebase and I saw they released their expansion with all great new features. However, the Remote Config section is now only available for Android and IOS apps. Is ...
user4550050's user avatar
25 votes
4 answers
18k views

Can I initialize Firebase without using google-services.json?

EDIT: I should emphasize, I have flavors, for which I don't want to use any of these Google services, and attempting to apply the google-services plugin in such a case, without having an applicable ...
Matej's user avatar
  • 1,727
21 votes
2 answers
10k views

Firebase Remote Config A/B testing shows no results after 24 hours

I configured Firebase Remote Config A/B testing for Android, and we did rollout on at least 10K devices. For some reason, I see "0 users" in my A/B test after more than 24 hours. Firebase GMS version ...
Vyacheslav A's user avatar
20 votes
4 answers
13k views

Firebase Remote Config/Realtime database on Huawei devices

Are all of the Firebase services for Android unable to work on Huawei or is it just the cloud messaging service that does not work? Do all of the firebase services rely on Google Play Services?
dephinera's user avatar
  • 3,740
20 votes
1 answer
29k views

Firebase remote config cache expiration time in release

I'm trying to setup firebase remote config for release mode by setting developer mode to false. But with cache expiration time less then 3000(may be a bit less, determined it experimentally) seconds, ...
YTerle's user avatar
  • 2,656
20 votes
2 answers
10k views

'setConfigSettings(FirebaseRemoteConfigSettings!): Unit' is deprecated

After upgrading Firebase libraries to implementation "com.google.firebase:firebase-messaging:18.0.0" implementation 'com.google.firebase:firebase-config:17.0.0' implementation 'com.google.firebase:...
CoolMind's user avatar
  • 28.1k
20 votes
4 answers
27k views

How to clone an existing Firebase project data to another new project?

I want to clone an existing Firebase project, lets name it ProjectA that previously exists on Firebase console with some Remote Config data to another new project(without any Remote Config data), lets ...
epool's user avatar
  • 6,809
19 votes
3 answers
21k views

Firebase Remote Config Fetch failed with user not authorized

I'm trying to set up my production application to use remote config, but I'm getting a FirebaseRemoteConfigFetchException. This project is already deployed, we use FCM, Crashlytics and Dynamic Links. ...
eslimaf's user avatar
  • 716
19 votes
3 answers
9k views

FirebaseRemoteConfig.activateFetched() is deprecated. What to use instead?

Firebase Remote Config activateFetched() is deprecated. What to use instead? firebaseRemoteConfig.activateFetched();
Michalsx's user avatar
  • 3,541
18 votes
6 answers
23k views

Firebase Remote Config fetch doesn't update values from the Cloud

I'm trying to set up Firebase Remote Config for my project. I added Firebase via the Assistant. I added values to the server values on Google Cloud Console: I've created default values xml in res/xml ...
Furetur's user avatar
  • 471
17 votes
1 answer
2k views

Firebase Remote Config: Version condition is disabled for Unity projects

I have a project in which I have to change remote config values of some parameters for each version. When I try to use version code while setting conditions in remote config, it is always grayed and ...
meliksahd's user avatar
  • 173
17 votes
6 answers
14k views

Firebase Remote Config App Version condition

The Firebase Remote Config App version condition seems to be ignored. I've made the following setup to play around with my current development version: xCode Version setup: Firebase Remote Config ...
stsandro's user avatar
  • 343
15 votes
3 answers
6k views

How to define an experiment for first time users in Firebase?

I am trying to create an experiment using Firebase remote config. The criteria is as follows: It should target only new users who have not used the app ( opening the app for the first time) Now on ...
sjmach's user avatar
  • 436
15 votes
3 answers
5k views

Is there an API to *change* Firebase Remote Config values?

Firebase console support easy way to configure remote configuration parameter. In our app we have remote configuration different per user, and those configuration are set on our own web portal. Is ...
GaneshP's user avatar
  • 766
15 votes
7 answers
4k views

Add new line character in remote config text

I'm doing Firebase RemoteConfig integration. In one of the scenarios, I need to break a text line, so I tried to use new line character (\n). But this is not working, it is neither displaying as an ...
CoDe's user avatar
  • 11.1k
15 votes
2 answers
3k views

How to get updated remote config values after setting user properties

I'm currently running an A/B test on a remote config value in Firebase. The target of the test is for users with a user property X that is contained in a regex. My problem is that I fetch the remote ...
Michael Eilers Smith's user avatar
15 votes
4 answers
3k views

Android: Firebase remoteConfig getString() method is removing quotes from string inside default.xml

i have the following remote config_default.xml file <?xml version="1.0" encoding="utf-8"?> <defaultsMap> <entry> <key>LOCAL_JSON</key> <...
Sheraz Ahmad Khilji's user avatar
14 votes
1 answer
9k views

Firebase remote config condition by userId

I integrated Firebase into my Android project, to get a different parameter value for different application user. I did the following: Setup users in my Firebase Project Created audiences to match ...
noti's user avatar
  • 907
14 votes
1 answer
4k views

Firebase Remote Config App Version condition comparison

I'm using Firebase Remote Config, and I'm trying to wrap my head around the App Version conditions. https://firebase.google.com/docs/remote-config/parameters#rule_types says I must do String matching ...
Scott Kennedy's user avatar
13 votes
1 answer
2k views

Firebase Remote Config getInt() missing

Firebase provides the following methods: getBoolean() getByteArray() getDouble() getLong() getString() https://firebase.google.com/docs/remote-config/use-config-android#get-parametervalues-to-use-in-...
James's user avatar
  • 3,525
13 votes
2 answers
1k views

Android Firebase Remote Config: Application name is not set. Call Builder#setApplicationName

Whenever I call FirebaseRemoteConfig.getInstance(), I get this warning: W/zze: Application name is not set. Call Builder#setApplicationName. I've updated the json config file from Firebase, but it ...
rednuht's user avatar
  • 1,792
12 votes
2 answers
20k views

How is the Firebase Remote Config rate limit counted?

I am using Firebase Remote Config to store a secret key for a mobile app ( I do not want to include in client app due to security problems). The problem is I know that fetching config from server ...
alvaroblca's user avatar
12 votes
3 answers
8k views

"'isDeveloperModeEnabled' is deprecated: This no longer needs to be set during development. " What is isDeveloperModeEnabled used for

As a part of upgrading the code base to Swift5, I have updated Firebase pod in my project. After that i started getting warning as below. isDeveloperModeEnabled is deprecated: This no longer needs ...
user1751876's user avatar
12 votes
3 answers
6k views

How long does Firebase throttle you?

Even with debug enabled for RemoteConfig, I still managed to get the following: Error fetching remote config values Optional(Error Domain=com.google.remoteconfig.ErrorDomain Code=8002 "(null)" ...
4thSpace's user avatar
  • 44.1k
12 votes
1 answer
3k views

Firebase Config: ClassNotFoundException

I'm seeing following error after adding RemoteConfig. 2020-04-02 16:47:06.844 12100-12100/removed W/ComponentDiscovery: Class com.google.firebase.remoteconfig.ktx.FirebaseConfigKtxRegistrar is not ...
The_ehT's user avatar
  • 1,232
11 votes
3 answers
6k views

Firebase Remote Config vs Database

I have some parameters that I want to be able to control without making an update. There are 2 options: Remote config -Fetching them with the default cache of 12 hours. Database - Making a config ...
Konstantin Antipochkin's user avatar
11 votes
3 answers
2k views

Firebase Remote Config with Namespace

The Firebase API for RemoteConfig has several methods for assigning config values by namespace, eg (setDefaults(R.xml.rc_defaults, "Namespace")). I've got this to work in terms of separating config ...
JCricket's user avatar
  • 1,329
11 votes
7 answers
20k views

FirebaseRemoteConfig fetchAndActivate not updating new value

I have already set the minimum interval to be 0 when in Debug mode. Currently what I do to fetch new data is by clearing the app storage first before launching the app. Here is my code: private fun ...
Mike's user avatar
  • 1,247
11 votes
1 answer
2k views

Firebase Remote Config - "user in random percentile" with key

I'm exploring using Firebase's "User in random percentile" condition to target different segments of a customer-base for A/B testing and have a few questions after reviewing the Firebase Remote Config ...
Mark's user avatar
  • 7,466
11 votes
5 answers
11k views

Android Firebase Remote Config initial fetch does not return value

I'm using Firebase Remote Config to fetch data when app first open for the first time. But problem is I cannot fetch data on first start of the app. onComplete() method triggers but returns no value. ...
Orkhan Ahmadov's user avatar
11 votes
1 answer
3k views

Unable to select user property inside remote config in firebase, it is greyed out

Unable to select user property inside remote config in firebase, it is greyed out
Sankalpa's user avatar
  • 111
11 votes
2 answers
6k views

Firebase - how to create A/B test experiment for web app (not native app)

I'd like to A/B test a feature on our web app, which uses Firebase. When setting up the A/B test, I noticed that it's requiring me to select an "app" (I also have a native app), but I'm ...
Rbar's user avatar
  • 3,880
11 votes
2 answers
7k views

Firebase remote config alternatives

Are there some alternatives to Firebase Remote Config? I need to deliver an App for chinese market and I'm not sure that it will work
Gianluca's user avatar
  • 2,419
10 votes
3 answers
5k views

java.lang.RuntimeException: Duplicate class com.google.protobuf.AbstractMessageLite when adding firebase remote config

When I am adding com.google.firebase:firebase-config:19.1.0 to use firebase remote config having this issue. java.lang.RuntimeException: Duplicate class com.google.protobuf.AbstractMessageLite ...
0xAliHn's user avatar
  • 18.9k
9 votes
3 answers
8k views

what is the minimum cache expire time for firebase remote config?

By default the firebase remote config cache expires after 12 hours, but i want to know what is the minimum cache Expiration time for firebase remote config.
Sarath Kumar's user avatar
  • 1,970
9 votes
1 answer
2k views

Azure - Firebase Remote Config Equivalent

Are there any features available in Azure that is equivalent to Firebase Remote Config which allows roll out of features to a mobile app without a republish? I have looked at the Azure mobile and ...
Krishna's user avatar
  • 1,871
9 votes
2 answers
2k views

Firebase Remote Config A/B testing - Error in iOS experiment console

I'm trying to get an A/B test with Remote Config up and running and I'm having some trouble with the iOS part. After setting the experiment up as described in the documentation it doesn't seem to work....
tobi_b's user avatar
  • 1,228
8 votes
3 answers
4k views

Using Google Firebase Remote Config without Google Play Services?

Is it possible to use Firebase Remote Config without having Google Play Services installed (aosp) on the device? I did follow this setup in my android project: (via https://firebase.google.com/docs/...
icouldin's user avatar
  • 205
8 votes
2 answers
5k views

Can Firebase RemoteConfig be accessed from cloud functions

I'm using Firebase as a simple game-server and have some settings that are relevant for both client and backend and would like to keep them in RemoteConfig for consistency, but not sure if I can ...
N.J.'s user avatar
  • 679
8 votes
1 answer
4k views

Difference between Firebase Remote config and Microsoft Codepush

I am going to develop a react-native app.I want to make some good decisions of choosing the technology stack before I begin my work. Features I am sure about: 1) For users authentication,datastore,...
Abhinav's user avatar
  • 8,108
8 votes
3 answers
3k views

Mutually exclusive A/B tests with Firebase Remote Config

I wanted to perform two A/B tests on an app using Firebase A/B Testing with Remote Config. The problem is that the two tests audiences should be mutually exclusive. Forming part of both experiments ...
willy's user avatar
  • 490
8 votes
3 answers
2k views

Create audience based on dynamic user property

I have an app in which a user can have a "paid" or "free" status. A user can switch from "free" to "paid" (if he does an in app purchase) or from "paid" to "free" if he stops to pay its subscription. ...
Rémi Pradal's user avatar
8 votes
1 answer
5k views

Remote config in Flutter app throws exception on fetch

I have a Flutter app and I am using remote config to retrieve some information, but the code throws an exception when fetching data. This is my method for setting up remote config. Future<...
dshukertjr's user avatar
  • 17.8k
8 votes
3 answers
6k views

Swift/iOS - Firebase Remote Config fetch values never completes

Below is a class implemented to fetch remote config values from the Firebase console, however when calling fetch cloud values, the completion block never executes (i.e. If I break in the completion ...
Dom Bryan's user avatar
  • 1,258

1
2 3 4 5
12