Skip to content

Commit

Permalink
docs(readme): add proguard section
Browse files Browse the repository at this point in the history
  • Loading branch information
ridvanaltun committed Sep 6, 2022
1 parent 34a5aef commit 9e106c8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
- [Getting Started](#getting-started)
- [Other Required Steps](#other-required-steps)
- [Android](#android)
- [Proguard](#proguard)
- [iOS](#ios)
- [Requesting Permissions](#requesting-permissions)
- [Getting Permissions](#getting-permissions)
Expand Down Expand Up @@ -113,6 +114,16 @@ buildscript {
}
```

##### Proguard

If you're using Proguard, make sure to add rules below:

```
-keepclassmembers class ai.deepar.ar.DeepAR { *; }
-keepclassmembers class ai.deepar.ar.core.videotexture.VideoTextureAndroidJava { *; }
-keep class ai.deepar.ar.core.videotexture.VideoTextureAndroidJava
```

#### iOS

1. Open your project's `Info.plist` and add the following lines:
Expand Down

0 comments on commit 9e106c8

Please sign in to comment.