-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add consumer proguard rules to prevent minification
- Loading branch information
Showing
6 changed files
with
30 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
modules/@shopify/checkout-sheet-kit/android/proguard-rules.pro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Keep the ObjectMapper and its methods | ||
-keep class com.fasterxml.jackson.databind.ObjectMapper { *; } | ||
|
||
# Keep Checkout Sheet Kit classes | ||
-keep class com.shopify.checkoutsheetkit.lifecycleevents.CheckoutCompletedEvent { *; } | ||
-keep class com.shopify.checkoutsheetkit.pixelevents.PixelEvent { *; } | ||
-keep class com.shopify.checkoutsheetkit.CheckoutException { *; } | ||
-keep class com.shopify.checkoutsheetkit.CheckoutExpiredException { *; } | ||
-keep class com.shopify.checkoutsheetkit.ClientException { *; } | ||
-keep class com.shopify.checkoutsheetkit.HttpException { *; } | ||
-keep class com.shopify.checkoutsheetkit.ConfigurationException { *; } | ||
-keep class com.shopify.checkoutsheetkit.CheckoutSheetKitException { *; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters