Skip to content

Commit

Permalink
removed tapsell
Browse files Browse the repository at this point in the history
  • Loading branch information
yamin8000 committed Dec 18, 2023
1 parent 4a08ab7 commit a2cd7cb
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 330 deletions.
14 changes: 0 additions & 14 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,6 @@ android {
}
}

flavorDimensions = ["version"]
productFlavors {
irMarket {
dimension "version"
}

free {
dimension "version"
}
}

buildTypes {
release {
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
Expand Down Expand Up @@ -90,7 +79,6 @@ android {
dependencies {
//core android
implementation("androidx.core:core-ktx:1.12.0")
implementation("androidx.core:core-splashscreen:1.0.1")
//compose
def material3_version = "1.1.2"
implementation("androidx.compose.ui:ui:$compose_ui_libs_version")
Expand All @@ -106,6 +94,4 @@ dependencies {
implementation("androidx.navigation:navigation-compose:$nav_version")
//datastore
implementation("androidx.datastore:datastore-preferences:1.0.0")
//ad
irMarketImplementation("ir.tapsell.plus:tapsell-plus-sdk-android:2.2.0")
}
29 changes: 0 additions & 29 deletions app/src/free/AndroidManifest.xml

This file was deleted.

53 changes: 0 additions & 53 deletions app/src/irMarket/java/io/github/yamin8000/dooz/ad/AdComposables.kt

This file was deleted.

81 changes: 0 additions & 81 deletions app/src/irMarket/java/io/github/yamin8000/dooz/ad/AdHelper.kt

This file was deleted.

This file was deleted.

27 changes: 0 additions & 27 deletions app/src/irMarket/res/layout/standard_banner.xml

This file was deleted.

5 changes: 2 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
xmlns:tools="http://schemas.android.com/tools">

<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.INTERNET" />

<application
android:name=".content.App"
Expand All @@ -32,14 +31,14 @@
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:theme="@style/Theme.App.Starting"
android:theme="@style/Theme.Dooz"
android:windowSoftInputMode="adjustResize"
tools:targetApi="s">
<activity
android:name="io.github.yamin8000.dooz.content.MainActivity"
android:configChanges="locale|fontScale|orientation|screenSize|keyboardHidden|keyboard|locale|screenLayout|screenSize|layoutDirection"
android:exported="true"
android:theme="@style/Theme.App.Starting">
android:theme="@style/Theme.Dooz">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Expand Down
12 changes: 0 additions & 12 deletions app/src/main/java/io/github/yamin8000/dooz/content/About.kt
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,6 @@ internal fun AboutContent(onBackClick: () -> Unit) {
)
}
)
Row(
modifier = Modifier.fillMaxWidth(),
verticalAlignment = Alignment.CenterVertically,
horizontalArrangement = Arrangement.spacedBy(
8.dp,
Alignment.CenterHorizontally
)
) {
val version = stringResource(R.string.version_name)
PersianText("$version - ${BuildConfig.FLAVOR}")
PersianText(BuildConfig.VERSION_NAME)
}
PersianText(
text = stringResource(R.string.license_header),
modifier = Modifier.fillMaxWidth()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,12 @@ package io.github.yamin8000.dooz.content
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen
import androidx.core.view.WindowCompat

class MainActivity : ComponentActivity() {

override fun onCreate(savedInstanceState: Bundle?) {
installSplashScreen()

super.onCreate(savedInstanceState)
setContent { MainNavigation(adContent = { }) }
WindowCompat.setDecorFitsSystemWindows(window, false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ fun GameContent(
exit = scaleOut()
) {
GameBoard(
gameSize = gameState.gameSize.value,
gameSize = gameState.gameSize.intValue,
gameCells = gameState.gameCells.value,
winnerCells = gameState.winnerCells.value,
isGameFinished = gameState.isGameFinished.value,
Expand Down
Loading

0 comments on commit a2cd7cb

Please sign in to comment.