All Projects → blend → React Native Screenshot Detector

blend / React Native Screenshot Detector

Licence: mit
Screenshot detection in React Native (iOS only)

Projects that are alternatives of or similar to React Native Screenshot Detector

Danneskjold Theme
Beautiful high-contrast emacs theme
Stars: ✭ 26 (-48%)
Mutual labels:  screenshot
Fileshare
Debian/Ubuntu applet for screenshots and images sharing using popular online services
Stars: ✭ 35 (-30%)
Mutual labels:  screenshot
Beetle
Shake to create Bug Report on GitHub, GitLab and Azure DevOps!
Stars: ✭ 45 (-10%)
Mutual labels:  screenshot
Mac2imgur
⬆ A simple Mac app designed to make uploading images and screenshots to Imgur quick and effortless.
Stars: ✭ 914 (+1728%)
Mutual labels:  screenshot
Svg Screenshot
リンクもまるごとキャプチャしてSVGで出力するChromeスクリーンショット拡張機能
Stars: ✭ 31 (-38%)
Mutual labels:  screenshot
Jsdom Screenshot
📸 Take screenshots of jsdom with puppeteer
Stars: ✭ 39 (-22%)
Mutual labels:  screenshot
Screenshotframes
A small CSS library for adding responsive frames (mobile device, desktop computer, or browser toolbar) to images
Stars: ✭ 18 (-64%)
Mutual labels:  screenshot
Docs
The API for generating high quality images from HTML/CSS.
Stars: ✭ 49 (-2%)
Mutual labels:  screenshot
Ghpr.nunit
Adapter for NUnit 3 (generate HTML report for NUnit 3)
Stars: ✭ 33 (-34%)
Mutual labels:  screenshot
Chart To Aws
Microservice to generate screenshot from a webpage and upload it to a AWS S3 Bucket.
Stars: ✭ 43 (-14%)
Mutual labels:  screenshot
Pybrowserstack Screenshots
api wrapper and python client for Browserstack Screenshots, including phantomCSS support
Stars: ✭ 27 (-46%)
Mutual labels:  screenshot
Headless
Create a virtual X screen from Ruby, record videos and take screenshots.
Stars: ✭ 951 (+1802%)
Mutual labels:  screenshot
Cbt Tunnel Nodejs
Node.js module for Local Connections to crossbrowsertesting.com
Stars: ✭ 39 (-22%)
Mutual labels:  screenshot
Protractor Pretty Html Reporter
A jasmine reporter that produces an easy to use html report to analyze protractor test results.
Stars: ✭ 9 (-82%)
Mutual labels:  screenshot
Dark Mode Screenshot
This Puppeteer script takes a 📷 screenshot of a webpage in 🌞 Light and 🌒 Dark Mode.
Stars: ✭ 47 (-6%)
Mutual labels:  screenshot
Capella Tray
Upload screenshots instantly to Capella and get link directly to clipboard
Stars: ✭ 23 (-54%)
Mutual labels:  screenshot
Gowitness
🔍 gowitness - a golang, web screenshot utility using Chrome Headless
Stars: ✭ 996 (+1892%)
Mutual labels:  screenshot
Grabzit
GrabzIt enables you to convert HTML and URL's into JPG's, PNG's, DOCX's, PDF's and more. Transform online videos into animated GIF's or convert HTML tables to JSON, CSV and Excel spreadsheets.
Stars: ✭ 49 (-2%)
Mutual labels:  screenshot
Yaxg
capture and record your screen with callbacks
Stars: ✭ 47 (-6%)
Mutual labels:  screenshot
Image Screenshot
download an image node along with its css properties
Stars: ✭ 40 (-20%)
Mutual labels:  screenshot

react-native-screenshot-detector

Note: this project is designed to work with the newer version of React Native library imports, i.e. React Native >= 0.40.0

Getting started

$ npm install react-native-screenshot-detector --save

$ react-native link react-native-screenshot-detector

Usage

iOS

#import <RNScreenshotDetector/RNScreenshotDetector.h>

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
  // ... setup code

  // Somewhere React Native will have placed something like
  RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL...]

  // Somewhere below this you can setup the screenshot detector to listen for events
  RNScreenshotDetector* screenshotDetector = [[RNScreenshotDetector alloc] init];
  [screenshotDetector setupAndListen:rootView.bridge];
}

In JS

import * as ScreenshotDetector from 'react-native-screenshot-detector';

// Subscribe callback to screenshots:
this.eventEmitter = ScreenshotDetector.subscribe(function() { ... });

// Unsubscribe later (a good place would be componentWillUnmount)
ScreenshotDetector.unsubscribe(this.eventEmitter);
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].