Obfuscation with Bitmovin

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?

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

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

I hope this helps