Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 9f73332

Browse files
authored
Merge pull request #128 from daveo89/patch-1
Update README.md with Android ProGuard configuration
2 parents 6682390 + 385dbe1 commit 9f73332

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,13 @@ For this operation, the call timeout will be 30 seconds, and the other timeouts
173173
The default timeout should be sufficient for most use cases.
174174
However, depending on your network speed and distance, you may occasionally experience timeouts, in which case you can increase the timeout.
175175

176+
## Android
177+
178+
If you've enabled [Code shrinking](https://developer.android.com/build/shrink-code#shrink-code) using `minifyEnabled`, you need to add the following ProGuard configuration to keep R8 from incorrectly marking the SDK classes as unused.
179+
```text
180+
-keep class com.assemblyai.api.** { *; }
181+
```
182+
176183
## Contributing
177184
While we value open-source contributions to this SDK, this library
178185
is generated programmatically. Additions made directly to this library

0 commit comments

Comments
 (0)