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

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

i have the following remote config_default.xml file



       
         


        
4条回答
  •  难免孤独
    2021-02-19 05:17

    Hi Sheraz Ahmad Khilji first of all, I apologize for the English, I don't know how to write english very well.

    This problems occours because firebase has a bug when converting your xml in a Map, to contorn this problem, you can use a MAP instead of a xml.

    sample:

    firebaseConfig.setDefaults(Map);

    This change will solve your problem with double quotes.

提交回复
热议问题