react-native-screen-blocker 1.0.5 → 1.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-screen-blocker",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "React Native module to block screenshots and screen recording on Android and iOS",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -29,12 +29,16 @@
29
29
  },
30
30
  "homepage": "http://ipznjozqaslv001.pwcglb.com/anweshan_mukherjee/react-native-screen-blocker#readme",
31
31
  "react-native": {
32
- "android": {
33
- "packageImportPath": "import com.screenblocker.ScreenBlockerPackage;",
34
- "packageInstance": "new ScreenBlockerPackage()"
35
- },
36
- "ios": {
37
- "podspecPath": "ios/react-native-screen-blocker.podspec"
32
+ "dependency": {
33
+ "platforms": {
34
+ "android": {
35
+ "packageImportPath": "import com.screenblocker.ScreenBlockerPackage;",
36
+ "packageInstance": "new ScreenBlockerPackage()"
37
+ },
38
+ "ios": {
39
+ "podspecPath": "ios/react-native-screen-blocker.podspec"
40
+ }
41
+ }
38
42
  }
39
43
  }
40
44
  }
@@ -1,8 +1,13 @@
1
1
  module.exports = {
2
2
  dependency: {
3
- android: {
4
- packageImportPath: 'import com.screenblocker.ScreenBlockerPackage;',
5
- packageInstance: 'new ScreenBlockerPackage()',
3
+ platforms: {
4
+ android: {
5
+ packageImportPath: 'import com.screenblocker.ScreenBlockerPackage;',
6
+ packageInstance: 'new ScreenBlockerPackage()',
7
+ },
8
+ ios: {
9
+ podspecPath: 'ios/react-native-screen-blocker.podspec',
10
+ },
6
11
  },
7
12
  },
8
13
  };