@react-native-tapsell-mediation/yandex 1.3.0-beta06 → 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 CHANGED
@@ -1,3 +1,33 @@
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
+
13
+ ## 1.3.0
14
+
15
+ This release is identical to `1.3.0-beta06`. Below is the full list of changes since `1.2.0`.
16
+
17
+ - Upgraded Tapsell Mediation SDK to `1.3.0`.
18
+ Read [full changelog](https://developer.tapsell.ir/docs/publishers/sdk/changelog/#1.3.0) for more info.
19
+ - Optimize reliability mechanisms in network restrictions.
20
+ - Improve compatibility with R8 full mode.
21
+ - Reduce mediation adapters dependency conflicts.
22
+ - Set Android **target-sdk** to `35`.
23
+ - Bump Android **compile-sdk** version to `35`.
24
+ - Upgraded Tapsell Legacy adapter
25
+ to [4.9.15](https://developer.tapsell.ir/fa/docs/sdk-legacy/platforms/android/changelog#4.9.15).
26
+ - Prevented the screen from turning off during video ad playback.
27
+ - Fixed a rare crash in rewarded ads that happens in unstable network connectivity.
28
+ - Support `edge-to-edge` for Android `15` compatibility.
29
+ - Introduced `maven.tapsell.ir` repo in packages.
30
+
1
31
  ## 1.3.0-beta06
2
32
 
3
33
  - Upgraded Tapsell Mediation SDK to `1.3.0-beta06`.
@@ -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
- // Buildscript is evaluated before everything else so we can't use getExtOrDefault
3
- def kotlin_version = rootProject.ext.has("kotlinVersion") ? rootProject.ext.get("kotlinVersion") : project.properties["Yandex_kotlinVersion"]
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:7.2.1"
25
+ classpath "com.android.tools.build:gradle:8.6.1"
12
26
  // noinspection DifferentKotlinGradleVersion
13
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
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
- if (isNewArchitectureEnabled()) {
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
- if (supportsNamespace()) {
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 getExtOrIntegerDefault("compileSdkVersion")
41
+ compileSdkVersion getExtOrDefault("compileSdkVersion")
57
42
 
58
43
  defaultConfig {
59
- minSdkVersion getExtOrIntegerDefault("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.VERSION_1_8
76
- targetCompatibility JavaVersion.VERSION_1_8
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
- // For < 0.71, this will be from the local maven repo
95
- // For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin
96
- //noinspection GradleDynamicVersion
97
- implementation "com.facebook.react:react-native:+"
98
- implementation "ir.tapsell.mediation.adapter:yandex-reactnative:1.3.0-beta06"
65
+ implementation "com.facebook.react:react-android"
66
+ implementation "ir.tapsell.mediation.adapter:yandex-reactnative:1.4.0-alpha03"
99
67
  }
100
-
@@ -1,3 +1,2 @@
1
- <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2
- package="ir.tapsell.mediation.adapter.yandex">
1
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android">
3
2
  </manifest>
@@ -1,4 +1,4 @@
1
- package ir.tapsell.mediation.adapter.yandex
1
+ package ir.tapsell.mediation.adapter.yandex.rn
2
2
 
3
3
  import com.facebook.react.ReactPackage
4
4
  import com.facebook.react.bridge.NativeModule
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-tapsell-mediation/yandex",
3
- "version": "1.3.0-beta06",
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",
@@ -41,34 +40,31 @@
41
40
  ],
42
41
  "repository": {
43
42
  "type": "git",
44
- "url": "git+https://github.com/tapsellorg/TapsellMediation-ReactNative.git"
43
+ "url": "git+https://github.com/tapsellorg/TapsellMediation-ReactNativeSample.git"
45
44
  },
46
45
  "author": "Tapsell <info@tapsell.ir> (https://github.com/tapsellorg)",
47
46
  "license": "MIT",
48
47
  "bugs": {
49
- "url": "https://github.com/tapsellorg/TapsellMediation-ReactNative/issues"
48
+ "url": "https://github.com/tapsellorg/Discussion/discussions"
50
49
  },
51
- "homepage": "https://github.com/tapsellorg/TapsellMediation-ReactNative#readme",
50
+ "homepage": "https://developer.tapsell.ir/docs/sdk/platforms/reactnative/",
52
51
  "publishConfig": {
53
52
  "registry": "https://registry.npmjs.org/"
54
53
  },
55
54
  "devDependencies": {
56
55
  "@commitlint/config-conventional": "^17.0.2",
57
56
  "@evilmartians/lefthook": "^1.5.0",
58
- "@react-native/eslint-config": "^0.72.2",
57
+ "@react-native/eslint-config": "0.77.0",
59
58
  "@release-it/conventional-changelog": "^5.0.0",
60
- "@types/jest": "^28.1.2",
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.4.1",
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.2.0",
71
- "react-native": "0.73.4",
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.3.0-beta06",
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"
@@ -1,5 +0,0 @@
1
- Yandex_kotlinVersion=1.7.0
2
- Yandex_minSdkVersion=21
3
- Yandex_targetSdkVersion=34
4
- Yandex_compileSdkVersion=34
5
- Yandex_ndkversion=21.4.7075529
@@ -1 +0,0 @@
1
- rootProject.name = '@react-native-tapsell-mediation_yandex'
@@ -1,2 +0,0 @@
1
- <manifest xmlns:android="http://schemas.android.com/apk/res/android">
2
- </manifest>