GitHub user breautek added a comment to the discussion: Cordova VS Android 
System Webview

If you have ruled out the 3 potential problems, and you have the products data 
in memory, then that suggests the problem is perhaps in rendering.

So you should confirm that:

1. The HTML is actually in place. Whether it's all the `div` or `table` nodes, 
or whatever is used to render your products is actually is seen in the 
document. If the HTML for your products view is completely missing, then that 
indicates that whatever is responsible for rendering that HTML is not doing it 
some reason.
2. And if the HTML does look right, is your HTML nodes is receiving all the 
proper CSS to style your view properly?
3. Is there another HTML node overlapping the products view? An easy way to 
test for this is to use the "Pick" option

![image](https://github.com/user-attachments/assets/34a9f075-6035-4a6a-afbc-9ee348fdc5e6)

While Pick tool is active, click on the area that should be rendering the 
product view and it should pick the HTML node representing the Product. If it's 
picking something else completely unrelated, then that suggests you have a DOM 
node overlapping your products view.

It's pretty rare to have view related issues across webview versions, as the 
DOM api is very stable... but it's not completely unheard of especially if the 
app is using more modern view/css features.

The art of debugging is determining your expectation (e.g. I should be seeing 
products on screen) and determining the actual behaviour (e.g. no products on 
screen) and then trace the path it takes to get products on the screen, ruling 
out things along the way. So far we've determined that:

1. Network appears to be working.
2. Loading code seems to load data into memory
3. We don't know if associated HTML actually being produced and determining 
that will guide you to where you should be looking (e.g. HTML producing code, 
vs styling code)

GitHub link: 
https://github.com/apache/cordova/discussions/523#discussioncomment-12095925

----
This is an automatically sent email for issues@cordova.apache.org.
To unsubscribe, please send an email to: issues-unsubscr...@cordova.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to