Skip to content

Commit

Permalink
Release v4.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
amirisback committed Feb 16, 2022
1 parent c8106c2 commit 707e119
Show file tree
Hide file tree
Showing 10 changed files with 58 additions and 39 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/generate-apk-debug.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Generate APK Debug
name: Generate APK / AAB

on:
# Triggers the workflow on push or pull request events but only for default and protected branches
Expand All @@ -23,6 +23,9 @@ jobs:
- name: Change wrapper permissions
run: chmod +x ./gradlew

- name: Run tests
run: ./gradlew test

# Run Build Project
- name: Build project
run: ./gradlew build
Expand All @@ -31,9 +34,18 @@ jobs:
- name: Build apk debug project (APK)
run: ./gradlew assembleDebug

# Create APK Release
- name: Build apk release project (APK)
run: ./gradlew assemble

# Create Bundle AAB Release
# Noted for main module build [module-name]:bundleRelease
- name: Build app bundle release (AAB)
run: ./gradlew app:bundleRelease

# Upload Artifact Build
# Noted For Output [module-name]/build/outputs/
- name: Upload debug build APK
- name: Upload build APK / AAB
uses: actions/upload-artifact@v2
with:
name: App bundle(s) and APK(s) generated
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

## Version Release

$version_release = 4.1.5
$version_release = 4.1.6

What's New??

Expand Down Expand Up @@ -66,7 +66,7 @@ allprojects {
implementation 'com.google.android.gms:play-services-ads:${latest_version}'

// library frogo-admob-helper
implementation 'com.github.amirisback:frogo-admob:4.1.5'
implementation 'com.github.amirisback:frogo-admob:4.1.6'
}

#### <Option 2> Kotlin DSL
Expand All @@ -76,7 +76,7 @@ allprojects {
implementation("com.google.android.gms:play-services-ads:${latest_version}")

// library frogo-admob-helper
implementation("com.github.amirisback:frogo-admob:4.1.5")
implementation("com.github.amirisback:frogo-admob:4.1.6")
}

### Step 3. Adding meta-data on AndroidManifest.xml
Expand Down
27 changes: 16 additions & 11 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,18 @@ android {
resValue("string", "admob_native_advanced_video", AdmobValue.debugAdmobNativeAdvancedVideo)
}

signingConfigs {
create("release") {
// You need to specify either an absolute path or include the
// keystore file in the same directory as the build.gradle file.
// [PROJECT FOLDER NAME/app/[COPY YOUT KEY STORE] .jks in here
storeFile = file(ProjectSetting.PLAYSTORE_STORE_FILE)
storePassword = ProjectSetting.PLAYSTORE_STORE_PASSWORD
keyAlias = ProjectSetting.PLAYSTORE_KEY_ALIAS
keyPassword = ProjectSetting.PLAYSTORE_KEY_PASSWORD
}
}

buildTypes {
getByName("release") {
isMinifyEnabled = false
Expand All @@ -46,6 +58,9 @@ android {
"proguard-rules.pro"
)

// Generated Signed APK / AAB
signingConfig = signingConfigs.getByName("release")

// Inject app name for release
resValue("string", "app_name", ProjectSetting.NAME_APP)

Expand Down Expand Up @@ -88,10 +103,6 @@ android {
}
}

kotlinOptions {
jvmTarget = "1.8"
}

}

dependencies {
Expand Down Expand Up @@ -120,15 +131,9 @@ dependencies {
implementation("com.github.amirisback:frogo-log:2.0.6")
implementation("com.github.amirisback:frogo-recycler-view:4.0.2")

implementation("com.github.frogobox:frogo-consume-api:1.0.7")
implementation("com.github.frogobox:frogo-consume-api:1.0.8")
implementation("com.github.frogobox:frogo-android-ui-kit:1.0.5")

kapt("com.github.bumptech.glide:compiler:4.12.0")

testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.3")
androidTestImplementation("androidx.test.espresso:espresso-core:3.4.0")

androidTestImplementation("androidx.compose.ui:ui-test-junit4:${Dependency.COMPOSE_VERSION}")
debugImplementation("androidx.compose.ui:ui-tooling:${Dependency.COMPOSE_VERSION}")
}
Binary file added app/frogoboxmedia.jks
Binary file not shown.
4 changes: 2 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:icon="@drawable/ic_apps"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:roundIcon="@drawable/ic_apps"
android:supportsRtl="true"
android:theme="@style/Theme.KickStart">
<activity
Expand Down
Binary file added app/src/main/res/drawable/ic_apps.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 16 additions & 16 deletions buildSrc/src/main/kotlin/AdmobValue.kt
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@
object AdmobValue {

// Declaration admob id for debug
val debugAdmobPublisherId = "ca-app-pub-3940256099942544~3347511713"
val debugAdmobBanner = "ca-app-pub-3940256099942544/6300978111"
val debugAdmobInterstitial = "ca-app-pub-3940256099942544/1033173712"
val debugAdmobInterstitialVideo = "ca-app-pub-3940256099942544/8691691433"
val debugAdmobRewarded = "ca-app-pub-3940256099942544/5224354917"
val debugAdmobRewardedInterstitial = "ca-app-pub-3940256099942544/5354046379"
val debugAdmobNativeAdvanced = "ca-app-pub-3940256099942544/2247696110"
val debugAdmobNativeAdvancedVideo = "ca-app-pub-3940256099942544/1044960115"
const val debugAdmobPublisherId = "ca-app-pub-3940256099942544~3347511713"
const val debugAdmobBanner = "ca-app-pub-3940256099942544/6300978111"
const val debugAdmobInterstitial = "ca-app-pub-3940256099942544/1033173712"
const val debugAdmobInterstitialVideo = "ca-app-pub-3940256099942544/8691691433"
const val debugAdmobRewarded = "ca-app-pub-3940256099942544/5224354917"
const val debugAdmobRewardedInterstitial = "ca-app-pub-3940256099942544/5354046379"
const val debugAdmobNativeAdvanced = "ca-app-pub-3940256099942544/2247696110"
const val debugAdmobNativeAdvancedVideo = "ca-app-pub-3940256099942544/1044960115"

// Declaration admob id for release
val releaseAdmobPublisherId = ""
val releaseAdmobBanner = ""
val releaseAdmobInterstitial = ""
val releaseAdmobInterstitialVideo = ""
val releaseAdmobRewarded = ""
val releaseAdmobRewardedInterstitial = ""
val releaseAdmobNativeAdvanced = ""
val releaseAdmobNativeAdvancedVideo = ""
const val releaseAdmobPublisherId = "ca-app-pub-3940256099942544~3347511713"
const val releaseAdmobBanner = "ca-app-pub-3940256099942544/6300978111"
const val releaseAdmobInterstitial = "ca-app-pub-3940256099942544/1033173712"
const val releaseAdmobInterstitialVideo = "ca-app-pub-3940256099942544/8691691433"
const val releaseAdmobRewarded = "ca-app-pub-3940256099942544/5224354917"
const val releaseAdmobRewardedInterstitial = "ca-app-pub-3940256099942544/5354046379"
const val releaseAdmobNativeAdvanced = "ca-app-pub-3940256099942544/2247696110"
const val releaseAdmobNativeAdvancedVideo = "ca-app-pub-3940256099942544/1044960115"

}
8 changes: 7 additions & 1 deletion buildSrc/src/main/kotlin/ProjectSetting.kt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ object ProjectSetting {

const val VERSION_MAJOR = 4
const val VERSION_MINOR = 1
const val VERSION_PATCH = 5
const val VERSION_PATCH = 6

const val PROJECT_COMPILE_SDK = 31
const val PROJECT_MIN_SDK = 21
Expand All @@ -35,4 +35,10 @@ object ProjectSetting {
const val PROJECT_VERSION_CODE = (VERSION_MAJOR * 100) + (VERSION_MINOR * 10) + (VERSION_PATCH * 1)
const val PROJECT_VERSION_NAME = "$VERSION_MAJOR.$VERSION_MINOR.$VERSION_PATCH"

// Key Store
const val PLAYSTORE_STORE_FILE = "frogoboxmedia.jks"
const val PLAYSTORE_STORE_PASSWORD = "amirisback"
const val PLAYSTORE_KEY_ALIAS = "frogoisback"
const val PLAYSTORE_KEY_PASSWORD = "amirisback"

}
Binary file modified docs/image/ss_banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions frogoadmob/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ android {
}
}


}

dependencies {
Expand All @@ -82,9 +81,6 @@ dependencies {
implementation("com.github.amirisback:frogo-log:2.0.6")
implementation("com.github.amirisback:frogo-recycler-view:4.0.2")

androidTestImplementation("androidx.compose.ui:ui-test-junit4:${Dependency.COMPOSE_VERSION}")
debugImplementation("androidx.compose.ui:ui-tooling:${Dependency.COMPOSE_VERSION}")

}

afterEvaluate {
Expand Down

0 comments on commit 707e119

Please sign in to comment.