# Obfuscation with Bitmovin

**URL:** <https://community.bitmovin.com/t/obfuscation-with-bitmovin/1434>\
**Category:** Knowledge\
**Tags:** bitmovin-player, bitmovin-analytics, android, bitmovin\
**Created:** [October 24, 2022, 12:58am UTC](https://community.bitmovin.com/t/obfuscation-with-bitmovin/1434 "2022-10-24T00:58:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidy](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@davidy](https://community.bitmovin.com/u/davidy)\
**Post date:** [October 24, 2022, 12:58am UTC](https://community.bitmovin.com/t/obfuscation-with-bitmovin/1434/1 "2022-10-24T00:58:25Z")

</div>

I’m trying to apply minify to the release build. What are the lines needed in Proguard for Bitmovin to work?

- For player, I seem to need to add: -keep class com.bitmovin.player.\*\* { \*; }
- For analytics, I seem to need to add: -keep class com.bitmovin.analytics.\*\* { \*; }

Or, is this documented somewhere in Bitmovin?

---

<div class="post-metadata">

**Author:** ![peder.borg](https://sea1.discourse-cdn.com/flex015/user_avatar/community.bitmovin.com/peder.borg/32/357_2.png) [@peder.borg](https://community.bitmovin.com/u/peder.borg)\
**Post date:** [October 24, 2022, 6:33am UTC](https://community.bitmovin.com/t/obfuscation-with-bitmovin/1434/2 "2022-10-24T06:33:47Z")

</div>

Hi @davidy

Thank you for your question.

For player, we have documented Proguard in this readme section: [bitmovin-player-android-samples/README.md at main · bitmovin/bitmovin-player-android-samples · GitHub](https://github.com/bitmovin/bitmovin-player-android-samples/blob/main/README.md#proguard-configuration)

For analytics, you are correct, that adding the noted information is known to work:  
`-keep class com.bitmovin.analytics.data.** { *; }`

I hope this helps

BR  
Peder
