-1
<string name="url" translatable="false">https://www.mycomp.in/our-privacy-promise/app-privacy-notice/</string>

getString(R.string.lowell_privacy_policy_url)) is ignoring the url after "https://www.mycomp.in/our-privacy-promise/"

I am not sure why is this occurring in my case.

I tried to fetch/read complete url from string resource but the getString fun did not read the complete url in my case. I expect it to fetch the complete url from string resource file.

1

1 Answer 1

2

As you mentioned different name and calling different name.

Replace your String

<string name="url" translatable="false">https://www.mycomp.in/our-privacy-promise/app-privacy-notice/</string>

With

<string name="lowell_privacy_policy_url" translatable="false">https://www.mycomp.in/our-privacy-promise/app-privacy-notice/</string>
Sign up to request clarification or add additional context in comments.

1 Comment

Thank you for the answer, also I was missing the other string file created for localization.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.