You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you're using Paraphrase then you may never reference a formatted string resource directly in your Kotlin code - you do it indirectly through the generated Paraphrase code. UnusedResourceDetector doesn't seem to pick up those indirect references, so it reports UnusedResources lint errors.
On one hand, a reference in the generated Paraphrase shouldn't automatically mark a resource is used. If the Paraphrase function is never called then the resource really is unused. But if the Paraphrase function is called, that would ideally be enough to satisfy lint.
I haven't looked into how UnusedResourceDetector works, so I'm not sure what options we have to mitigate this.