Fatal errors with scanner.dispatch(Scanner.Action.OPEN_CAMERA)

keiraarts
Shopify Partner
53 7 9

Starting Friday, embedded app calls to scanner.dispatch(Scanner.Action.OPEN_CAMERA) closes the Shopify app.

Recreating the code from the Shopify tutorial will no longer work on test environments, live environments, and mobile optimized loading environments. I can't pull up the error logs because calling the OPEN_CAMERA action will crash the entire Shopify app instantly.

https://shopify.dev/docs/apps/tools/app-bridge/actions/scanner

Can someone please take a look, we're using the following packages.

"@shopify/app-bridge": "^3.4.3",
"@shopify/app-bridge-react": "^3.7.2",
"@shopify/app-bridge-utils": "^3.4.3",
"@shopify/polaris": "^10.16.1",

 

Head of space operations on the Shopify moon-base.
Building orderediting.com, viaGlamour.com, magicsoaps.ca
Replies 2 (2)

keiraarts
Shopify Partner
53 7 9

Can any engineer take a look?

Head of space operations on the Shopify moon-base.
Building orderediting.com, viaGlamour.com, magicsoaps.ca

ShopifyDevSup
Shopify Staff
1326 218 460

Hi @keiraarts,

 

Thanks for your post. 

 

The best place to get help with a potential bug with App Bridge is by submitting an issue on the Github Repository for App Bridge. This keeps it public and will also add visibility for other developers to engage with as well. 

 

Thanks - Shopify Developer Support

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog