react-native-screen-blocker 1.0.2 → 1.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.
@@ -16,12 +16,14 @@ apply plugin: 'com.android.library'
16
16
  android {
17
17
  compileSdkVersion 31
18
18
  buildToolsVersion "31.0.0"
19
+ namespace 'com.screenblocker'
19
20
 
20
21
  defaultConfig {
21
22
  minSdkVersion 16
22
23
  targetSdkVersion 31
23
24
  versionCode 1
24
25
  versionName "1.0"
26
+ applicationId "com.screenblocker"
25
27
  }
26
28
  lintOptions {
27
29
  abortOnError false
@@ -1,6 +1,7 @@
1
-
1
+ <?xml version="1.0" encoding="utf-8"?>
2
2
  <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
- package="com.reactlibrary">
3
+ package="com.screenblocker">
4
4
 
5
- </manifest>
6
-
5
+ <!-- No specific permissions or activities needed for this module -->
6
+
7
+ </manifest>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-screen-blocker",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "React Native module to block screenshots and screen recording on Android and iOS",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -0,0 +1,8 @@
1
+ module.exports = {
2
+ dependency: {
3
+ android: {
4
+ packageImportPath: 'import com.screenblocker.ScreenBlockerPackage;',
5
+ packageInstance: 'new ScreenBlockerPackage()',
6
+ },
7
+ },
8
+ };