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

后端 未结 4 2056
萌比男神i
萌比男神i 2021-02-19 04:56

i have the following remote config_default.xml file



       
         


        
4条回答
  •  逝去的感伤
    2021-02-19 05:15

    If, at defaults xml file, you use triple-backslash as escape sequence, it works:

    {\\\"someKey\\\": \\\"someValue\\\"}

    Will produce {"someKey": "someValue"} as output of FirebaseRemoteConfig's getString() method.

提交回复
热议问题