New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cordova-plugin-webxr

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-webxr - npm Package Compare versions

Comparing version 1.17.2 to 1.17.3

XRViewer/ARKController/ARKController.swift

2

package.json
{
"name": "cordova-plugin-webxr",
"version": "1.17.2",
"version": "1.17.3",
"description": "WebXR Plugin",

@@ -5,0 +5,0 @@ "cordova": {

@@ -5,9 +5,3 @@ const fs = require( 'fs' );

module.exports = function( ctx ) {
var CP = ctx.requireCordovaModule('cordova-common/src/ConfigParser/ConfigParser');
var rootDir = path.join( ctx.opts.plugin.dir, 'XRViewer' );
var projectName = ctx.opts.plugin.pluginInfo.getPreferences( 'ios' ).PRODUCT_MODULE_NAME;
if ( projectName == " " ) {
projectName = new CP( path.join( ctx.opts.projectRoot, 'config.xml' ) ).name();
}

@@ -23,3 +17,2 @@ var replaceInDir = dir => {

data = data.replace( /= .fade/, '= kCATransitionFade' );
data = data.replace( /\w+-Swift/, projectName.replace(' ','_') + '-Swift' )
fs.writeFileSync( file, data, 'utf8' );

@@ -26,0 +19,0 @@ }

@@ -39,2 +39,5 @@ # Cordova WebXR Plugin

- **CAMERA_USAGE_DESCRIPTION**: Describes to user why camera access is required
- Default: `This app uses the camera for augmented reality`
To set these options, specify them when adding the plugin, e.g:

@@ -50,9 +53,3 @@

There are also some additional parameters that can be overridden:
- **CAMERA_USAGE_DESCRIPTION**: Describes why camera access is required. Default: `This app uses the camera for augmented reality`
- **PRODUCT_MODULE_NAME**: If the Product Module Name in the iOS Target Build Settings differs from the Cordova project name (e.g. when embedding a Cordova WebView into an existing app), the module name must be passed to this variable. If omitted, the app may not build.
## NOTE: Mozilla WebXR ≠ W3C WebXR (yet)

@@ -75,2 +72,2 @@ Mozilla is in the process of aligning [their version of the API](https://github.com/mozilla/webxr-polyfill/) with the [official draft W3C spec](https://www.w3.org/TR/webxr/).

This plugin is based on the source for Mozilla's WebXR Viewer ([webxr-ios@d3485fb](https://github.com/mozilla-mobile/webxr-ios/tree/d3485fb65fae52bcfb925cf5feeecca0f66f6f47))
This plugin is based on the source for Mozilla's WebXR Viewer ([webxr-ios@c91decb](https://github.com/mozilla-mobile/webxr-ios/tree/c91decbecd11b0691f974fb5edc80a06b62cec11))

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc