Shopify / checkout-sheet-kit-android

Shopify’s Checkout Sheet Kit makes it simple to perform a checkout inside your Android app.
MIT License
12 stars 3 forks source link

Add onPermissionRequest to allow clients to camera permissions for verification apps #114

Closed kiftio closed 4 months ago

kiftio commented 4 months ago

What changes are you making?

adds an onPermissionRequest() function to the CheckoutEventProcessor interface, to allow clients to grants permissions to camera/audio/other. This is required by some 3rd party apps to perform actions like verifying identity.

See https://github.com/Shopify/checkout-sheet-kit-android/issues/113

How to test

Open a web page that requires camera access via the sample app. Ensure the camera can be accessed.

Before you merge

[!IMPORTANT]


Checklist for releasing a new version - [x] I have bumped the version number in the [`build.gradle` file](https://github.com/Shopify/checkout-kit-android/blob/main/lib/build.gradle#L17) - [x] I have added a [Changelog](https://github.com/shopify/checkout-sheet-kit-android/blob/main/CHANGELOG.md) entry.

[!TIP] See the Contributing documentation for instructions on how to publish a new version of the library.