Enable WebView debugging in POS

Sam_Larkin
New Member
3 0 0

I am developing an app for POS and I am trying to enable WebView debugging after the update last week.

I used to do it this way:

https://community.shopify.com/c/Shopify-APIs-SDKs/Developing-POS-app/td-p/585592

 

however since the update I can't find the 'WebView Debugging' setting

0 Likes
awwdam
Shopify Staff
Shopify Staff
153 22 12

Hey @Sam_Larkin

Just wanted to send a quick reply here. I was able to reach out and chat with our Developer team, who confirmed that WebView Debugging was recently added as a feature to the most recent release of Shopify POS for Android. There is no longer an on/off toggle for this feature, as with prior versions, and has been enabled by default where available. 

-  Cheers!

awwdam | API Support @ Shopify
- Was my reply helpful? Click Like to let me 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

0 Likes
policenauts
Trailblazer
190 9 49

@awwdam can you please be more specific? I am using Android POS 4.5.0 and this feature no longer works. 

0 Likes
awwdam
Shopify Staff
Shopify Staff
153 22 12

Hey @policenauts,

Just took a look on the Google Play Store, and the most recent version of Shopify POS for Android is 4.6.0 - an update should do the trick!

awwdam | API Support @ Shopify
- Was my reply helpful? Click Like to let me 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

0 Likes
Sam_Larkin
New Member
3 0 0

It does appear that it has been enabled for some areas, When I go to log in I can open the debugger on the log in screen. However, when I go open one of my App's screens there is no debugger option for it.

0 Likes
awwdam
Shopify Staff
Shopify Staff
153 22 12

Hey @Sam_Larkin, can you DM me two screenshots showing where these functionalities differ depending on where you are? With this I can get better idea of what you are seeing and would be happy to take a closer look.

awwdam | API Support @ Shopify
- Was my reply helpful? Click Like to let me 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

0 Likes
Galmis
Tourist
8 0 1

Unfortunately, I can't get debugging to work on "Shopify POS" at all. I'm seeing a "WebView in com.shopify.mobile" option in chrome://inspect after opening my app view in "Shopify" Android app, but not "Shopify POS" Android app. 

Shopify POS app version - 4.12.0, Android version - 11.

 

0 Likes
dan__
Shopify Partner
2 0 4

Hi @awwdam Is there any update on this? It seems that WebView is not working correctly still. Could you ask the team again if there are any other conditions that need to be met to enable WebView with the POS app?

There seem to be a few other developers that are having an issue with getting WebView to work correctly too. https://shopifypartners.slack.com/archives/C4E5GV5U4/p1628797121188300

0 Likes