@vanikya/ota-react-native 0.1.3 → 0.1.4
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/android/build.gradle +5 -0
- package/ota-update.podspec +9 -4
- package/package.json +6 -8
- package/react-native.config.js +13 -0
package/android/build.gradle
CHANGED
|
@@ -7,6 +7,7 @@ apply plugin: 'kotlin-android'
|
|
|
7
7
|
|
|
8
8
|
android {
|
|
9
9
|
namespace "com.otaupdate"
|
|
10
|
+
|
|
10
11
|
compileSdkVersion safeExtGet('compileSdkVersion', 34)
|
|
11
12
|
|
|
12
13
|
defaultConfig {
|
|
@@ -34,6 +35,10 @@ android {
|
|
|
34
35
|
java.srcDirs = ['src/main/java']
|
|
35
36
|
}
|
|
36
37
|
}
|
|
38
|
+
|
|
39
|
+
lintOptions {
|
|
40
|
+
abortOnError false
|
|
41
|
+
}
|
|
37
42
|
}
|
|
38
43
|
|
|
39
44
|
repositories {
|
package/ota-update.podspec
CHANGED
|
@@ -6,16 +6,21 @@ Pod::Spec.new do |s|
|
|
|
6
6
|
s.name = "ota-update"
|
|
7
7
|
s.version = package["version"]
|
|
8
8
|
s.summary = package["description"]
|
|
9
|
-
s.homepage = package["
|
|
9
|
+
s.homepage = package["homepage"]
|
|
10
10
|
s.license = package["license"]
|
|
11
|
-
s.authors = { "
|
|
11
|
+
s.authors = { "Vanikya" => "support@vanikya.com" }
|
|
12
12
|
|
|
13
13
|
s.platforms = { :ios => "13.0" }
|
|
14
|
-
s.source = { :git => "https://github.com/
|
|
14
|
+
s.source = { :git => "https://github.com/vanikya/ota-update.git", :tag => "v#{s.version}" }
|
|
15
15
|
|
|
16
16
|
s.source_files = "ios/**/*.{h,m,mm,swift}"
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
# Use install_modules_dependencies for new architecture support
|
|
19
|
+
if respond_to?(:install_modules_dependencies, true)
|
|
20
|
+
install_modules_dependencies(s)
|
|
21
|
+
else
|
|
22
|
+
s.dependency "React-Core"
|
|
23
|
+
end
|
|
19
24
|
|
|
20
25
|
s.swift_version = "5.0"
|
|
21
26
|
end
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vanikya/ota-react-native",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "OTA Update SDK for React Native apps - self-hosted CodePush/EAS Updates alternative",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -10,9 +10,10 @@
|
|
|
10
10
|
"files": [
|
|
11
11
|
"src",
|
|
12
12
|
"lib",
|
|
13
|
-
"ios",
|
|
14
13
|
"android",
|
|
14
|
+
"ios",
|
|
15
15
|
"*.podspec",
|
|
16
|
+
"react-native.config.js",
|
|
16
17
|
"README.md"
|
|
17
18
|
],
|
|
18
19
|
"scripts": {
|
|
@@ -56,7 +57,9 @@
|
|
|
56
57
|
},
|
|
57
58
|
"peerDependencies": {
|
|
58
59
|
"react": ">=17.0.0",
|
|
59
|
-
"react-native": ">=0.70.0"
|
|
60
|
+
"react-native": ">=0.70.0",
|
|
61
|
+
"expo-file-system": ">=15.0.0",
|
|
62
|
+
"expo-crypto": ">=12.0.0"
|
|
60
63
|
},
|
|
61
64
|
"peerDependenciesMeta": {
|
|
62
65
|
"expo-file-system": {
|
|
@@ -74,10 +77,5 @@
|
|
|
74
77
|
"module",
|
|
75
78
|
"typescript"
|
|
76
79
|
]
|
|
77
|
-
},
|
|
78
|
-
"codegenConfig": {
|
|
79
|
-
"name": "OTAUpdateSpec",
|
|
80
|
-
"type": "modules",
|
|
81
|
-
"jsSrcsDir": "src"
|
|
82
80
|
}
|
|
83
81
|
}
|