Conditions in Firebase Remote Config DefaultsFirebase remote config condition by userIdCan I use Firebase remote config for updating strings.xml of Android app?Firebase Remote Config - “user in random percentile” with keyFirebase Remote Config fetch doesn't update values from the CloudAbout Firebase Remote Configuration limitationsUtilizing colors from firebase remote config in AndroidFirebase Remote Config A/B testing - Error in iOS experiment consoleFirebase remote config - language conditions not working - androidFirebase Remote Config Conditions Country/Region is not detected

What's the benefit of prohibiting the use of techniques/language constructs that have not been taught?

All numbers in a 5x5 Minesweeper grid

Inquiry answerer

How to convey to the people around me that I want to disengage myself from constant giving?

How is underwater propagation of sound possible?

Problem of Induction: Dissolved

Is the name of an interval between two notes unique and absolute?

Wrong Schengen Visa exit stamp on my passport, who can I complain to?

What was the earliest microcomputer Logo language implementation?

Explanation of 申し訳ございません

Compare FEM mesh with the mesh created within Mathematica

How to generate short fixed length cryptographic hashes?

Amortized Loans seem to benefit the bank more than the customer

Does Forgotten Realms setting count as “High magic”?

Abilities interrupting effects on a cast card

Why are there no programmes / playbills for movies?

Python web-scraper to download table of transistor counts from Wikipedia

The Google Earth Challenge: "A dangerous flower"

What is the origin of the "being immortal sucks" trope?

How to give my students a straightedge instead of a ruler

Are all article combinations valid patterns for "the" ɴᴏᴜɴ of "the" ɴᴏᴜɴ?

Hobby function generators

Tips for remembering the order of parameters for ln?

Why would a fighter use the afterburner and air brakes at the same time?



Conditions in Firebase Remote Config Defaults


Firebase remote config condition by userIdCan I use Firebase remote config for updating strings.xml of Android app?Firebase Remote Config - “user in random percentile” with keyFirebase Remote Config fetch doesn't update values from the CloudAbout Firebase Remote Configuration limitationsUtilizing colors from firebase remote config in AndroidFirebase Remote Config A/B testing - Error in iOS experiment consoleFirebase remote config - language conditions not working - androidFirebase Remote Config Conditions Country/Region is not detected






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I'm trying to set up Firebase Remote Config. One of important parts in my project is correct localization. So I have conditions for different languages set up in console. But now I'd like to make defaults xml. Example on github is to simple. There are only few values without any conditions. Documentation does not describe this format at all. So I'm wondering if it is possible to specify all my localizations in defaults.xml and how do I do this.










share|improve this question
































    0















    I'm trying to set up Firebase Remote Config. One of important parts in my project is correct localization. So I have conditions for different languages set up in console. But now I'd like to make defaults xml. Example on github is to simple. There are only few values without any conditions. Documentation does not describe this format at all. So I'm wondering if it is possible to specify all my localizations in defaults.xml and how do I do this.










    share|improve this question




























      0












      0








      0








      I'm trying to set up Firebase Remote Config. One of important parts in my project is correct localization. So I have conditions for different languages set up in console. But now I'd like to make defaults xml. Example on github is to simple. There are only few values without any conditions. Documentation does not describe this format at all. So I'm wondering if it is possible to specify all my localizations in defaults.xml and how do I do this.










      share|improve this question
















      I'm trying to set up Firebase Remote Config. One of important parts in my project is correct localization. So I have conditions for different languages set up in console. But now I'd like to make defaults xml. Example on github is to simple. There are only few values without any conditions. Documentation does not describe this format at all. So I'm wondering if it is possible to specify all my localizations in defaults.xml and how do I do this.







      android firebase-remote-config






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 28 at 15:19









      Doug Stevenson

      109k12 gold badges127 silver badges152 bronze badges




      109k12 gold badges127 silver badges152 bronze badges










      asked Mar 28 at 13:21









      oleg.semenoleg.semen

      1,46119 silver badges40 bronze badges




      1,46119 silver badges40 bronze badges

























          1 Answer
          1






          active

          oldest

          votes


















          1
















          The defaults file can't be used to specify conditions. It is just key/value pairs as shown. These values will be used before anything is actually fetched and cached from Firebase, for example, the first time your app is launched.






          share|improve this answer

























          • But language is available on device, there is no need to fetch it. So there is no other way of doing this except filling defaults with empty values, wrapping RemoteConfig with checks and return string resources in case it is empty ?

            – oleg.semen
            Mar 28 at 15:32











          • Android has its own way of localizing strings for values compiled into the app. Use that instead. developer.android.com/guide/topics/resources/localization

            – Doug Stevenson
            Mar 28 at 15:34











          • That's exactly what I'm talking about. If I want to use localized string in remote config it is possible to config it in console but it is not possible to setup defaults. In order to have localized defaults I have to write wrapper that use system localization.

            – oleg.semen
            Mar 28 at 15:45











          • BTW maybe you can share some insights on how it works ? If these values are stored under the same key suffixed by condition might it be possible to specify these key-value pairs for different languages in my defaults xml ?

            – oleg.semen
            Mar 28 at 16:14










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );














          draft saved

          draft discarded
















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55398715%2fconditions-in-firebase-remote-config-defaults%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1
















          The defaults file can't be used to specify conditions. It is just key/value pairs as shown. These values will be used before anything is actually fetched and cached from Firebase, for example, the first time your app is launched.






          share|improve this answer

























          • But language is available on device, there is no need to fetch it. So there is no other way of doing this except filling defaults with empty values, wrapping RemoteConfig with checks and return string resources in case it is empty ?

            – oleg.semen
            Mar 28 at 15:32











          • Android has its own way of localizing strings for values compiled into the app. Use that instead. developer.android.com/guide/topics/resources/localization

            – Doug Stevenson
            Mar 28 at 15:34











          • That's exactly what I'm talking about. If I want to use localized string in remote config it is possible to config it in console but it is not possible to setup defaults. In order to have localized defaults I have to write wrapper that use system localization.

            – oleg.semen
            Mar 28 at 15:45











          • BTW maybe you can share some insights on how it works ? If these values are stored under the same key suffixed by condition might it be possible to specify these key-value pairs for different languages in my defaults xml ?

            – oleg.semen
            Mar 28 at 16:14















          1
















          The defaults file can't be used to specify conditions. It is just key/value pairs as shown. These values will be used before anything is actually fetched and cached from Firebase, for example, the first time your app is launched.






          share|improve this answer

























          • But language is available on device, there is no need to fetch it. So there is no other way of doing this except filling defaults with empty values, wrapping RemoteConfig with checks and return string resources in case it is empty ?

            – oleg.semen
            Mar 28 at 15:32











          • Android has its own way of localizing strings for values compiled into the app. Use that instead. developer.android.com/guide/topics/resources/localization

            – Doug Stevenson
            Mar 28 at 15:34











          • That's exactly what I'm talking about. If I want to use localized string in remote config it is possible to config it in console but it is not possible to setup defaults. In order to have localized defaults I have to write wrapper that use system localization.

            – oleg.semen
            Mar 28 at 15:45











          • BTW maybe you can share some insights on how it works ? If these values are stored under the same key suffixed by condition might it be possible to specify these key-value pairs for different languages in my defaults xml ?

            – oleg.semen
            Mar 28 at 16:14













          1














          1










          1









          The defaults file can't be used to specify conditions. It is just key/value pairs as shown. These values will be used before anything is actually fetched and cached from Firebase, for example, the first time your app is launched.






          share|improve this answer













          The defaults file can't be used to specify conditions. It is just key/value pairs as shown. These values will be used before anything is actually fetched and cached from Firebase, for example, the first time your app is launched.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 28 at 15:21









          Doug StevensonDoug Stevenson

          109k12 gold badges127 silver badges152 bronze badges




          109k12 gold badges127 silver badges152 bronze badges















          • But language is available on device, there is no need to fetch it. So there is no other way of doing this except filling defaults with empty values, wrapping RemoteConfig with checks and return string resources in case it is empty ?

            – oleg.semen
            Mar 28 at 15:32











          • Android has its own way of localizing strings for values compiled into the app. Use that instead. developer.android.com/guide/topics/resources/localization

            – Doug Stevenson
            Mar 28 at 15:34











          • That's exactly what I'm talking about. If I want to use localized string in remote config it is possible to config it in console but it is not possible to setup defaults. In order to have localized defaults I have to write wrapper that use system localization.

            – oleg.semen
            Mar 28 at 15:45











          • BTW maybe you can share some insights on how it works ? If these values are stored under the same key suffixed by condition might it be possible to specify these key-value pairs for different languages in my defaults xml ?

            – oleg.semen
            Mar 28 at 16:14

















          • But language is available on device, there is no need to fetch it. So there is no other way of doing this except filling defaults with empty values, wrapping RemoteConfig with checks and return string resources in case it is empty ?

            – oleg.semen
            Mar 28 at 15:32











          • Android has its own way of localizing strings for values compiled into the app. Use that instead. developer.android.com/guide/topics/resources/localization

            – Doug Stevenson
            Mar 28 at 15:34











          • That's exactly what I'm talking about. If I want to use localized string in remote config it is possible to config it in console but it is not possible to setup defaults. In order to have localized defaults I have to write wrapper that use system localization.

            – oleg.semen
            Mar 28 at 15:45











          • BTW maybe you can share some insights on how it works ? If these values are stored under the same key suffixed by condition might it be possible to specify these key-value pairs for different languages in my defaults xml ?

            – oleg.semen
            Mar 28 at 16:14
















          But language is available on device, there is no need to fetch it. So there is no other way of doing this except filling defaults with empty values, wrapping RemoteConfig with checks and return string resources in case it is empty ?

          – oleg.semen
          Mar 28 at 15:32





          But language is available on device, there is no need to fetch it. So there is no other way of doing this except filling defaults with empty values, wrapping RemoteConfig with checks and return string resources in case it is empty ?

          – oleg.semen
          Mar 28 at 15:32













          Android has its own way of localizing strings for values compiled into the app. Use that instead. developer.android.com/guide/topics/resources/localization

          – Doug Stevenson
          Mar 28 at 15:34





          Android has its own way of localizing strings for values compiled into the app. Use that instead. developer.android.com/guide/topics/resources/localization

          – Doug Stevenson
          Mar 28 at 15:34













          That's exactly what I'm talking about. If I want to use localized string in remote config it is possible to config it in console but it is not possible to setup defaults. In order to have localized defaults I have to write wrapper that use system localization.

          – oleg.semen
          Mar 28 at 15:45





          That's exactly what I'm talking about. If I want to use localized string in remote config it is possible to config it in console but it is not possible to setup defaults. In order to have localized defaults I have to write wrapper that use system localization.

          – oleg.semen
          Mar 28 at 15:45













          BTW maybe you can share some insights on how it works ? If these values are stored under the same key suffixed by condition might it be possible to specify these key-value pairs for different languages in my defaults xml ?

          – oleg.semen
          Mar 28 at 16:14





          BTW maybe you can share some insights on how it works ? If these values are stored under the same key suffixed by condition might it be possible to specify these key-value pairs for different languages in my defaults xml ?

          – oleg.semen
          Mar 28 at 16:14








          Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







          Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.




















          draft saved

          draft discarded















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55398715%2fconditions-in-firebase-remote-config-defaults%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

          155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해