JivoChat / JivoSDK-Android

The Jivo Mobile SDK allows you to embed the Jivo chat into your Android mobile applications to receive customer requests
https://www.jivochat.com
10 stars 5 forks source link

"Multiple substitutions specified in non-positional format of string resource" warnings from lint #71

Open alvindizon opened 8 months ago

alvindizon commented 8 months ago

Hello, running lint on our project turns up a lot of warnings coming from string resources from the Jivo SDK, such as

Multiple substitutions specified in non-positional format of string resource string/chat_system_disconnected. 
Did you mean to add the formatted="false" attribute?

Here's the full set of warnings:

/home/runner/.gradle/caches/transforms-3/07f57b84f162edbb09ae069bb5cfedfb/transformed/android-sdk-2.1.1/res/values/values.xml:75:4: Multiple substitutions specified in non-positional format of string resource string/chat_system_disconnected. Did you mean to add the formatted="false" attribute?
/home/runner/.gradle/caches/transforms-3/07f57b84f162edbb09ae069bb5cfedfb/transformed/android-sdk-2.1.1/res/values/values.xml:76:4: Multiple substitutions specified in non-positional format of string resource string/chat_system_few_agents_typing. Did you mean to add the formatted="false" attribute?
/home/runner/.gradle/caches/transforms-3/07f57b84f162edbb09ae069bb5cfedfb/transformed/android-sdk-2.1.1/res/values/values.xml:78:4: Multiple substitutions specified in non-positional format of string resource string/chat_system_two_agents_typing. Did you mean to add the formatted="false" attribute?
/home/runner/.gradle/caches/transforms-3/07f57b84f162edbb09ae069bb5cfedfb/transformed/android-sdk-2.1.1/res/values-hy/values-hy.xml:32:4: Multiple substitutions specified in non-positional format of string resource string/chat_system_disconnected. Did you mean to add the formatted="false" attribute?
/home/runner/.gradle/caches/transforms-3/07f57b84f162edbb09ae069bb5cfedfb/transformed/android-sdk-2.1.1/res/values-hy/values-hy.xml:33:4: Multiple substitutions specified in non-positional format of string resource string/chat_system_few_agents_typing. Did you mean to add the formatted="false" attribute?
/home/runner/.gradle/caches/transforms-3/07f57b84f162edbb09ae069bb5cfedfb/transformed/android-sdk-2.1.1/res/values-hy/values-hy.xml:35:4: Multiple substitutions specified in non-positional format of string resource string/chat_system_two_agents_typing. Did you mean to add the formatted="false" attribute?
/home/runner/.gradle/caches/transforms-3/07f57b84f162edbb09ae069bb5cfedfb/transformed/android-sdk-2.1.1/res/values-ru/values-ru.xml:32:4: Multiple substitutions specified in non-positional format of string resource string/chat_system_disconnected. Did you mean to add the formatted="false" attribute?
/home/runner/.gradle/caches/transforms-3/07f57b84f162edbb09ae069bb5cfedfb/transformed/android-sdk-2.1.1/res/values-ru/values-ru.xml:33:4: Multiple substitutions specified in non-positional format of string resource string/chat_system_few_agents_typing. Did you mean to add the formatted="false" attribute?
/home/runner/.gradle/caches/transforms-3/07f57b84f162edbb09ae069bb5cfedfb/transformed/android-sdk-2.1.1/res/values-ru/values-ru.xml:35:4: Multiple substitutions specified in non-positional format of string resource string/chat_system_two_agents_typing. Did you mean to add the formatted="false" attribute?
/home/runner/.gradle/caches/transforms-3/07f57b84f162edbb09ae069bb5cfedfb/transformed/android-sdk-2.1.1/res/values-pt/values-pt.xml:32:4: Multiple substitutions specified in non-positional format of string resource string/chat_system_disconnected. Did you mean to add the formatted="false" attribute?
/home/runner/.gradle/caches/transforms-3/07f57b84f162edbb09ae069bb5cfedfb/transformed/android-sdk-2.1.1/res/values-pt/values-pt.xml:33:4: Multiple substitutions specified in non-positional format of string resource string/chat_system_few_agents_typing. Did you mean to add the formatted="false" attribute?
/home/runner/.gradle/caches/transforms-3/07f57b84f162edbb09ae069bb5cfedfb/transformed/android-sdk-2.1.1/res/values-pt/values-pt.xml:35:4: Multiple substitutions specified in non-positional format of string resource string/chat_system_two_agents_typing. Did you mean to add the formatted="false" attribute?
/home/runner/.gradle/caches/transforms-3/07f57b84f162edbb09ae069bb5cfedfb/transformed/android-sdk-2.1.1/res/values-es/values-es.xml:32:4: Multiple substitutions specified in non-positional format of string resource string/chat_system_disconnected. Did you mean to add the formatted="false" attribute?
/home/runner/.gradle/caches/transforms-3/07f57b84f162edbb09ae069bb5cfedfb/transformed/android-sdk-2.1.1/res/values-es/values-es.xml:33:4: Multiple substitutions specified in non-positional format of string resource string/chat_system_few_agents_typing. Did you mean to add the formatted="false" attribute?
/home/runner/.gradle/caches/transforms-3/07f57b84f162edbb09ae069bb5cfedfb/transformed/android-sdk-2.1.1/res/values-es/values-es.xml:35:4: Multiple substitutions specified in non-positional format of string resource string/chat_system_two_agents_typing. Did you mean to add the formatted="false" attribute?
/home/runner/.gradle/caches/transforms-3/07f57b84f162edbb09ae069bb5cfedfb/transformed/android-sdk-2.1.1/res/values-tr/values-tr.xml:32:4: Multiple substitutions specified in non-positional format of string resource string/chat_system_disconnected. Did you mean to add the formatted="false" attribute?
/home/runner/.gradle/caches/transforms-3/07f57b84f162edbb09ae069bb5cfedfb/transformed/android-sdk-2.1.1/res/values-tr/values-tr.xml:33:4: Multiple substitutions specified in non-positional format of string resource string/chat_system_few_agents_typing. Did you mean to add the formatted="false" attribute?
/home/runner/.gradle/caches/transforms-3/07f57b84f162edbb09ae069bb5cfedfb/transformed/android-sdk-2.1.1/res/values-tr/values-tr.xml:35:4: Multiple substitutions specified in non-positional format of string resource string/chat_system_two_agents_typing. Did you mean to add the formatted="false" attribute?