expo-screen-capture 7.3.0-canary-20250729-d8899ae → 7.3.0-canary-20250811-5c940c0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -0
- package/android/build.gradle +2 -2
- package/expo-module.config.json +1 -1
- package/ios/ScreenCaptureModule.swift +15 -20
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/{7.3.0-canary-20250729-d8899ae/expo.modules.screencapture-7.3.0-canary-20250729-d8899ae.module → 7.3.0-canary-20250811-5c940c0/expo.modules.screencapture-7.3.0-canary-20250811-5c940c0.module} +7 -7
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/7.3.0-canary-20250811-5c940c0/expo.modules.screencapture-7.3.0-canary-20250811-5c940c0.module.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/7.3.0-canary-20250811-5c940c0/expo.modules.screencapture-7.3.0-canary-20250811-5c940c0.module.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/7.3.0-canary-20250811-5c940c0/expo.modules.screencapture-7.3.0-canary-20250811-5c940c0.module.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/7.3.0-canary-20250811-5c940c0/expo.modules.screencapture-7.3.0-canary-20250811-5c940c0.module.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/{7.3.0-canary-20250729-d8899ae/expo.modules.screencapture-7.3.0-canary-20250729-d8899ae.pom → 7.3.0-canary-20250811-5c940c0/expo.modules.screencapture-7.3.0-canary-20250811-5c940c0.pom} +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/7.3.0-canary-20250811-5c940c0/expo.modules.screencapture-7.3.0-canary-20250811-5c940c0.pom.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/7.3.0-canary-20250811-5c940c0/expo.modules.screencapture-7.3.0-canary-20250811-5c940c0.pom.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/7.3.0-canary-20250811-5c940c0/expo.modules.screencapture-7.3.0-canary-20250811-5c940c0.pom.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/7.3.0-canary-20250811-5c940c0/expo.modules.screencapture-7.3.0-canary-20250811-5c940c0.pom.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/maven-metadata.xml +4 -4
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/maven-metadata.xml.md5 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/maven-metadata.xml.sha1 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/maven-metadata.xml.sha256 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/maven-metadata.xml.sha512 +1 -1
- package/package.json +3 -3
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/7.3.0-canary-20250729-d8899ae/expo.modules.screencapture-7.3.0-canary-20250729-d8899ae.module.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/7.3.0-canary-20250729-d8899ae/expo.modules.screencapture-7.3.0-canary-20250729-d8899ae.module.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/7.3.0-canary-20250729-d8899ae/expo.modules.screencapture-7.3.0-canary-20250729-d8899ae.module.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/7.3.0-canary-20250729-d8899ae/expo.modules.screencapture-7.3.0-canary-20250729-d8899ae.module.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/7.3.0-canary-20250729-d8899ae/expo.modules.screencapture-7.3.0-canary-20250729-d8899ae.pom.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/7.3.0-canary-20250729-d8899ae/expo.modules.screencapture-7.3.0-canary-20250729-d8899ae.pom.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/7.3.0-canary-20250729-d8899ae/expo.modules.screencapture-7.3.0-canary-20250729-d8899ae.pom.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/7.3.0-canary-20250729-d8899ae/expo.modules.screencapture-7.3.0-canary-20250729-d8899ae.pom.sha512 +0 -1
- /package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/{7.3.0-canary-20250729-d8899ae/expo.modules.screencapture-7.3.0-canary-20250729-d8899ae-sources.jar → 7.3.0-canary-20250811-5c940c0/expo.modules.screencapture-7.3.0-canary-20250811-5c940c0-sources.jar} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/{7.3.0-canary-20250729-d8899ae/expo.modules.screencapture-7.3.0-canary-20250729-d8899ae-sources.jar.md5 → 7.3.0-canary-20250811-5c940c0/expo.modules.screencapture-7.3.0-canary-20250811-5c940c0-sources.jar.md5} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/{7.3.0-canary-20250729-d8899ae/expo.modules.screencapture-7.3.0-canary-20250729-d8899ae-sources.jar.sha1 → 7.3.0-canary-20250811-5c940c0/expo.modules.screencapture-7.3.0-canary-20250811-5c940c0-sources.jar.sha1} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/{7.3.0-canary-20250729-d8899ae/expo.modules.screencapture-7.3.0-canary-20250729-d8899ae-sources.jar.sha256 → 7.3.0-canary-20250811-5c940c0/expo.modules.screencapture-7.3.0-canary-20250811-5c940c0-sources.jar.sha256} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/{7.3.0-canary-20250729-d8899ae/expo.modules.screencapture-7.3.0-canary-20250729-d8899ae-sources.jar.sha512 → 7.3.0-canary-20250811-5c940c0/expo.modules.screencapture-7.3.0-canary-20250811-5c940c0-sources.jar.sha512} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/{7.3.0-canary-20250729-d8899ae/expo.modules.screencapture-7.3.0-canary-20250729-d8899ae.aar → 7.3.0-canary-20250811-5c940c0/expo.modules.screencapture-7.3.0-canary-20250811-5c940c0.aar} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/{7.3.0-canary-20250729-d8899ae/expo.modules.screencapture-7.3.0-canary-20250729-d8899ae.aar.md5 → 7.3.0-canary-20250811-5c940c0/expo.modules.screencapture-7.3.0-canary-20250811-5c940c0.aar.md5} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/{7.3.0-canary-20250729-d8899ae/expo.modules.screencapture-7.3.0-canary-20250729-d8899ae.aar.sha1 → 7.3.0-canary-20250811-5c940c0/expo.modules.screencapture-7.3.0-canary-20250811-5c940c0.aar.sha1} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/{7.3.0-canary-20250729-d8899ae/expo.modules.screencapture-7.3.0-canary-20250729-d8899ae.aar.sha256 → 7.3.0-canary-20250811-5c940c0/expo.modules.screencapture-7.3.0-canary-20250811-5c940c0.aar.sha256} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/{7.3.0-canary-20250729-d8899ae/expo.modules.screencapture-7.3.0-canary-20250729-d8899ae.aar.sha512 → 7.3.0-canary-20250811-5c940c0/expo.modules.screencapture-7.3.0-canary-20250811-5c940c0.aar.sha512} +0 -0
package/CHANGELOG.md
CHANGED
package/android/build.gradle
CHANGED
|
@@ -4,13 +4,13 @@ plugins {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
group = 'host.exp.exponent'
|
|
7
|
-
version = '7.3.0-canary-
|
|
7
|
+
version = '7.3.0-canary-20250811-5c940c0'
|
|
8
8
|
|
|
9
9
|
android {
|
|
10
10
|
namespace "expo.modules.screencapture"
|
|
11
11
|
defaultConfig {
|
|
12
12
|
versionCode 7
|
|
13
|
-
versionName '7.3.0-canary-
|
|
13
|
+
versionName '7.3.0-canary-20250811-5c940c0'
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
package/expo-module.config.json
CHANGED
|
@@ -115,43 +115,38 @@ public final class ScreenCaptureModule: Module {
|
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
private func preventScreenshots() {
|
|
118
|
-
guard let keyWindow = keyWindow
|
|
119
|
-
|
|
118
|
+
guard let keyWindow = keyWindow else {
|
|
119
|
+
return
|
|
120
|
+
}
|
|
120
121
|
|
|
121
122
|
let textField = UITextField()
|
|
122
123
|
textField.isSecureTextEntry = true
|
|
123
124
|
textField.isUserInteractionEnabled = false
|
|
124
|
-
textField.backgroundColor = UIColor.
|
|
125
|
+
textField.backgroundColor = UIColor.clear
|
|
126
|
+
textField.frame = UIScreen.main.bounds
|
|
125
127
|
|
|
126
|
-
originalParent =
|
|
128
|
+
originalParent = keyWindow.layer.superlayer
|
|
127
129
|
|
|
128
|
-
|
|
129
|
-
viewSuperlayer.addSublayer(textField.layer)
|
|
130
|
+
keyWindow.layer.superlayer?.addSublayer(textField.layer)
|
|
130
131
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
firstTextFieldSublayer.addSublayer(visibleView.layer)
|
|
135
|
-
}
|
|
132
|
+
if let firstTextFieldSublayer = textField.layer.sublayers?.first {
|
|
133
|
+
keyWindow.layer.removeFromSuperlayer()
|
|
134
|
+
firstTextFieldSublayer.addSublayer(keyWindow.layer)
|
|
136
135
|
}
|
|
137
136
|
|
|
138
137
|
protectionTextField = textField
|
|
139
138
|
}
|
|
140
139
|
|
|
141
140
|
private func allowScreenshots() {
|
|
142
|
-
guard let textField = protectionTextField
|
|
141
|
+
guard let textField = protectionTextField,
|
|
142
|
+
let window = keyWindow,
|
|
143
|
+
let originalParentLayer = originalParent else {
|
|
143
144
|
return
|
|
144
145
|
}
|
|
145
146
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
if let parent = originalParent {
|
|
149
|
-
parent.addSublayer(protectedLayer)
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
147
|
+
window.layer.removeFromSuperlayer()
|
|
148
|
+
originalParentLayer.addSublayer(window.layer)
|
|
153
149
|
textField.layer.removeFromSuperlayer()
|
|
154
|
-
|
|
155
150
|
protectionTextField = nil
|
|
156
151
|
originalParent = nil
|
|
157
152
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "host.exp.exponent",
|
|
5
5
|
"module": "expo.modules.screencapture",
|
|
6
|
-
"version": "7.3.0-canary-
|
|
6
|
+
"version": "7.3.0-canary-20250811-5c940c0",
|
|
7
7
|
"attributes": {
|
|
8
8
|
"org.gradle.status": "release"
|
|
9
9
|
}
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
{
|
|
27
|
-
"name": "expo.modules.screencapture-7.3.0-canary-
|
|
28
|
-
"url": "expo.modules.screencapture-7.3.0-canary-
|
|
27
|
+
"name": "expo.modules.screencapture-7.3.0-canary-20250811-5c940c0.aar",
|
|
28
|
+
"url": "expo.modules.screencapture-7.3.0-canary-20250811-5c940c0.aar",
|
|
29
29
|
"size": 28245,
|
|
30
30
|
"sha512": "5d693f6a83cc09074f42ae55d49f7cccfc0c2e1f024e43d866c285e18f0e37648ff966eb7507567538355f6d9f1b6c7d51f6eb45456dbe191ad41f3ae896f930",
|
|
31
31
|
"sha256": "8a9e3dca21a096209a62e8ce26c3733e57135f9d59a41eb237636ae81c744345",
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
],
|
|
61
61
|
"files": [
|
|
62
62
|
{
|
|
63
|
-
"name": "expo.modules.screencapture-7.3.0-canary-
|
|
64
|
-
"url": "expo.modules.screencapture-7.3.0-canary-
|
|
63
|
+
"name": "expo.modules.screencapture-7.3.0-canary-20250811-5c940c0.aar",
|
|
64
|
+
"url": "expo.modules.screencapture-7.3.0-canary-20250811-5c940c0.aar",
|
|
65
65
|
"size": 28245,
|
|
66
66
|
"sha512": "5d693f6a83cc09074f42ae55d49f7cccfc0c2e1f024e43d866c285e18f0e37648ff966eb7507567538355f6d9f1b6c7d51f6eb45456dbe191ad41f3ae896f930",
|
|
67
67
|
"sha256": "8a9e3dca21a096209a62e8ce26c3733e57135f9d59a41eb237636ae81c744345",
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
},
|
|
81
81
|
"files": [
|
|
82
82
|
{
|
|
83
|
-
"name": "expo.modules.screencapture-7.3.0-canary-
|
|
84
|
-
"url": "expo.modules.screencapture-7.3.0-canary-
|
|
83
|
+
"name": "expo.modules.screencapture-7.3.0-canary-20250811-5c940c0-sources.jar",
|
|
84
|
+
"url": "expo.modules.screencapture-7.3.0-canary-20250811-5c940c0-sources.jar",
|
|
85
85
|
"size": 3601,
|
|
86
86
|
"sha512": "080676e6818f1d063d27b7b460c49e34d7ebeae5e6a6e4c071840008b10a6beaafe0022467b6f556a1a190b22ae6b04ef87de7e7c2a74364b5af845efa1a6b05",
|
|
87
87
|
"sha256": "d2c5b19e0bb1ad883b35525cdce5c665213505bea5b758f0c0c44b735fc960eb",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
221a38b65322a288c001a626adad2ccc
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
b57c53f57d65ee012eb21691aa8e037d5306e07f
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
e56065a11bca9146778604d7a5d476f77249a1021e1a89bd08ff4d286e8fb501
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
86d651502027df8185e69e1aa7a0cf87e79507861d2958aa298658f960ef0f4cdc349d7d56346f3cc91c4ec442ff95ae3c8e10c049a6981b4fa44e8feffe101d
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<modelVersion>4.0.0</modelVersion>
|
|
10
10
|
<groupId>host.exp.exponent</groupId>
|
|
11
11
|
<artifactId>expo.modules.screencapture</artifactId>
|
|
12
|
-
<version>7.3.0-canary-
|
|
12
|
+
<version>7.3.0-canary-20250811-5c940c0</version>
|
|
13
13
|
<packaging>aar</packaging>
|
|
14
14
|
<name>expo.modules.screencapture</name>
|
|
15
15
|
<url>https://github.com/expo/expo</url>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
c6be9a1f7e5faade47b78ca924dae7a8
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
eb2aae6a4f65a496710115764778bb857502f673
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
a062f2eeb31b6f733526f6b3cf7e6ae5627b298686d2f39a4b6daa7c6ea81173
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
35e7286147e2c952f0204ce357ada73319921b820bb2cfe016e186e8b598d16eb73410d283025d9b6a460c94b4c8eb8c367b7619d5efe76704aa42021e4243ec
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<groupId>host.exp.exponent</groupId>
|
|
4
4
|
<artifactId>expo.modules.screencapture</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<latest>7.3.0-canary-
|
|
7
|
-
<release>7.3.0-canary-
|
|
6
|
+
<latest>7.3.0-canary-20250811-5c940c0</latest>
|
|
7
|
+
<release>7.3.0-canary-20250811-5c940c0</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>7.3.0-canary-
|
|
9
|
+
<version>7.3.0-canary-20250811-5c940c0</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20250811152903</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|
package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/maven-metadata.xml.md5
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
25032c5cc649b45027784af048bdb243
|
package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/maven-metadata.xml.sha1
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
c93443c525104ec3117e3621b6087345e75eab82
|
package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/maven-metadata.xml.sha256
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
32e4a8ecf3bcf3eb89edc5a73c722d90600ec5db59130e25743e5c181c739812
|
package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/maven-metadata.xml.sha512
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
c623b2ddabb5d5b8996588e895bd8831bee282f1a26f5d537392fb50099bd163184f3b4b577c115e0bc71460d69806588538826ee19cdc3045fa05d52bd86c05
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-screen-capture",
|
|
3
|
-
"version": "7.3.0-canary-
|
|
3
|
+
"version": "7.3.0-canary-20250811-5c940c0",
|
|
4
4
|
"description": "Protects screens in your app from being captured or recorded, and notifies if a screenshot is taken.",
|
|
5
5
|
"main": "build/ScreenCapture.js",
|
|
6
6
|
"types": "build/ScreenCapture.d.ts",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"dependencies": {},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@testing-library/react-native": "^13.1.0",
|
|
38
|
-
"expo-module-scripts": "4.1.
|
|
38
|
+
"expo-module-scripts": "4.1.11-canary-20250811-5c940c0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"expo": "54.0.0-canary-
|
|
41
|
+
"expo": "54.0.0-canary-20250811-5c940c0",
|
|
42
42
|
"react": "*"
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
f24b7ecf033b5a0f8c5110a7ee9e785b
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2e786ab217da1663a62ec60071d075a0839805c1
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
bc71ece50f4c497b636740a5af42e550991e184b9e8dc1b9218674f8974e77cc
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
a17312b2ba94b332f4d6e396a4a8409f3b184c974b6cef56af7400bd64953ae4cad2a1f6eeb84bd1be28db5aac6fa03995cda83412991aa52c0573bdce26107d
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1757e5e2c357fc57daaf06316a2efd6d
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
8975eded07c51eb982e18e324357f7685690b60c
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
e886a51a5a8630021ed40dadf07f0e0aaa502687129781ef876e9c13edd8071b
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
86da8292f4799256e7dff3bda835597411a1291a169c4be52c936f7afcd9429dc70d822e5fe742d29ead38b41ea60a3d40a8faae4e6ae98ca833c7985ba4a424
|
|
File without changes
|