File tree Expand file tree Collapse file tree 6 files changed +30
-11
lines changed
modules/@shopify/checkout-sheet-kit Expand file tree Collapse file tree 6 files changed +30
-11
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 3.1.2 - November 4, 2024
4+
5+ - Add ` consumerProguardRules ` build.gradle option to prevent minification of
6+ classes in release builds.
7+
38## 3.1.1 - November 1, 2024
49
510- Logs invalid JSON for lifecycle events
Original file line number Diff line number Diff line change @@ -60,9 +60,16 @@ android {
6060 }
6161
6262 buildTypes {
63- release {
63+ debug {
6464 minifyEnabled false
6565 }
66+
67+ release {
68+ minifyEnabled true
69+
70+ // Rules in consumerProguardFiles are automatically included in the ProGuard configuration of any application that uses the library
71+ consumerProguardFiles ' proguard-rules.pro'
72+ }
6673 }
6774
6875 lintOptions {
Original file line number Diff line number Diff line change 1+ # Keep the ObjectMapper and its methods
2+ -keep class com.fasterxml.jackson.databind.ObjectMapper { *; }
3+
4+ # Keep Checkout Sheet Kit classes
5+ -keep class com.shopify.checkoutsheetkit.lifecycleevents.CheckoutCompletedEvent { *; }
6+ -keep class com.shopify.checkoutsheetkit.pixelevents.PixelEvent { *; }
7+ -keep class com.shopify.checkoutsheetkit.CheckoutException { *; }
8+ -keep class com.shopify.checkoutsheetkit.CheckoutExpiredException { *; }
9+ -keep class com.shopify.checkoutsheetkit.ClientException { *; }
10+ -keep class com.shopify.checkoutsheetkit.HttpException { *; }
11+ -keep class com.shopify.checkoutsheetkit.ConfigurationException { *; }
12+ -keep class com.shopify.checkoutsheetkit.CheckoutSheetKitException { *; }
Original file line number Diff line number Diff line change 11{
22 "name" : " @shopify/checkout-sheet-kit" ,
33 "license" : " MIT" ,
4- "version" : " 3.1.1 " ,
4+ "version" : " 3.1.2 " ,
55 "main" : " lib/commonjs/index.js" ,
66 "types" : " src/index.ts" ,
77 "source" : " src/index.ts" ,
Original file line number Diff line number Diff line change @@ -53,11 +53,6 @@ react {
5353 hermesFlags = [" -O" , " -output-source-map" ]
5454}
5555
56- /**
57- * Set this to true to Run Proguard on Release builds to minify the Java bytecode.
58- */
59- def enableProguardInReleaseBuilds = false
60-
6156/**
6257 * The preferred build flavor of JavaScriptCore (JSC)
6358 *
@@ -115,8 +110,8 @@ android {
115110 }
116111 release {
117112 signingConfig signingConfigs. release
118- minifyEnabled enableProguardInReleaseBuilds
119- proguardFiles getDefaultProguardFile( " proguard-android.txt " ), " proguard-rules.pro"
113+ minifyEnabled true
114+ proguardFiles " proguard-rules.pro"
120115 }
121116 }
122117}
Original file line number Diff line number Diff line change @@ -1235,7 +1235,7 @@ PODS:
12351235 - ReactCommon/turbomodule/bridging
12361236 - ReactCommon/turbomodule/core
12371237 - Yoga
1238- - RNShopifyCheckoutSheetKit (3.1.0 ):
1238+ - RNShopifyCheckoutSheetKit (3.1.1 ):
12391239 - React-Core
12401240 - ShopifyCheckoutSheetKit (~> 3.1.1)
12411241 - RNVectorIcons (10.0.3):
@@ -1524,7 +1524,7 @@ SPEC CHECKSUMS:
15241524 RNGestureHandler: 9b113eb9b7a4cbe66e1dbf4d9914281863ee0703
15251525 RNReanimated: d534e0114e2c3e7011550a78ecf2d0b431435a60
15261526 RNScreens: 23dad53fc9db1da2c93e647ae33fd7ce2bd49d60
1527- RNShopifyCheckoutSheetKit: 3d854ed7fe1bc96eab4718819ee79d33488066bc
1527+ RNShopifyCheckoutSheetKit: 0fb6aa9fe539a331f313d8e009ecb1917fc6c103
15281528 RNVectorIcons: 50ea777efffdd991a22e968aa312d75da7ff46c3
15291529 ShopifyCheckoutSheetKit: fe309799b18b8d554f28c3f075d6d57d4811c9ab
15301530 SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
You can’t perform that action at this time.
0 commit comments