@adadapted/react-native-sdk 3.5.5 → 4.0.0
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.
|
@@ -4,16 +4,30 @@ package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
|
4
4
|
|
|
5
5
|
Pod::Spec.new do |s|
|
|
6
6
|
s.name = "adadapted-react-native-sdk"
|
|
7
|
-
|
|
7
|
+
# Strip any prerelease suffix (e.g. the semantic-release placeholder
|
|
8
|
+
# "0.0.0-development"). CocoaPods' default ">= 0" requirement does not match
|
|
9
|
+
# prerelease versions, which breaks local `:path` installs of this pod.
|
|
10
|
+
# NOTE: this also flattens genuine prerelease tags (e.g. "3.6.0-beta.1" ->
|
|
11
|
+
# "3.6.0"), which would then not match the `:tag` in s.source below. This
|
|
12
|
+
# SDK does not publish CocoaPods prereleases, so that tradeoff is acceptable.
|
|
13
|
+
s.version = package["version"].split("-").first
|
|
8
14
|
s.summary = package["description"]
|
|
9
15
|
s.homepage = package["homepage"]
|
|
10
16
|
s.license = package["license"]
|
|
11
17
|
s.authors = package["author"]
|
|
12
18
|
|
|
13
|
-
s.platforms = { :ios => "
|
|
19
|
+
s.platforms = { :ios => "15.1" }
|
|
14
20
|
s.source = { :git => "https://github.com/adadaptedinc/adadapted-react-native-sdk.git", :tag => "#{s.version}" }
|
|
15
21
|
|
|
16
22
|
s.source_files = "ios/**/*.{h,m}"
|
|
17
23
|
|
|
18
|
-
|
|
24
|
+
# React Native 0.82+ builds with the New Architecture. Use the standard
|
|
25
|
+
# helper (available inside a RN project's Podfile context) to wire up the
|
|
26
|
+
# correct React dependencies; fall back to React-Core for older setups or
|
|
27
|
+
# standalone spec linting.
|
|
28
|
+
if defined?(install_modules_dependencies)
|
|
29
|
+
install_modules_dependencies(s)
|
|
30
|
+
else
|
|
31
|
+
s.dependency "React-Core"
|
|
32
|
+
end
|
|
19
33
|
end
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adadapted/react-native-sdk",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "The AdAdapted react-native SDK.",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -65,10 +65,6 @@
|
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
|
68
|
-
"@babel/plugin-transform-typescript": "^7.28.6",
|
|
69
|
-
"@babel/preset-env": "^7.29.2",
|
|
70
|
-
"@babel/preset-react": "^7.28.5",
|
|
71
|
-
"@babel/preset-typescript": "^7.28.5",
|
|
72
68
|
"@eslint/eslintrc": "^3.0.0",
|
|
73
69
|
"@eslint/js": "^9.0.0",
|
|
74
70
|
"@react-native/jest-preset": "^0.86.0",
|