@advergic-ads/react-native-sdk 1.0.1 → 1.0.3
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.
|
@@ -27,6 +27,10 @@ Pod::Spec.new do |s|
|
|
|
27
27
|
# pod 'AdvergicSDK', :podspec => 'https://app.advergic.com/ios/sdk/AdvergicSDK.podspec'
|
|
28
28
|
#
|
|
29
29
|
# A `>=` floor (not `~>`) is used so future releases served at that single,
|
|
30
|
-
# always-latest podspec URL keep resolving.
|
|
31
|
-
|
|
30
|
+
# always-latest podspec URL keep resolving. 0.1.10 is the first build produced
|
|
31
|
+
# with an Xcode 16-compatible toolchain (earlier 0.1.x were built with Xcode
|
|
32
|
+
# 26 / Swift 6.3 and could not be linked by Xcode 16.x consumers). 0.1.11
|
|
33
|
+
# drops the bundled Google-Mobile-Ads-SDK podspec dependency (GMA is baked
|
|
34
|
+
# into the xcframework) so apps don't link a duplicate copy of GMA/UMP.
|
|
35
|
+
s.dependency "AdvergicSDK", ">= 0.1.11"
|
|
32
36
|
end
|
|
@@ -18,13 +18,18 @@ android {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
21
|
+
// The bundled Advergic SDK AAR is consumed as an `api` dependency below, which
|
|
22
|
+
// means it propagates onto the host app's (:app) compile/runtime classpath.
|
|
23
|
+
// A `flatDir` repository is per-project, so declaring it only here would leave
|
|
24
|
+
// :app unable to resolve `:advergic-sdk:` ("Could not find :advergic-sdk:").
|
|
25
|
+
// Inject the flatDir repository into every project of the consuming build so
|
|
26
|
+
// the AAR is resolvable wherever it leaks transitively.
|
|
27
|
+
def advergicAarDir = file("${projectDir}/libs")
|
|
28
|
+
rootProject.allprojects {
|
|
29
|
+
repositories {
|
|
30
|
+
flatDir {
|
|
31
|
+
dirs advergicAarDir
|
|
32
|
+
}
|
|
28
33
|
}
|
|
29
34
|
}
|
|
30
35
|
|
package/package.json
CHANGED
package/react-native.config.js
CHANGED
|
@@ -10,9 +10,7 @@ module.exports = {
|
|
|
10
10
|
packageImportPath: "import com.advergic.reactnative.AdvergicReactNativePackage;",
|
|
11
11
|
packageInstance: "new AdvergicReactNativePackage()",
|
|
12
12
|
},
|
|
13
|
-
ios: {
|
|
14
|
-
podspecPath: "AdvergicReactNative.podspec",
|
|
15
|
-
},
|
|
13
|
+
ios: {},
|
|
16
14
|
},
|
|
17
15
|
},
|
|
18
16
|
};
|