@shopware-ag/dive 1.16.26-beta.0 → 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/build/dive.cjs +14 -4
- package/build/dive.cjs.map +1 -1
- package/build/dive.js +14 -4
- package/build/dive.js.map +1 -1
- package/package.json +1 -1
- package/src/ar/AR.ts +9 -1
- package/src/dive.ts +6 -2
package/package.json
CHANGED
package/src/ar/AR.ts
CHANGED
|
@@ -110,7 +110,15 @@ export class DIVEAR {
|
|
|
110
110
|
encodeURIComponent(modelUrl.toString()),
|
|
111
111
|
);
|
|
112
112
|
|
|
113
|
-
const
|
|
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(),
|
package/src/dive.ts
CHANGED
|
@@ -292,13 +292,17 @@ export default class DIVE {
|
|
|
292
292
|
},
|
|
293
293
|
};
|
|
294
294
|
|
|
295
|
+
console.log(`DIVE ${pkgjson.version} initialized successfully!`);
|
|
296
|
+
if (process.env.DIVE_NODE_ENV === 'development') {
|
|
297
|
+
console.log('DIVE is running in development mode.');
|
|
298
|
+
}
|
|
295
299
|
console.log(`
|
|
296
300
|
@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@
|
|
297
301
|
@@@@+-:::::::---------------------==------------------------------=#@@@@
|
|
298
302
|
@@%=::::.......::---------------------------------------------------------+@@
|
|
299
303
|
@@+:::...........::-----------------------------------------------------------#@@
|
|
300
|
-
|
|
301
|
-
|
|
304
|
+
@@=:::.........::::::-------------------------------------------------------------%@
|
|
305
|
+
@%:::.......:::::::-----------------------------------------------------------------#@
|
|
302
306
|
@*:::.....:::::-----------------------------------------------------------------------*@
|
|
303
307
|
@%::::::.::::---------------------------------------------------------------------------@@
|
|
304
308
|
@@-:::::::::-----------------------------------------------------------------------------=@
|