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

@capacitor-community/privacy-screen

Package Overview
Dependencies
Maintainers
42
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@capacitor-community/privacy-screen - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0-dev.7073a39.1680890372

28

dist/docs.json

@@ -95,2 +95,30 @@ {

{
"name": "addListener",
"signature": "(eventName: 'screenshotTaken', listenerFunc: () => void) => Promise<PluginListenerHandle> & PluginListenerHandle",
"parameters": [
{
"name": "eventName",
"docs": "",
"type": "'screenshotTaken'"
},
{
"name": "listenerFunc",
"docs": "",
"type": "() => void"
}
],
"returns": "Promise<PluginListenerHandle> & PluginListenerHandle",
"tags": [
{
"name": "since",
"text": "3.2.0"
}
],
"docs": "Called when the screenshot is taken.\n\nOnly available on iOS for now.",
"complexTypes": [
"PluginListenerHandle"
],
"slug": "addlistenerscreenshottaken"
},
{
"name": "removeAllListeners",

@@ -97,0 +125,0 @@ "signature": "() => Promise<void>",

@@ -54,2 +54,10 @@ import type { PluginListenerHandle } from '@capacitor/core';

/**
* Called when the screenshot is taken.
*
* Only available on iOS for now.
*
* @since 3.2.0
*/
addListener(eventName: 'screenshotTaken', listenerFunc: () => void): Promise<PluginListenerHandle> & PluginListenerHandle;
/**
* Remove all listeners for this plugin.

@@ -56,0 +64,0 @@ *

12

package.json
{
"name": "@capacitor-community/privacy-screen",
"version": "3.1.0",
"version": "3.2.0-dev.7073a39.1680890372",
"description": "Capacitor plugin that protects your app from displaying a screenshot in Recents screen/App Switcher.",

@@ -48,7 +48,7 @@ "main": "dist/plugin.cjs.js",

"devDependencies": {
"@capacitor/android": "4.0.1",
"@capacitor/cli": "4.0.1",
"@capacitor/core": "4.0.1",
"@capacitor/android": "5.0.0-beta.1",
"@capacitor/cli": "5.0.0-beta.1",
"@capacitor/core": "5.0.0-beta.1",
"@capacitor/docgen": "0.2.0",
"@capacitor/ios": "4.0.1",
"@capacitor/ios": "5.0.0-beta.1",
"@ionic/eslint-config": "0.3.0",

@@ -67,3 +67,3 @@ "@ionic/prettier-config": "1.0.1",

"peerDependencies": {
"@capacitor/core": "^4.0.0"
"@capacitor/core": "^5.0.0-beta.1"
},

@@ -70,0 +70,0 @@ "prettier": "@ionic/prettier-config",

@@ -114,2 +114,3 @@ <p align="center"><br><img src="https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png" width="128" height="128" /></p>

* [`addListener('screenRecordingStopped', ...)`](#addlistenerscreenrecordingstopped)
* [`addListener('screenshotTaken', ...)`](#addlistenerscreenshottaken)
* [`removeAllListeners()`](#removealllisteners)

@@ -197,2 +198,24 @@ * [Interfaces](#interfaces)

### addListener('screenshotTaken', ...)
```typescript
addListener(eventName: 'screenshotTaken', listenerFunc: () => void) => Promise<PluginListenerHandle> & PluginListenerHandle
```
Called when the screenshot is taken.
Only available on iOS for now.
| Param | Type |
| ------------------ | ------------------------------ |
| **`eventName`** | <code>'screenshotTaken'</code> |
| **`listenerFunc`** | <code>() =&gt; void</code> |
**Returns:** <code>Promise&lt;<a href="#pluginlistenerhandle">PluginListenerHandle</a>&gt; & <a href="#pluginlistenerhandle">PluginListenerHandle</a></code>
**Since:** 3.2.0
--------------------
### removeAllListeners()

@@ -199,0 +222,0 @@

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