expo-screen-capture 58.0.2 → 58.0.4
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 +6 -4
- package/android/build.gradle +2 -2
- package/expo-module.config.json +0 -1
- package/ios/ScreenCaptureModule.swift +4 -4
- package/ios/SecureWindowCanvas.swift +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/{58.0.2/expo.modules.screencapture-58.0.2.module → 58.0.4/expo.modules.screencapture-58.0.4.module} +9 -9
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/58.0.4/expo.modules.screencapture-58.0.4.module.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/58.0.4/expo.modules.screencapture-58.0.4.module.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/58.0.4/expo.modules.screencapture-58.0.4.module.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/58.0.4/expo.modules.screencapture-58.0.4.module.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/{58.0.2/expo.modules.screencapture-58.0.2.pom → 58.0.4/expo.modules.screencapture-58.0.4.pom} +3 -3
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/58.0.4/expo.modules.screencapture-58.0.4.pom.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/58.0.4/expo.modules.screencapture-58.0.4.pom.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/58.0.4/expo.modules.screencapture-58.0.4.pom.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/58.0.4/expo.modules.screencapture-58.0.4.pom.sha512 +1 -0
- package/package.json +4 -4
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/58.0.2/expo.modules.screencapture-58.0.2.module.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/58.0.2/expo.modules.screencapture-58.0.2.module.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/58.0.2/expo.modules.screencapture-58.0.2.module.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/58.0.2/expo.modules.screencapture-58.0.2.module.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/58.0.2/expo.modules.screencapture-58.0.2.pom.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/58.0.2/expo.modules.screencapture-58.0.2.pom.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/58.0.2/expo.modules.screencapture-58.0.2.pom.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/58.0.2/expo.modules.screencapture-58.0.2.pom.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/maven-metadata.xml +0 -13
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/maven-metadata.xml.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/maven-metadata.xml.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/maven-metadata.xml.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/maven-metadata.xml.sha512 +0 -1
- /package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/{58.0.2/expo.modules.screencapture-58.0.2-sources.jar → 58.0.4/expo.modules.screencapture-58.0.4-sources.jar} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/{58.0.2/expo.modules.screencapture-58.0.2-sources.jar.md5 → 58.0.4/expo.modules.screencapture-58.0.4-sources.jar.md5} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/{58.0.2/expo.modules.screencapture-58.0.2-sources.jar.sha1 → 58.0.4/expo.modules.screencapture-58.0.4-sources.jar.sha1} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/{58.0.2/expo.modules.screencapture-58.0.2-sources.jar.sha256 → 58.0.4/expo.modules.screencapture-58.0.4-sources.jar.sha256} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/{58.0.2/expo.modules.screencapture-58.0.2-sources.jar.sha512 → 58.0.4/expo.modules.screencapture-58.0.4-sources.jar.sha512} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/{58.0.2/expo.modules.screencapture-58.0.2.aar → 58.0.4/expo.modules.screencapture-58.0.4.aar} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/{58.0.2/expo.modules.screencapture-58.0.2.aar.md5 → 58.0.4/expo.modules.screencapture-58.0.4.aar.md5} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/{58.0.2/expo.modules.screencapture-58.0.2.aar.sha1 → 58.0.4/expo.modules.screencapture-58.0.4.aar.sha1} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/{58.0.2/expo.modules.screencapture-58.0.2.aar.sha256 → 58.0.4/expo.modules.screencapture-58.0.4.aar.sha256} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/{58.0.2/expo.modules.screencapture-58.0.2.aar.sha512 → 58.0.4/expo.modules.screencapture-58.0.4.aar.sha512} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## 58.0.4
|
|
4
4
|
|
|
5
|
-
###
|
|
5
|
+
### Patch Changes
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
- Force-bump all packages, due to migration to changesets. ([#50762](https://github.com/expo/expo/pull/50762) by [@kitten](https://github.com/kitten))
|
|
8
|
+
|
|
9
|
+
## 58.0.3 — 2026-09-25
|
|
8
10
|
|
|
9
11
|
### 🐛 Bug fixes
|
|
10
12
|
|
|
11
|
-
|
|
13
|
+
- [iOS] Sized the screenshot and recording blockers from the window they protect rather than the device's main screen, so they still cover the content on a two-display device such as iPhone Duo. ([#50570](https://github.com/expo/expo/pull/50570) by [@alanjhughes](https://github.com/alanjhughes))
|
|
12
14
|
|
|
13
15
|
## 58.0.2 — 2026-09-23
|
|
14
16
|
|
package/android/build.gradle
CHANGED
package/expo-module.config.json
CHANGED
|
@@ -96,8 +96,8 @@ public final class ScreenCaptureModule: Module {
|
|
|
96
96
|
let visibleView = keyWindow.subviews.first else { return }
|
|
97
97
|
let blockView = getOrCreateBlockView()
|
|
98
98
|
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
if keyWindow.screen.isCaptured {
|
|
100
|
+
blockView.frame = visibleView.bounds
|
|
101
101
|
visibleView.addSubview(blockView)
|
|
102
102
|
} else {
|
|
103
103
|
blockView.removeFromSuperview()
|
|
@@ -114,9 +114,9 @@ public final class ScreenCaptureModule: Module {
|
|
|
114
114
|
private func getOrCreateBlockView() -> UIView {
|
|
115
115
|
guard let blockView else {
|
|
116
116
|
let view = UIView()
|
|
117
|
-
let boundLength = max(UIScreen.main.bounds.size.width, UIScreen.main.bounds.size.height)
|
|
118
|
-
view.frame = CGRect(x: 0, y: 0, width: boundLength, height: boundLength)
|
|
119
117
|
view.backgroundColor = .black
|
|
118
|
+
// The view is cached, so let it track its superview instead of a fixed size.
|
|
119
|
+
view.autoresizingMask = [.flexibleWidth, .flexibleHeight]
|
|
120
120
|
|
|
121
121
|
self.blockView = view
|
|
122
122
|
return view
|
|
@@ -21,7 +21,7 @@ internal final class SecureWindowCanvas {
|
|
|
21
21
|
textField.isSecureTextEntry = true
|
|
22
22
|
textField.isUserInteractionEnabled = false
|
|
23
23
|
textField.backgroundColor = .clear
|
|
24
|
-
textField.frame =
|
|
24
|
+
textField.frame = window.bounds
|
|
25
25
|
|
|
26
26
|
originalParent.addSublayer(textField.layer)
|
|
27
27
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "host.exp.exponent",
|
|
5
5
|
"module": "expo.modules.screencapture",
|
|
6
|
-
"version": "58.0.
|
|
6
|
+
"version": "58.0.4",
|
|
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-58.0.
|
|
28
|
-
"url": "expo.modules.screencapture-58.0.
|
|
27
|
+
"name": "expo.modules.screencapture-58.0.4.aar",
|
|
28
|
+
"url": "expo.modules.screencapture-58.0.4.aar",
|
|
29
29
|
"size": 29348,
|
|
30
30
|
"sha512": "04a2a223409319c2ab64e82889a83288300305c8d5d0f1a28d7f29038b29b279706a88c2034b57e1e95b8b5ae97ad5a177cbcdcaba3d3fe93056f239106ce0e6",
|
|
31
31
|
"sha256": "07c5349490875eead06f18712d6664bf65cd01e8cf41c08c0cb04b9a0b4275be",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"group": "org.jetbrains.kotlin",
|
|
48
48
|
"module": "kotlin-stdlib-jdk7",
|
|
49
49
|
"version": {
|
|
50
|
-
"requires": "2.2.
|
|
50
|
+
"requires": "2.2.10"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
{
|
|
@@ -68,14 +68,14 @@
|
|
|
68
68
|
"group": "io.github.expo.pika",
|
|
69
69
|
"module": "pika-api",
|
|
70
70
|
"version": {
|
|
71
|
-
"requires": "1.
|
|
71
|
+
"requires": "1.1.0"
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
],
|
|
75
75
|
"files": [
|
|
76
76
|
{
|
|
77
|
-
"name": "expo.modules.screencapture-58.0.
|
|
78
|
-
"url": "expo.modules.screencapture-58.0.
|
|
77
|
+
"name": "expo.modules.screencapture-58.0.4.aar",
|
|
78
|
+
"url": "expo.modules.screencapture-58.0.4.aar",
|
|
79
79
|
"size": 29348,
|
|
80
80
|
"sha512": "04a2a223409319c2ab64e82889a83288300305c8d5d0f1a28d7f29038b29b279706a88c2034b57e1e95b8b5ae97ad5a177cbcdcaba3d3fe93056f239106ce0e6",
|
|
81
81
|
"sha256": "07c5349490875eead06f18712d6664bf65cd01e8cf41c08c0cb04b9a0b4275be",
|
|
@@ -94,8 +94,8 @@
|
|
|
94
94
|
},
|
|
95
95
|
"files": [
|
|
96
96
|
{
|
|
97
|
-
"name": "expo.modules.screencapture-58.0.
|
|
98
|
-
"url": "expo.modules.screencapture-58.0.
|
|
97
|
+
"name": "expo.modules.screencapture-58.0.4-sources.jar",
|
|
98
|
+
"url": "expo.modules.screencapture-58.0.4-sources.jar",
|
|
99
99
|
"size": 3324,
|
|
100
100
|
"sha512": "decfb6fdaa793ebdaaa21da7940941f796c3e70813ce82b7d6c6708a3b17a13d468d08240aac8ed05454eb6d959d721b319ed9049d080ba4b1939aaa9d3e342a",
|
|
101
101
|
"sha256": "32e1c335f58c7b5a3a9336d9d39f1a06948d99f947264355d089331fde3ac53d",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4904d8f69a22c8c051eb52fd445971dd
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
9665199ca3af64acb4d2254c3b3cdaa11b5e4bae
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
b4dc2b322607877e8368335a0c02765ccc9a97d33bfabc74934022162734d05c
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
62356d66b7b3e9ebb2590417d463e4747bc6dc4d6961253174b661ea62144cc1842a105e3d9b184b48d21915c4c14864cc93f275a9baf686e1dce0ad5a3ff141
|
|
@@ -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>58.0.
|
|
12
|
+
<version>58.0.4</version>
|
|
13
13
|
<packaging>aar</packaging>
|
|
14
14
|
<name>expo.modules.screencapture</name>
|
|
15
15
|
<url>https://github.com/expo/expo</url>
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
<dependency>
|
|
41
41
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
42
42
|
<artifactId>kotlin-stdlib-jdk7</artifactId>
|
|
43
|
-
<version>2.2.
|
|
43
|
+
<version>2.2.10</version>
|
|
44
44
|
<scope>runtime</scope>
|
|
45
45
|
</dependency>
|
|
46
46
|
<dependency>
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
<dependency>
|
|
59
59
|
<groupId>io.github.expo.pika</groupId>
|
|
60
60
|
<artifactId>pika-api</artifactId>
|
|
61
|
-
<version>1.
|
|
61
|
+
<version>1.1.0</version>
|
|
62
62
|
<scope>runtime</scope>
|
|
63
63
|
</dependency>
|
|
64
64
|
</dependencies>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
dad256bf4127dc6e276de3021a6fd128
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0e0b2b5fc562b3a35e9412ec494d462843959f62
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
70118034bfcbbef173bc30c9b8cc6046e4059dd7282fa95fac4390d40ed4695b
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
f8ea8ca0f11a15a3eb9f789f9b72525b4b92c959d364f5023ec925194af783110631820e498b0c41bcbbffc495eacc4c1f27d9eecf927122edc6d5e18611b192
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-screen-capture",
|
|
3
|
-
"version": "58.0.
|
|
3
|
+
"version": "58.0.4",
|
|
4
4
|
"description": "Protects screens in your app from being captured or recorded, and notifies if a screenshot is taken.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"expo",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@testing-library/react-native": "^13.3.0",
|
|
26
26
|
"@types/react": "~19.3.0",
|
|
27
|
-
"expo": "58.0.0
|
|
28
|
-
"expo-module-scripts": "56.0.
|
|
27
|
+
"expo": "58.0.0",
|
|
28
|
+
"expo-module-scripts": "56.0.4"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"expo": "*",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"jest": {
|
|
35
35
|
"preset": "expo-module-scripts"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "8aeb4368d396d2d71a2fc8c652c4d1d4d53ed858",
|
|
38
37
|
"scripts": {
|
|
38
|
+
"precompile-android": "et prebuild-android-package-for-publish",
|
|
39
39
|
"build": "expo-build src",
|
|
40
40
|
"clean": "expo-module clean",
|
|
41
41
|
"lint": "oxlint --config oxlint.config.mjs .",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
d9112a64070ac1a7693f62b47ad23628
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
9bca3117b7e4443dda2e3562536954d15aa2d7f8
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2c7b37387f25a19f0d88a89d2f27e687d0b3b5135f9aae975b0e7aa816591382
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2c7736a45c49f6f13d0e587edc64797366b60d047673790490f158682754dcb4dd8aea61c60a4f89489a11488eb090272f94fd637036bfd36f77585e5f32b0d4
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
a54fc4cf7cbe8643ed5a2b007e52d4de
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
c086981763c523a91ce7b58d1360b6f2de552197
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
349c9e0aea4d6932e2c42cb051ba7712c6b0eb25b0cebeb044a50160ea924685
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
a7c918f78f656718520cefbfaddcefea28a1b548394502a0fb9a89046ba99f215d904e75b222aa886f777c73d36c2fa53601bc13ebcf47549c116f5c508e7447
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<metadata>
|
|
3
|
-
<groupId>host.exp.exponent</groupId>
|
|
4
|
-
<artifactId>expo.modules.screencapture</artifactId>
|
|
5
|
-
<versioning>
|
|
6
|
-
<latest>58.0.2</latest>
|
|
7
|
-
<release>58.0.2</release>
|
|
8
|
-
<versions>
|
|
9
|
-
<version>58.0.2</version>
|
|
10
|
-
</versions>
|
|
11
|
-
<lastUpdated>20260923154008</lastUpdated>
|
|
12
|
-
</versioning>
|
|
13
|
-
</metadata>
|
package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/maven-metadata.xml.md5
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
fa8be650af2f690f7c20f864d4a000fd
|
package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/maven-metadata.xml.sha1
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
b26c336416b6b800e94f3cc69e115e735ecbaf66
|
package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/maven-metadata.xml.sha256
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
f6236ed027910cace1b6023ec68b013a432d09162ef999e1841352ce4241a066
|
package/local-maven-repo/host/exp/exponent/expo.modules.screencapture/maven-metadata.xml.sha512
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
524e85f3d6a722def0c421808def3535be215201d4120807d43ed239e1a336fac81d5bf6e04016b31da2f7f688b787f388441f3ed7d0496ef5bb3d2a3b1b5d05
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|