sk-zk/lookaround-map

"The panorama can't be loaded" when embedded inside app browser

Closed this issue · 6 comments

Hi,

Everything is working fine in iOS Safari but when I embed the page inside Capacitor, I get the following error:
"The panorama can't be loaded"

Do you have any idea what would the reason or error that's causing this issue? Is it something to do with Three JS or the canvas element? I have a Three JS app inside Capacitor and didn't have any problems.

I'm not familiar with Capacitor, sorry. Any console errors?

This is the console error I see

2024-05-14 at 18 50 00
2024-05-14 at 18 50 14

Do you have a stack trace? That function never gets called on my end

This is what I see when I expand the error. Do you have any idea why the t.image is undefined?

2024-05-14 at 21 01 39

You can see here that showError is called first. As best I can tell, this is only called if setPanorama fails to load the panorama faces, so you should take a look at those network calls next.

Thanks that solved the problem!