Skip to content

Commit

Permalink
Publish version 2.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
MortezaNedaei committed Apr 8, 2023
1 parent 3b2fc9d commit ffa0e93
Show file tree
Hide file tree
Showing 6 changed files with 1,332 additions and 8,243 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 2.1.8 (08 April, 2023)
- [change] Update Android dependency (TapsellPlus) to `2.1.8`
- [change] Update Android `targetSdkVersion` to 33
- [New] Added dynamic configs for `backPressed` final banner in video ads
- [New] Add dynamic configs for back alert dialog in videos
- [Fix] Update UnityAds to V4.3.0 and fix deprecations based on ([UnityAds API](https://docs.unity.com/ads/UnityAPI.html))

## 2.1.8-rc01 (02 August, 2022)
- [change] Update Android dependency (TapsellPlus) to 2.1.8-rc01

Expand Down
13 changes: 8 additions & 5 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@

buildscript {
repositories {
google()
mavenCentral()
jcenter()
}

dependencies {
classpath 'com.android.tools.build:gradle:1.3.1'
classpath 'com.android.tools.build:gradle:7.4.2'
}
}

apply plugin: 'com.android.library'

android {
compileSdkVersion 29
buildToolsVersion "29.0.2"
compileSdkVersion 33

defaultConfig {
minSdkVersion 16
targetSdkVersion 29
targetSdkVersion 33
versionCode 1
versionName "1.0"
}
Expand All @@ -28,12 +29,14 @@ android {

rootProject.allprojects {
repositories {
google()
mavenCentral()
jcenter()
}
}

dependencies {
//noinspection GradleDynamicVersion
implementation 'com.facebook.react:react-native:+'
implementation 'ir.tapsell.plus:tapsell-plus-sdk-reactnative:2.1.8-rc01'
implementation 'ir.tapsell.plus:tapsell-plus-sdk-reactnative:2.1.8'
}
4 changes: 4 additions & 0 deletions android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="ir.tapsell.plus">

<application
android:usesCleartextTraffic="true"
android:networkSecurityConfig="@xml/network_security_config"/>

</manifest>

10 changes: 10 additions & 0 deletions android/src/main/res/xml/network_security_config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<base-config cleartextTrafficPermitted="false" />
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">127.0.0.1</domain>
<domain includeSubdomains="true">localhost</domain>
<domain includeSubdomains="true">10.0.2.2</domain>
<domain includeSubdomains="true">10.0.3.2</domain>
</domain-config>
</network-security-config>
Loading

0 comments on commit ffa0e93

Please sign in to comment.