Skip to content

Commit ff01397

Browse files
authored
Updated the documentation to include optional proguard rules to ignore potential issues with transitive dependencies (#2791)
1 parent 0d1ceac commit ff01397

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Proguard.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ See [the `aws-android-sdk-core` package](aws-android-sdk-core/consumer-proguard-
88
If you are using other third-party libraries, you need to consult the documentation
99
for those libraries to see if they require additional configuration to support the use of ProGuard.
1010

11+
# (Optional) Additional proguard rules
12+
If you are facing warnings like `Warning: com.amazonaws.mobile.client.AWSMobileClient: can't find referenced class` you can ignore them by using the following in your proguard-rules.pro file
13+
14+
`
15+
-dontwarn com.amazonaws.mobileconnectors.cognitoauth.**
16+
-dontwarn com.amazonaws.mobile.auth.**
17+
`
18+
1119
## Additional Resources
1220

1321
The configuration provided in this article allows developers to ship apps using the AWS SDK for Android

0 commit comments

Comments
 (0)