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

onesignal-cordova-plugin-pgb-compat

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

onesignal-cordova-plugin-pgb-compat - npm Package Compare versions

Comparing version 1.11.2 to 1.12.3

src/ios/OneSignalLocation.h

0

Example/www/js/index.js

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /**

2

package.json
{
"version": "1.11.2",
"version": "1.12.3",
"name": "onesignal-cordova-plugin-pgb-compat",

@@ -4,0 +4,0 @@ "cordova_name": "OneSignal Push Notifications Compat",

@@ -0,1 +1,2 @@

var OneSingal_launchString = "";

@@ -5,11 +6,15 @@ var OneSignal_JSBridge = new OneSignalSDK_WP_WNS_WRTC.WinJSBridge();

// Process launch args from cold start
launchArgs = require('cordova/platform').activationContext;
if(launchArgs) {
if (launchArgs.type === "activated" && launchArgs.args != "")
OneSingal_launchString = launchArgs.args;
}
// Process launch args from warn start
function onActivatedHandler(args) {
if (args.detail.kind === Windows.ApplicationModel.Activation.ActivationKind.launch) {
if (OneSignal_app_id === null)
OneSingal_launchString = args.detail.arguments;
else
OneSignal_JSBridge.init(OneSignal_app_id, args.detail.arguments);
}
if (args.detail.kind === Windows.ApplicationModel.Activation.ActivationKind.launch)
OneSignal_JSBridge.init(OneSignal_app_id, args.detail.arguments);
}
WinJS.Application.addEventListener("activated", onActivatedHandler, false);

@@ -70,2 +75,4 @@

postNotification: function (successCallback, errorCallback, params) { },
promptLocation: function (successCallback, errorCallback, params) { },
setEmail: function (successCallback, errorCallback, params) { },
setLogLevel: function (successCallback, errorCallback, params) { }

@@ -72,0 +79,0 @@ };

@@ -0,0 +0,0 @@ /**

/**
* Modified MIT License
*
* Copyright 2015 OneSignal
* Copyright 2016 OneSignal
*

@@ -109,2 +109,10 @@ * Permission is hereby granted, free of charge, to any person obtaining a copy

OneSignal.prototype.promptLocation = function() {
cordova.exec(function(){}, function(){}, "OneSignalPush", "promptLocation", []);
};
OneSignal.prototype.setEmail = function(email) {
cordova.exec(function(){}, function(){}, "OneSignalPush", "setEmail", [email]);
};
OneSignal.prototype.setLogLevel = function(logLevel) {

@@ -111,0 +119,0 @@ cordova.exec(function(){}, function(){}, "OneSignalPush", "setLogLevel", [logLevel]);

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