Skip to content

Commit 606ad6e

Browse files
committed
add note on minification for android
1 parent ddc1067 commit 606ad6e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/millicast.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,16 @@ const source: MillicastSource = {
4646
};
4747
```
4848

49+
50+
## Note on minification on Android
51+
52+
When adding the Millicast integration into your android project, make sure to add the following keep rule in your `proguard-rules.pro` file:
53+
```
54+
-keep class kotlin.** { *; }
55+
```
56+
57+
Otherwise, you will encounter a `ClassNotFoundException` when attempting to run the application.
58+
4959
## More information
5060

5161
- [API references](https://theoplayer.github.io/react-native-theoplayer/api/interfaces/MillicastSource.html)

0 commit comments

Comments
 (0)