Skip to content

Commit 5141ff1

Browse files
committed
update compileSdk, prevent "order": [Object], "transactions": [Array] in logs
1 parent fa0653e commit 5141ff1

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

modules/@shopify/checkout-sheet-kit/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ static def supportsNamespace() {
3434

3535
buildToolsVersion = "35.0.0"
3636
minSdkVersion = 23
37-
compileSdkVersion = 35
37+
compileSdkVersion = 36
3838
targetSdkVersion = 35
3939

4040
// We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.

modules/@shopify/checkout-sheet-kit/android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
minSdkVersion=23
22
targetSdkVersion=35
3-
compileSdkVersion=35
3+
compileSdkVersion=36
44
ndkVersion=23.1.7779620
55
buildToolsVersion = "35.0.0"
66

sample/src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,14 +172,14 @@ function AppWithContext({children}: PropsWithChildren) {
172172
});
173173

174174
const pixel = shopify.addEventListener('pixel', (event: PixelEvent) => {
175-
console.log('[CheckoutPixelEvent]', event.name, event);
175+
console.log('[CheckoutPixelEvent]', event.name, JSON.stringify(event, null, 2));
176176
});
177177

178178
const completed = shopify.addEventListener(
179179
'completed',
180180
(event: CheckoutCompletedEvent) => {
181181
console.log('[CheckoutCompletedEvent]', event.orderDetails.id);
182-
console.log('[CheckoutCompletedEvent]', event);
182+
console.log('[CheckoutCompletedEvent]', JSON.stringify(event, null, 2));
183183
},
184184
);
185185

0 commit comments

Comments
 (0)