Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

onesignal-expo-plugin

Package Overview
Dependencies
Maintainers
9
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

onesignal-expo-plugin - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

8

build/onesignal/withOneSignalIos.js

@@ -144,2 +144,6 @@ "use strict";

const xcodeProject = newConfig.modResults;
if (!!xcodeProject.pbxTargetByName(iosConstants_1.NSE_TARGET_NAME)) {
OneSignalLog_1.OneSignalLog.log(`${iosConstants_1.NSE_TARGET_NAME} already exists in project. Skipping...`);
return newConfig;
}
// Create new PBXGroup for the extension

@@ -162,6 +166,2 @@ const extGroup = xcodeProject.addPbxGroup([...iosConstants_1.NSE_EXT_FILES, iosConstants_1.NSE_SOURCE_FILE], iosConstants_1.NSE_TARGET_NAME, iosConstants_1.NSE_TARGET_NAME);

projObjects['PBXContainerItemProxy'] = projObjects['PBXTargetDependency'] || {};
if (!!xcodeProject.pbxTargetByName(iosConstants_1.NSE_TARGET_NAME)) {
OneSignalLog_1.OneSignalLog.log(`${iosConstants_1.NSE_TARGET_NAME} already exists in project. Skipping...`);
return newConfig;
}
// Add the NSE target

@@ -168,0 +168,0 @@ // This adds PBXTargetDependency and PBXContainerItemProxy for you

@@ -157,5 +157,10 @@ /**

if (!!xcodeProject.pbxTargetByName(NSE_TARGET_NAME)) {
OneSignalLog.log(`${NSE_TARGET_NAME} already exists in project. Skipping...`);
return newConfig;
}
// Create new PBXGroup for the extension
const extGroup = xcodeProject.addPbxGroup([...NSE_EXT_FILES, NSE_SOURCE_FILE], NSE_TARGET_NAME, NSE_TARGET_NAME);
// Add the new PBXGroup to the top level group. This makes the

@@ -178,7 +183,2 @@ // files / folder appear in the file explorer in Xcode.

if (!!xcodeProject.pbxTargetByName(NSE_TARGET_NAME)) {
OneSignalLog.log(`${NSE_TARGET_NAME} already exists in project. Skipping...`);
return newConfig;
}
// Add the NSE target

@@ -185,0 +185,0 @@ // This adds PBXTargetDependency and PBXContainerItemProxy for you

{
"name": "onesignal-expo-plugin",
"version": "2.0.1",
"version": "2.0.2",
"description": "The OneSignal Expo plugin allows you to use OneSignal without leaving the managed workflow. Developed in collaboration with SweetGreen.",

@@ -5,0 +5,0 @@ "main": "./app.plugin.js",

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