google / google/model-viewer

Scene viewer banner not being displayed for some parameters.

Open
#4,045 5 comments 0 reactions 1 assignee Claimed by @AdrianAtGoogle View on GitHub
flag: not model-viewer
Dominant language
TypeScript
Stars
8.2k
Forks
947
PR merge metrics
No merged PRs in 30d

Description

Use the below intent link URLs, one of them works perfectly and shows the information correctly in the AR banner, but the other one is not displaying the information.

This one works:

intent://arvr.google.com/scene-viewer/1.0?title=Replay%20Club%20Loveseat%20-%20Price%3A%20%242%2C999.00&link=https%3A%2F%2Fwebsite.pluto.eq3.com%2Fca%2Fen%2Fproduct%2Fck3ezp9ig24ll0178smmbpmkx%2Fliving%2Fseating%2Fsofas%2Freplay-club-loveseat-fabric-hs021-black-sand&file=http%3A%2F%2Fcontent.cylindo.com%2Fapi%2Fv2%2F4916%2Fproducts%2F30147-03%2FAR%2F30147-03.glb%3Ffeature%3DSIZE%3ACLUB%26feature%3DUPHOLSTERY%3AJI728%26feature%3DLEGS%3AHS021&mode=ar_only

This one is not working:

intent://arvr.google.com/scene-viewer/1.0?file=https%3A%2F%2Fcontent.cylindo.com%2Fapi%2Fv2%2F4916%2Fproducts%2F30147-03%2FAR%2FAR.glb%3Ffeature%3DSIZE%3ACLUB%26feature%3DUPHOLSTERY%3AJI728%26feature%3DLEGS%3AHS021&mode=ar_only&resizable=true&link=https%3A%2F%2Fwebsite.pluto.eq3.com%2Fca%2Fen%2Fproduct%2Fck3ezp9ig24ll0178smmbpmkx%2Fliving%2Fseating%2Fsofas%2Freplay-club-loveseat-fabric-hs021-black-sand&title=Replay%20Club%20Loveseat%20-%20Price%3A%20%242%2C999.00

It've checked and both have same parameters and structure, but this is weird that the first intent link shows the banner and the second one is not showing the banner

This is a live demo where you can check the behavior: https://pluto.eq3.com/ca/en/product/ck3ezql3m24mt0178z64nfs3v/living/seating/sofas/replay-club-loveseat-leather-hs021-bisque-sp?ck2z0vr4w02ri0142ez714agh=ck2z0vr5j02rk0142x5baqc4g&ck2z0vr4w02ri0142ez714agh%7CPrimaryColour=JI728&ck2z0vr4w02ri0142ez714agh%7CBaseLeg=HS021#

When you open it on desktop and tap the button View in AR, the QR code is displayed and when you scan it with your Android device, the banner is displayed correctly.

When you open the link directly in your Android device and tap the same button AR is triggered but the banner is not displayed.

### Version
Model viewer version doesn't apply since this is an error win Scene viewer

### Browser Affected

- [ X] Chrome, version: 108.0.5359.128 (Build oficial) (32 bits)

### OS

- [ X] Android

### AR
- [ ] WebXR
- [ X] SceneViewer
- [ ] QuickLook

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.