dylancom / react-native-is-screen-captured-ios Goto Github PK
View Code? Open in Web Editor NEWDetect if the system is recording, mirroring, or using AirPlay to stream the contents of the screen.
License: MIT License
Detect if the system is recording, mirroring, or using AirPlay to stream the contents of the screen.
License: MIT License
Is this supported for Electron app on Mac?
Hi, i saw isCaptured == true called 2 times inside useeffect, can u help?
I saw this log on my app start:
Possible Unhandled Promise Rejection (id: 0):
TypeError: undefined is not a function
TypeError: undefined is not a function
at ?anon_0_ (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:285387:73)
at next (native)
at asyncGeneratorStep (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:1277:26)
at _next (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:1296:29)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:1301:14)
at tryCallTwo (/root/react-native/ReactAndroid/hermes-engine/.cxx/Release/2q6r403w/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:61:9)
at doResolve (/root/react-native/ReactAndroid/hermes-engine/.cxx/Release/2q6r403w/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:216:25)
at Promise (/root/react-native/ReactAndroid/hermes-engine/.cxx/Release/2q6r403w/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:82:14)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:1293:25)
at apply (native)
at _setInitialState (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:285390:38)
at apply (native)
at setInitialState (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:285383:38)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:285392:22)
at commitHookEffectListMount (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:71926:38)
at commitPassiveMountOnFiber (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:72952:44)
at commitPassiveMountEffects_complete (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:72924:40)
at commitPassiveMountEffects_begin (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:72914:47)
at commitPassiveMountEffects (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:72904:40)
at flushPassiveEffectsImpl (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:74098:34)
at flushPassiveEffects (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:74058:43)
at performSyncWorkOnRoot (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:73547:28)
at flushSyncCallbacks (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:64928:36)
at flushSyncCallbacksOnlyInLegacyMode (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:64913:29)
at batchedUpdates$1 (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:73587:47)
at batchedUpdates (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:62923:36)
at _receiveRootNodeIDEvent (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:62991:23)
at receiveEvent (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:63014:32)
at apply (native)
at __callFunction (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:4818:36)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:4579:31)
at __guard (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:4769:15)
at callFunctionReturnFlushedQueue (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:4578:21)
After open the localhost log, navigate to line 285387
, I saw this:
Can u fixed this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.