@shopware-ag/dive 1.16.26-beta.1 → 1.16.26-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopware-ag/dive",
3
- "version": "1.16.26-beta.1",
3
+ "version": "1.16.26-beta.2",
4
4
  "description": "Shopware Spatial Framework",
5
5
  "type": "module",
6
6
  "main": "./build/dive.cjs",
package/src/ar/AR.ts CHANGED
@@ -110,7 +110,15 @@ export class DIVEAR {
110
110
  encodeURIComponent(modelUrl.toString()),
111
111
  );
112
112
 
113
- const intent = `intent://arvr.google.com/scene-viewer/1.0?${
113
+ const version = '1.0';
114
+
115
+ console.log('USING SCENE VIEWER');
116
+ console.log('version:', version);
117
+ console.log('params:', params.toString());
118
+ console.log('modelUrl:', modelUrl.toString());
119
+ console.log('locationUrl:', locationUrl.toString());
120
+
121
+ const intent = `intent://arvr.google.com/scene-viewer/${version}?${
114
122
  params.toString() + '&file=' + modelUrl.toString()
115
123
  }#Intent;scheme=https;package=com.google.android.googlequicksearchbox;action=android.intent.action.VIEW;S.browser_fallback_url=${encodeURIComponent(
116
124
  locationUrl.toString(),