You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

cordova-plugin-firebasex

Package Overview
Dependencies
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-firebasex - npm Package Compare versions

Comparing version

to
18.0.2

6

CHANGELOG.md

@@ -0,1 +1,7 @@

# Version 18.0.2
* bugfix: only apply new logic for cordova-ios@8 if platform is ios
- Resolves [#907](https://github.com/dpa99c/cordova-plugin-firebasex/issues/907)
- Introduced by [#896](https://github.com/dpa99c/cordova-plugin-firebasex/pull/896)
# Version 18.0.1

@@ -2,0 +8,0 @@ * feat(ios): prepare for cordova-ios 8 support - corrected app name

2

package.json
{
"name": "cordova-plugin-firebasex",
"version": "18.0.1",
"version": "18.0.2",
"description": "Cordova plugin for Google Firebase",

@@ -5,0 +5,0 @@ "types": "./types/index.d.ts",

@@ -7,2 +7,3 @@ /**

var parser = require('xml-js');
const cordova_ios = require("cordova-ios");

@@ -69,8 +70,12 @@ var _configXml, _pluginXml, _context, _pluginVariables;

Utilities.getAppName = function(){
const projectRoot = _context.opts.projectRoot;
const platformPath = path.join(projectRoot, 'platforms', 'ios');
const cordova_ios = require('cordova-ios');
const iosProject = new cordova_ios('ios', platformPath);
if(_context.opts.platforms.indexOf('ios') !== -1){
const projectRoot = _context.opts.projectRoot;
const platformPath = path.join(projectRoot, 'platforms', 'ios');
const cordova_ios = require('cordova-ios');
const iosProject = new cordova_ios('ios', platformPath);
return path.basename(iosProject.locations.xcodeCordovaProj);
return path.basename(iosProject.locations.xcodeCordovaProj);
}
// other platforms
return Utilities.parseConfigXml().widget.name._text.toString().trim();
};

@@ -77,0 +82,0 @@

Sorry, the diff of this file is not supported yet