react-native-screen-blocker 1.0.1 → 1.0.3

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.
@@ -7,19 +7,19 @@ buildscript {
7
7
  }
8
8
 
9
9
  dependencies {
10
- classpath 'com.android.tools.build:gradle:1.3.1'
10
+ classpath 'com.android.tools.build:gradle:4.1.3'
11
11
  }
12
12
  }
13
13
 
14
14
  apply plugin: 'com.android.library'
15
15
 
16
16
  android {
17
- compileSdkVersion 23
18
- buildToolsVersion "23.0.1"
17
+ compileSdkVersion 31
18
+ buildToolsVersion "31.0.0"
19
19
 
20
20
  defaultConfig {
21
21
  minSdkVersion 16
22
- targetSdkVersion 22
22
+ targetSdkVersion 31
23
23
  versionCode 1
24
24
  versionName "1.0"
25
25
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-screen-blocker",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
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
+ };