@expofp/react-native-efp-crowdconnected 0.1.9 → 0.1.10

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.
@@ -21,6 +21,16 @@ apply plugin: "kotlin-android"
21
21
 
22
22
  apply plugin: "com.facebook.react"
23
23
 
24
+ // This module is a legacy bridge (no TurboModule/Component spec), so package.json declares no
25
+ // `codegenConfig` — that keeps it out of iOS codegen discovery and out of New-Architecture C++
26
+ // autolinking (no dangling `react_codegen_*` target). Without `codegenConfig`, the library's
27
+ // codegen task would otherwise default its scan root to the whole package (`../`) and, in a
28
+ // workspace, aggregate other libraries' codegen (duplicate-class dex-merge failures). Pin the
29
+ // scan to `src` (which has no specs) so the generated schema stays empty.
30
+ react {
31
+ jsRootDir = file("../src")
32
+ }
33
+
24
34
  def getExtOrIntegerDefault(name) {
25
35
  return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties["ExpofpCrowdconnected_" + name]).toInteger()
26
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expofp/react-native-efp-crowdconnected",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "React Native wrapper for ExpoFP around CrowdConnected SDK",
5
5
  "keywords": [
6
6
  "react-native",
@@ -102,14 +102,6 @@
102
102
  "publishConfig": {
103
103
  "registry": "https://registry.npmjs.org/"
104
104
  },
105
- "codegenConfig": {
106
- "name": "ExpofpCrowdconnectedSpec",
107
- "type": "modules",
108
- "jsSrcsDir": "src",
109
- "android": {
110
- "javaPackageName": "com.expofpcrowdconnected"
111
- }
112
- },
113
105
  "create-react-native-library": {
114
106
  "languages": "kotlin-objc",
115
107
  "type": "turbo-module",