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

Checkout unable to give Camera permission to Tamara #113

Closed AsimNGI closed 3 months ago

AsimNGI commented 3 months ago

What area is the issue related to?

Checkout Sheet Kit

What version of the package are you using?

2.0.1

Reproducible sample code

No response

Steps to Reproduce

  1. Open Checkout
  2. Go with any installment plan, in my case it's Tamara.
  3. Tamara asks for ID Verification where the camera opens
  4. Checkout unable to give Camera Permissions to Tamara

Expected Behavior

Camera should open as Camera permission is already given and don't ask for camera permission again and again.

Actual Behavior

Unable to give Camera permission to Tamara & asking for permissions again & again. However Camera permission is already given

Screenshots/Videos/Log output

Asking for permission

Storefront domain

https://revibe.me/

kiftio commented 3 months ago

A new version has been released which exposes an onPermissionRequest() callback in the event processor.

You should now be able to implement that to grant access to the camera (and/or microphone) in the checkout WebView.

There's a basic implementation in the MobileBuyIntegration sample app