@react-native-tapsell-mediation/yandex 1.3.0 → 1.4.0-alpha03
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/CHANGELOG.md +12 -0
- package/android/build.gradle +26 -59
- package/android/src/main/AndroidManifest.xml +1 -2
- package/android/src/main/java/ir/tapsell/mediation/adapter/yandex/{YandexPackage.kt → rn/YandexPackage.kt} +1 -1
- package/package.json +7 -18
- package/android/gradle.properties +0 -5
- package/android/settings.gradle +0 -1
- package/android/src/main/AndroidManifestNew.xml +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## 1.4.0-alpha03
|
|
2
|
+
|
|
3
|
+
- Upgraded Tapsell Mediation SDK to `1.4.0-alpha03`.
|
|
4
|
+
Read [full changelog](https://developer.tapsell.ir/docs/sdk/changelog/#1.4.0-alpha03) for more info.
|
|
5
|
+
- Supported `secret-key` as an alternative to UUID-based `app-id`.
|
|
6
|
+
- Added startup logging of installed and active ad networks.
|
|
7
|
+
- Added 16KB page size support for native libraries (Android 15+ on 64-bit devices).
|
|
8
|
+
- Improved time-sync reliability under restricted internet access.
|
|
9
|
+
- Fixed namespace collision with the native mediation SDK.
|
|
10
|
+
- Fixed tapsell imports to resolve from source instead of the built lib.
|
|
11
|
+
- Updated the project to align with the React Native `0.77` templates.
|
|
12
|
+
|
|
1
13
|
## 1.3.0
|
|
2
14
|
|
|
3
15
|
This release is identical to `1.3.0-beta06`. Below is the full list of changes since `1.2.0`.
|
package/android/build.gradle
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
|
+
// AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
|
|
2
|
+
// Generated by scripts/generate-gradle.main.kts — edit scripts/template/build.gradle.template instead.
|
|
3
|
+
|
|
1
4
|
buildscript {
|
|
2
|
-
|
|
3
|
-
|
|
5
|
+
ext.Yandex = [
|
|
6
|
+
kotlinVersion: "1.7.0",
|
|
7
|
+
minSdkVersion: 24,
|
|
8
|
+
compileSdkVersion: 35
|
|
9
|
+
]
|
|
10
|
+
|
|
11
|
+
ext.getExtOrDefault = { prop ->
|
|
12
|
+
if (rootProject.ext.has(prop)) {
|
|
13
|
+
return rootProject.ext.get(prop)
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
return Yandex[prop]
|
|
17
|
+
}
|
|
4
18
|
|
|
5
19
|
repositories {
|
|
6
20
|
google()
|
|
@@ -8,77 +22,36 @@ buildscript {
|
|
|
8
22
|
}
|
|
9
23
|
|
|
10
24
|
dependencies {
|
|
11
|
-
classpath "com.android.tools.build:gradle:
|
|
25
|
+
classpath "com.android.tools.build:gradle:8.6.1"
|
|
12
26
|
// noinspection DifferentKotlinGradleVersion
|
|
13
|
-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$
|
|
27
|
+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${getExtOrDefault('kotlinVersion')}"
|
|
14
28
|
}
|
|
15
29
|
}
|
|
16
30
|
|
|
17
|
-
def isNewArchitectureEnabled() {
|
|
18
|
-
return rootProject.hasProperty("newArchEnabled") && rootProject.getProperty("newArchEnabled") == "true"
|
|
19
|
-
}
|
|
20
|
-
|
|
21
31
|
apply plugin: "com.android.library"
|
|
22
32
|
apply plugin: "kotlin-android"
|
|
23
33
|
|
|
24
|
-
|
|
25
|
-
apply plugin: "com.facebook.react"
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
def getExtOrDefault(name) {
|
|
29
|
-
return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties["Yandex_" + name]
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
def getExtOrIntegerDefault(name) {
|
|
33
|
-
return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties["Yandex_" + name]).toInteger()
|
|
34
|
-
}
|
|
34
|
+
apply plugin: "com.facebook.react"
|
|
35
35
|
|
|
36
|
-
def supportsNamespace() {
|
|
37
|
-
def parsed = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION.tokenize('.')
|
|
38
|
-
def major = parsed[0].toInteger()
|
|
39
|
-
def minor = parsed[1].toInteger()
|
|
40
36
|
|
|
41
|
-
// Namespace support was added in 7.3.0
|
|
42
|
-
return (major == 7 && minor >= 3) || major >= 8
|
|
43
|
-
}
|
|
44
37
|
|
|
45
38
|
android {
|
|
46
|
-
|
|
47
|
-
namespace "ir.tapsell.mediation.adapter.yandex"
|
|
48
|
-
|
|
49
|
-
sourceSets {
|
|
50
|
-
main {
|
|
51
|
-
manifest.srcFile "src/main/AndroidManifestNew.xml"
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
39
|
+
namespace "ir.tapsell.mediation.adapter.yandex.rn"
|
|
55
40
|
|
|
56
|
-
compileSdkVersion
|
|
41
|
+
compileSdkVersion getExtOrDefault("compileSdkVersion")
|
|
57
42
|
|
|
58
43
|
defaultConfig {
|
|
59
|
-
minSdkVersion
|
|
60
|
-
targetSdkVersion getExtOrIntegerDefault("targetSdkVersion")
|
|
44
|
+
minSdkVersion getExtOrDefault("minSdkVersion")
|
|
61
45
|
|
|
62
46
|
}
|
|
63
47
|
|
|
64
|
-
buildTypes {
|
|
65
|
-
release {
|
|
66
|
-
minifyEnabled false
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
lintOptions {
|
|
71
|
-
disable "GradleCompatible"
|
|
72
|
-
}
|
|
73
|
-
|
|
74
48
|
compileOptions {
|
|
75
|
-
sourceCompatibility JavaVersion.
|
|
76
|
-
targetCompatibility JavaVersion.
|
|
49
|
+
sourceCompatibility JavaVersion.VERSION_17
|
|
50
|
+
targetCompatibility JavaVersion.VERSION_17
|
|
77
51
|
}
|
|
78
52
|
}
|
|
79
53
|
|
|
80
54
|
repositories {
|
|
81
|
-
mavenLocal()
|
|
82
55
|
mavenCentral()
|
|
83
56
|
google()
|
|
84
57
|
maven { url 'https://maven.tapsell.ir' }
|
|
@@ -88,13 +61,7 @@ repositories {
|
|
|
88
61
|
maven { url 'https://sdk.tapjoy.com' }
|
|
89
62
|
}
|
|
90
63
|
|
|
91
|
-
def kotlin_version = getExtOrDefault("kotlinVersion")
|
|
92
|
-
|
|
93
64
|
dependencies {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
//noinspection GradleDynamicVersion
|
|
97
|
-
implementation "com.facebook.react:react-native:+"
|
|
98
|
-
implementation "ir.tapsell.mediation.adapter:yandex-reactnative:1.3.0"
|
|
65
|
+
implementation "com.facebook.react:react-android"
|
|
66
|
+
implementation "ir.tapsell.mediation.adapter:yandex-reactnative:1.4.0-alpha03"
|
|
99
67
|
}
|
|
100
|
-
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-tapsell-mediation/yandex",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0-alpha03",
|
|
4
4
|
"description": "Yandex mediation adapter",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
"!**/.*"
|
|
28
28
|
],
|
|
29
29
|
"scripts": {
|
|
30
|
-
"test": "jest",
|
|
31
30
|
"typecheck": "tsc --noEmit",
|
|
32
31
|
"lint": "eslint \"**/*.{js,ts,tsx}\"",
|
|
33
32
|
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
|
|
@@ -55,20 +54,17 @@
|
|
|
55
54
|
"devDependencies": {
|
|
56
55
|
"@commitlint/config-conventional": "^17.0.2",
|
|
57
56
|
"@evilmartians/lefthook": "^1.5.0",
|
|
58
|
-
"@react-native/eslint-config": "
|
|
57
|
+
"@react-native/eslint-config": "0.77.0",
|
|
59
58
|
"@release-it/conventional-changelog": "^5.0.0",
|
|
60
|
-
"@types/
|
|
61
|
-
"@types/react": "~18.2.55",
|
|
62
|
-
"@types/react-native": "0.73.0",
|
|
59
|
+
"@types/react": "~18.3.1",
|
|
63
60
|
"commitlint": "^17.0.2",
|
|
64
61
|
"del-cli": "^5.0.0",
|
|
65
|
-
"eslint": "^8.
|
|
62
|
+
"eslint": "^8.57.0",
|
|
66
63
|
"eslint-config-prettier": "^8.5.0",
|
|
67
64
|
"eslint-plugin-prettier": "^4.0.0",
|
|
68
|
-
"jest": "^28.1.1",
|
|
69
65
|
"prettier": "^2.0.5",
|
|
70
|
-
"react": "18.
|
|
71
|
-
"react-native": "0.
|
|
66
|
+
"react": "18.3.1",
|
|
67
|
+
"react-native": "0.77.0",
|
|
72
68
|
"react-native-builder-bob": "^0.20.0",
|
|
73
69
|
"release-it": "^15.0.0",
|
|
74
70
|
"turbo": "^1.10.7",
|
|
@@ -78,7 +74,7 @@
|
|
|
78
74
|
"@types/react": "18.2.55"
|
|
79
75
|
},
|
|
80
76
|
"peerDependencies": {
|
|
81
|
-
"@react-native-tapsell-mediation/tapsell": "^1.
|
|
77
|
+
"@react-native-tapsell-mediation/tapsell": "^1.4.0-alpha03",
|
|
82
78
|
"react": "*",
|
|
83
79
|
"react-native": "*"
|
|
84
80
|
},
|
|
@@ -86,13 +82,6 @@
|
|
|
86
82
|
"engines": {
|
|
87
83
|
"node": ">= 18.0.0"
|
|
88
84
|
},
|
|
89
|
-
"jest": {
|
|
90
|
-
"preset": "react-native",
|
|
91
|
-
"modulePathIgnorePatterns": [
|
|
92
|
-
"<rootDir>/example/node_modules",
|
|
93
|
-
"<rootDir>/lib/"
|
|
94
|
-
]
|
|
95
|
-
},
|
|
96
85
|
"commitlint": {
|
|
97
86
|
"extends": [
|
|
98
87
|
"@commitlint/config-conventional"
|
package/android/settings.gradle
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
rootProject.name = '@react-native-tapsell-mediation_yandex'
|