react-native-google-mobile-ads 7.0.0 → 7.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/android/build.gradle +13 -4
- package/lib/commonjs/version.js +1 -1
- package/lib/commonjs/version.js.map +1 -1
- package/lib/module/version.js +1 -1
- package/lib/module/version.js.map +1 -1
- package/lib/typescript/index.d.ts +1 -1
- package/lib/typescript/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/android/build.gradle
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import io.invertase.gradle.common.PackageJson
|
|
2
2
|
|
|
3
3
|
buildscript {
|
|
4
|
+
ext.getExtOrDefault = {name, version ->
|
|
5
|
+
return rootProject.ext.has(name) ? rootProject.ext.get(name) : version
|
|
6
|
+
}
|
|
7
|
+
|
|
4
8
|
// The Android Gradle plugin is only required when opening the android folder stand-alone.
|
|
5
9
|
// This avoids unnecessary downloads and potential conflicts when the library is included as a
|
|
6
10
|
// module dependency in an application project.
|
|
@@ -12,7 +16,15 @@ buildscript {
|
|
|
12
16
|
|
|
13
17
|
dependencies {
|
|
14
18
|
classpath("com.android.tools.build:gradle:7.0.4")
|
|
15
|
-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${
|
|
19
|
+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${getExtOrDefault('kotlinVersion', '1.6.10')}"
|
|
20
|
+
}
|
|
21
|
+
} else {
|
|
22
|
+
repositories {
|
|
23
|
+
mavenCentral()
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
dependencies {
|
|
27
|
+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${getExtOrDefault('kotlinVersion', '1.6.10')}"
|
|
16
28
|
}
|
|
17
29
|
}
|
|
18
30
|
}
|
|
@@ -114,6 +126,3 @@ ReactNative.shared.applyDefaultExcludes()
|
|
|
114
126
|
ReactNative.module.applyAndroidVersions()
|
|
115
127
|
ReactNative.module.applyReactNativeDependency("api")
|
|
116
128
|
|
|
117
|
-
def safeExtGet(prop, fallback) {
|
|
118
|
-
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
|
119
|
-
}
|
package/lib/commonjs/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["version.ts"],"names":["version"],"mappings":";;;;;;AAAA;AACO,MAAMA,OAAO,GAAG,OAAhB","sourcesContent":["// Generated by genversion.\nexport const version = '7.0.
|
|
1
|
+
{"version":3,"sources":["version.ts"],"names":["version"],"mappings":";;;;;;AAAA;AACO,MAAMA,OAAO,GAAG,OAAhB","sourcesContent":["// Generated by genversion.\nexport const version = '7.0.1';\n"]}
|
package/lib/module/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["version.ts"],"names":["version"],"mappings":"AAAA;AACA,OAAO,MAAMA,OAAO,GAAG,OAAhB","sourcesContent":["// Generated by genversion.\nexport const version = '7.0.
|
|
1
|
+
{"version":3,"sources":["version.ts"],"names":["version"],"mappings":"AAAA;AACA,OAAO,MAAMA,OAAO,GAAG,OAAhB","sourcesContent":["// Generated by genversion.\nexport const version = '7.0.1';\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "7.0.
|
|
1
|
+
export declare const SDK_VERSION = "7.0.1";
|
|
2
2
|
export { default, MobileAds } from './MobileAds';
|
|
3
3
|
export { AdsConsentDebugGeography } from './AdsConsentDebugGeography';
|
|
4
4
|
export { AdsConsentPurposes } from './AdsConsentPurposes';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "7.0.
|
|
1
|
+
export declare const version = "7.0.1";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-google-mobile-ads",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.1",
|
|
4
4
|
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
|
|
5
5
|
"description": "React Native Google Mobile Ads is an easy way to monetize mobile apps with targeted, in-app advertising.",
|
|
6
6
|
"main": "lib/commonjs/index.js",
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '7.0.
|
|
2
|
+
export const version = '7.0.1';
|