react-native-screenshot-aware 1.3.6 → 1.3.7

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.
@@ -31,25 +31,8 @@ def getExtOrIntegerDefault(name) {
31
31
  return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties["ScreenshotAware_" + name]).toInteger()
32
32
  }
33
33
 
34
- def supportsNamespace() {
35
- def parsed = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION.tokenize('.')
36
- def major = parsed[0].toInteger()
37
- def minor = parsed[1].toInteger()
38
-
39
- // Namespace support was added in 7.3.0
40
- return (major == 7 && minor >= 3) || major >= 8
41
- }
42
-
43
34
  android {
44
- if (supportsNamespace()) {
45
- namespace "com.screenshotaware"
46
-
47
- sourceSets {
48
- main {
49
- manifest.srcFile "src/main/AndroidManifestNew.xml"
50
- }
51
- }
52
- }
35
+ namespace "com.screenshotaware"
53
36
 
54
37
  compileSdkVersion getExtOrIntegerDefault("compileSdkVersion")
55
38
 
@@ -105,11 +88,3 @@ dependencies {
105
88
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
106
89
  implementation "com.google.android.play:review:2.0.1"
107
90
  }
108
-
109
- if (isNewArchitectureEnabled()) {
110
- react {
111
- jsRootDir = file("../src/")
112
- libraryName = "ScreenshotAware"
113
- codegenJavaPackageName = "com.screenshotaware"
114
- }
115
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-screenshot-aware",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
4
  "description": "React Native module for real-time screenshot detection on Android and iOS",
5
5
  "source": "src/index.tsx",
6
6
  "main": "lib/commonjs/index.js",
@@ -61,18 +61,18 @@
61
61
  "registry": "https://registry.npmjs.org/"
62
62
  },
63
63
  "devDependencies": {
64
- "@biomejs/biome": "2.1.4",
64
+ "@biomejs/biome": "2.2.2",
65
65
  "@commitlint/cli": "19.8.1",
66
66
  "@commitlint/config-conventional": "19.8.1",
67
67
  "@react-native-community/cli": "18.0.0",
68
68
  "@semantic-release/changelog": "6.0.3",
69
69
  "@semantic-release/git": "10.0.1",
70
- "@testing-library/react-native": "13.2.2",
70
+ "@testing-library/react-native": "13.3.1",
71
71
  "@types/jest": "30.0.0",
72
72
  "@types/react": "19.0.10",
73
73
  "commitlint": "19.8.1",
74
74
  "del-cli": "6.0.0",
75
- "expo": "53.0.17",
75
+ "expo": "53.0.20",
76
76
  "husky": "9.1.7",
77
77
  "jest": "30.0.5",
78
78
  "react": "19.0.0",
@@ -80,7 +80,7 @@
80
80
  "react-native-builder-bob": "0.40.13",
81
81
  "react-test-renderer": "19.0.0",
82
82
  "semantic-release": "24.2.7",
83
- "turbo": "2.5.5",
83
+ "turbo": "2.5.6",
84
84
  "typescript": "5.9.2"
85
85
  },
86
86
  "peerDependencies": {
@@ -95,7 +95,7 @@
95
95
  "workspaces": [
96
96
  "example"
97
97
  ],
98
- "packageManager": "yarn@4.9.2",
98
+ "packageManager": "yarn@4.9.3",
99
99
  "jest": {
100
100
  "preset": "react-native",
101
101
  "modulePathIgnorePatterns": [