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

cordova-plugin-apple-watch

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-apple-watch - npm Package Compare versions

Comparing version 0.8.8 to 0.9.0

2

package.json
{
"name": "cordova-plugin-apple-watch",
"version": "0.8.8",
"version": "0.9.0",
"author": "Lee Crossley <leee@hotmail.co.uk> (http://ilee.co.uk/)",

@@ -5,0 +5,0 @@ "description": "Cordova / PhoneGap Plugin for the Apple Watch (WatchKit) to allow in memory and lightweight json object message passing over named queues from a Cordova app to Apple Watch (and vice versa).",

@@ -225,2 +225,12 @@ ## Apple Watch Plugin for Apache Cordova [![npm version](https://badge.fury.io/js/cordova-plugin-apple-watch.svg)](http://badge.fury.io/js/cordova-plugin-apple-watch)

### getUserDefaults
Allows retrieval of user default data.
```js
applewatch.getUserDefaults(successHandler, errorHandler, "myKey", appGroupId);
```
The app bundleId will be used for identification by default, prefixed by "group." if `appGroupId` is not supplied.
## Live demo

@@ -227,0 +237,0 @@

@@ -43,2 +43,10 @@

AppleWatch.prototype.getUserDefaults = function (onSuccess, onError, key, appGroupId) {
var payload = {
"key": key,
"appGroupId": appGroupId
};
exec(onSuccess, onError, "AppleWatch", "getUserDefaults", [payload]);
};
AppleWatch.prototype.addListener = function (queueName, onMessage) {

@@ -45,0 +53,0 @@ var wrappedOnMessage = function (message) {

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