Skip to content

Commit

Permalink
3.0.3 (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
markmur authored Aug 6, 2024
1 parent 63552c0 commit aaa64e2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 3.0.3 August 6, 2024

- Tag instrumentation with `preloading` state.

## 3.0.2 Jul 26, 2024

- Implements `onPermissionRequest()` to call a new `eventProcessor.onPermissionRequest(permissionRequest: PermissionRequest)` callback allowing clients to grant or deny permission requests, or request permissions (e.g. camera, record audio). This is sometimes required for checkouts that use features that require verifying identity.
Expand Down
2 changes: 1 addition & 1 deletion lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def resolveEnvVarValue(name, defaultValue) {
return rawValue ? rawValue : defaultValue
}

def versionName = resolveEnvVarValue("CHECKOUT_SHEET_KIT_VERSION", "3.0.2")
def versionName = resolveEnvVarValue("CHECKOUT_SHEET_KIT_VERSION", "3.0.3")

ext {
app_compat_version = '1.6.1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class CheckoutWebViewTest {
ShopifyCheckoutSheetKit.configuration.colorScheme = ColorScheme.Dark()
val view = CheckoutWebView.cacheableCheckoutView(URL, activity)

assertThat(view.settings.userAgentString).contains("ShopifyCheckoutSDK/3.0.2 ")
assertThat(view.settings.userAgentString).contains("ShopifyCheckoutSDK/3.0.3 ")
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class FallbackWebViewTest {
ShopifyCheckoutSheetKit.configuration.colorScheme = ColorScheme.Dark()
Robolectric.buildActivity(ComponentActivity::class.java).use { activityController ->
val view = FallbackWebView(activityController.get())
assertThat(view.settings.userAgentString).contains("ShopifyCheckoutSDK/3.0.2 ")
assertThat(view.settings.userAgentString).contains("ShopifyCheckoutSDK/3.0.3 ")
}
}

Expand Down

0 comments on commit aaa64e2

Please sign in to comment.