Skip to content

Commit

Permalink
Fix missing parts of react-native-community/netinfo patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Kicu committed Jul 15, 2024
1 parent 39463bd commit 4e0eb1e
Showing 1 changed file with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2619,6 +2619,25 @@ index 6982220..b515270 100644
+ readonly eventEmitter: NativeEventEmitter;
};
export default _default;
diff --git a/node_modules/@react-native-community/netinfo/package.json b/node_modules/@react-native-community/netinfo/package.json
index 3c80db2..15d214d 100644
--- a/node_modules/@react-native-community/netinfo/package.json
+++ b/node_modules/@react-native-community/netinfo/package.json
@@ -97,6 +97,14 @@
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.11.3"
},
+ "codegenConfig": {
+ "name": "RNCNetInfoSpec",
+ "type": "modules",
+ "jsSrcsDir": "src/internal",
+ "android": {
+ "javaPackageName": "com.reactnativecommunity.netinfo"
+ }
+ },
"repository": {
"type": "git",
"url": "https://github.com/react-native-netinfo/react-native-netinfo.git"
diff --git a/node_modules/@react-native-community/netinfo/react-native-netinfo.podspec b/node_modules/@react-native-community/netinfo/react-native-netinfo.podspec
index e34e728..9090eb1 100644
--- a/node_modules/@react-native-community/netinfo/react-native-netinfo.podspec
Expand Down

0 comments on commit 4e0eb1e

Please sign in to comment.