diff --git a/components/ViroSurface.tsx b/components/ViroSurface.tsx index eb699131..ce066ae9 100644 --- a/components/ViroSurface.tsx +++ b/components/ViroSurface.tsx @@ -96,7 +96,7 @@ export class ViroSurface extends ViroBase { } var VRTSurface = requireNativeComponent( - "VRTQuad", + "ViroSurface", // @ts-ignore ViroSurface, { diff --git a/dist/components/Viro3DObject.js b/dist/components/Viro3DObject.js index 93497595..0fdcef4f 100644 --- a/dist/components/Viro3DObject.js +++ b/dist/components/Viro3DObject.js @@ -33,7 +33,6 @@ class Viro3DObject extends ViroBase_1.ViroBase { (0, ViroProps_1.checkMisnamedProps)("Viro3DObject", this.props); const modelsrc = resolveAssetSource(this.props.source); const resources = this.props.resources?.map((resource) => resolveAssetSource(resource)); - console.log("RESOURCES", resources); // Since materials and transformBehaviors can be either a string or an array, convert the string to a 1-element array. const materials = typeof this.props.materials === "string" ? [this.props.materials] diff --git a/dist/components/ViroSurface.js b/dist/components/ViroSurface.js index d381b273..fd7f973f 100644 --- a/dist/components/ViroSurface.js +++ b/dist/components/ViroSurface.js @@ -96,7 +96,7 @@ class ViroSurface extends ViroBase_1.ViroBase { } } exports.ViroSurface = ViroSurface; -var VRTSurface = (0, react_native_1.requireNativeComponent)("VRTQuad", +var VRTSurface = (0, react_native_1.requireNativeComponent)("ViroSurface", // @ts-ignore ViroSurface, { nativeOnly: { diff --git a/dist/plugins/withViroAndroid.js b/dist/plugins/withViroAndroid.js index 3ab4deb6..fd57e2fd 100644 --- a/dist/plugins/withViroAndroid.js +++ b/dist/plugins/withViroAndroid.js @@ -92,7 +92,7 @@ const withViroAppBuildGradle = (config) => (0, config_plugins_1.withAppBuildGrad implementation project(':arcore_client') implementation project(path: ':react_viro') implementation project(path: ':viro_renderer') - implementation 'com.google.android.exoplayer:exoplayer:2.7.1' + implementation 'com.google.android.exoplayer:exoplayer:2.17.1' implementation 'com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-7'`); return config; }); @@ -117,8 +117,6 @@ const withViroManifest = (config) => (0, config_plugins_1.withAndroidManifest)(c }); if (viroPluginConfig.includes("GVR") || viroPluginConfig.includes("OVR_MOBILE")) { - console.log(contents?.manifest?.application?.[0]?.activity[0]["intent-filter"][0] - .category); // // contents?.manifest?.application?.[0]?.activity[0]["intent-filter"][0].category.push({ @@ -133,8 +131,6 @@ const withViroManifest = (config) => (0, config_plugins_1.withAndroidManifest)(c "android:name": "com.google.intent.category.DAYDREAM", }, }); - console.log(contents?.manifest?.application?.[0]?.activity[0]["intent-filter"][0] - .category); } contents.manifest.queries = [ { diff --git a/plugins/withViroAndroid.ts b/plugins/withViroAndroid.ts index 231f5fb3..81d5de83 100644 --- a/plugins/withViroAndroid.ts +++ b/plugins/withViroAndroid.ts @@ -140,7 +140,7 @@ const withViroAppBuildGradle = (config: ExpoConfig) => implementation project(':arcore_client') implementation project(path: ':react_viro') implementation project(path: ':viro_renderer') - implementation 'com.google.android.exoplayer:exoplayer:2.7.1' + implementation 'com.google.android.exoplayer:exoplayer:2.17.1' implementation 'com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-7'` ); return config;