react-native-roxit-code-scanner 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.
@@ -9,15 +9,15 @@
9
9
  // }
10
10
  //}
11
11
 
12
- def isNewArchitectureEnabled() {
13
- return rootProject.hasProperty("newArchEnabled") && rootProject.getProperty("newArchEnabled") == "true"
14
- }
12
+ //def isNewArchitectureEnabled() {
13
+ // return rootProject.hasProperty("newArchEnabled") && rootProject.getProperty("newArchEnabled") == "true"
14
+ //}
15
15
 
16
16
  apply plugin: 'com.android.library'
17
17
 
18
- if (isNewArchitectureEnabled()) {
19
- apply plugin: 'com.facebook.react'
20
- }
18
+ //if (isNewArchitectureEnabled()) {
19
+ // apply plugin: 'com.facebook.react'
20
+ //}
21
21
 
22
22
  def getExtOrDefault(name) {
23
23
  return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties['RoxitCodeScanner_' + name]
@@ -33,7 +33,7 @@ android {
33
33
  defaultConfig {
34
34
  minSdkVersion getExtOrIntegerDefault('minSdkVersion')
35
35
  targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
36
- buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
36
+ //buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
37
37
  }
38
38
  buildTypes {
39
39
  release {
@@ -129,10 +129,10 @@ dependencies {
129
129
  // From node_modules
130
130
  }
131
131
 
132
- if (isNewArchitectureEnabled()) {
133
- react {
134
- jsRootDir = file("../src/")
135
- libraryName = "RoxitCodeScanner"
136
- codegenJavaPackageName = "com.roxitcodescanner"
137
- }
138
- }
132
+ //if (isNewArchitectureEnabled()) {
133
+ // react {
134
+ // jsRootDir = file("../src/")
135
+ // libraryName = "RoxitCodeScanner"
136
+ // codegenJavaPackageName = "com.roxitcodescanner"
137
+ // }
138
+ //}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-roxit-code-scanner",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Broadcast code scanner receiver",
5
5
  "main": "index.js",
6
6
  "scripts": {