react-native-local-network-info 1.0.0 → 1.0.1
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/LICENSE +1 -1
- package/android/build.gradle +2 -2
- package/ios/LocalNetworkInfo.podspec +1 -1
- package/package.json +7 -3
package/LICENSE
CHANGED
package/android/build.gradle
CHANGED
|
@@ -4,7 +4,7 @@ plugins {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
group = 'com.localnetworkinfo'
|
|
7
|
-
version = '
|
|
7
|
+
version = '1.0.0'
|
|
8
8
|
|
|
9
9
|
// compileSdk (36), minSdk (24), targetSdk (36), Kotlin (2.0.21) and the
|
|
10
10
|
// JVM toolchain (17) are supplied by the `expo-module-gradle-plugin`.
|
|
@@ -12,7 +12,7 @@ android {
|
|
|
12
12
|
namespace 'com.localnetworkinfo'
|
|
13
13
|
defaultConfig {
|
|
14
14
|
versionCode 1
|
|
15
|
-
versionName '
|
|
15
|
+
versionName '1.0.0'
|
|
16
16
|
}
|
|
17
17
|
lintOptions {
|
|
18
18
|
abortOnError false
|
|
@@ -5,7 +5,7 @@ package = JSON.parse(File.read(File.join(__dir__, '..', 'package.json')))
|
|
|
5
5
|
Pod::Spec.new do |s|
|
|
6
6
|
s.name = 'LocalNetworkInfo'
|
|
7
7
|
s.version = package['version']
|
|
8
|
-
s.summary =
|
|
8
|
+
s.summary = 'Local IPv4 + WiFi/hotspot detection for React Native.'
|
|
9
9
|
s.description = package['description']
|
|
10
10
|
s.license = package['license']
|
|
11
11
|
s.author = package['author']
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-local-network-info",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Read a React Native device's own local IPv4 address and whether it is connected to WiFi or acting as a hotspot host, with live network-change events. Built with the Expo Modules API; works in bare React Native and Expo.",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"build": "tsc",
|
|
9
9
|
"clean": "rm -rf build",
|
|
10
10
|
"prepare": "tsc",
|
|
11
|
-
"prepublishOnly": "tsc"
|
|
11
|
+
"prepublishOnly": "npm run clean && tsc"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
14
14
|
"react-native",
|
|
@@ -29,7 +29,10 @@
|
|
|
29
29
|
"homepage": "https://github.com/daboss2003/react-native-local-network-info#readme",
|
|
30
30
|
"repository": {
|
|
31
31
|
"type": "git",
|
|
32
|
-
"url": "https://github.com/daboss2003/react-native-local-network-info"
|
|
32
|
+
"url": "git+https://github.com/daboss2003/react-native-local-network-info.git"
|
|
33
|
+
},
|
|
34
|
+
"bugs": {
|
|
35
|
+
"url": "https://github.com/daboss2003/react-native-local-network-info/issues"
|
|
33
36
|
},
|
|
34
37
|
"files": [
|
|
35
38
|
"build",
|
|
@@ -48,6 +51,7 @@
|
|
|
48
51
|
],
|
|
49
52
|
"peerDependencies": {
|
|
50
53
|
"expo": "*",
|
|
54
|
+
"expo-modules-core": "*",
|
|
51
55
|
"react": "*",
|
|
52
56
|
"react-native": "*"
|
|
53
57
|
},
|