media icon indicating copy to clipboard operation
media copied to clipboard

Add resource prefix for resources

Open harshit23897 opened this issue 1 year ago • 1 comments

[REQUIRED] Use case description

We are trying to add dependency on Androidx Media3 and we already have ExoPlayer2. When we are trying to build the app with both Androidx Media3 and ExoPlayer2, app is not building as there is clash is names of resources. Both Androidx Media3 and ExoPlayer2 defines resources with same name and hence the clash happens.

Proposed solution

Allow library users to add a unique prefix for all resources or add a static prefix in front of all resources. resourcePrefix can be used for this

Alternatives considered

I am not aware of any alternatives.

harshit23897 avatar Aug 26 '24 14:08 harshit23897

I tried building an app with both media3 and exoplayer2 dependencies including using a resource drawable, but couldn't see any issue. Can you share about your setup or provide a minimal example project that highlights the issue?

tonihei avatar Aug 29 '24 11:08 tonihei

Hey @harshit23897. We need more information to resolve this issue but there hasn't been an update in 14 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

google-oss-bot avatar Sep 18 '24 01:09 google-oss-bot

Since there haven't been any recent updates here, I am going to close this issue.

@harshit23897 if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.

google-oss-bot avatar Sep 26 '24 01:09 google-oss-bot