Skip to content

Commit

Permalink
Merge pull request #358 from m-i-n-a-r/develop
Browse files Browse the repository at this point in the history
Develop, v4.5.1
  • Loading branch information
m-i-n-a-r authored Aug 17, 2024
2 parents 527de6f + 2413e8f commit 61ceb75
Show file tree
Hide file tree
Showing 92 changed files with 3,317 additions and 748 deletions.
59 changes: 30 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,35 +13,36 @@ This is an open source app to remember **birthdays** and other events in a fast,

## Translations (guide and info below, refer to [Crowdin](https://crwd.in/birday))

| LANGUAGE | SPECIAL THANKS | UPDATED BY |
|:------------------------|:----------------|:----------------------------|
| **English** | myself | ar-maged, Commenter25 |
| **Spanish** | myself | Joseahfer |
| **Swedish** | SlowNicoFish | |
| **Dutch** | stefanvi | |
| **Italian** | myself | myself |
| **French** | Mattis Biton | |
| **Hungarian** | Obi | |
| **German** | pizzapastamix | WrstFngr, AlexanderRitter02 |
| **Vietnamese** | Lee Huynh | dmtrilc |
| **Russian** | koterpillar | |
| **Czech** | Miloš Koliáš | IQLogic |
| **Slovak** | IQLogic | |
| **Polish** | mateusz-bak | |
| **Croatian** | Dominik Novosel | Dominik Novosel |
| **Portuguese** | smarquespt | smarquespt |
| **Brazilian** | BadJuice67 | Paiusco |
| **Romanian** | ygorigor | ygorigor |
| **Traditional Chinese** | Still34 | daoxi |
| **Simplified Chinese** | daoxi | daoxi |
| **Catalan** | retiolus | |
| **Serbian** | Th3Unkn0wn0n3 | vatonbero |
| **Ukrainian** | taras | |
| **Greek** | Retrial | |
| **Marathi** | Ramesh Kumar | |
| **Malayalam** | Lavin-tom | |
| **Hindi** | assembleDebug | |
| **Finnish** | manaryde | |
| LANGUAGE | SPECIAL THANKS | UPDATED BY |
|:------------------------|:------------------|:----------------------------|
| **English** | myself | ar-maged, Commenter25 |
| **Spanish** | myself | Joseahfer |
| **Swedish** | SlowNicoFish | |
| **Dutch** | stefanvi | |
| **Italian** | myself | myself |
| **French** | Mattis Biton | |
| **Hungarian** | Obi | |
| **German** | pizzapastamix | WrstFngr, AlexanderRitter02 |
| **Vietnamese** | Lee Huynh | dmtrilc |
| **Russian** | koterpillar | |
| **Czech** | Miloš Koliáš | IQLogic |
| **Slovak** | IQLogic | |
| **Polish** | mateusz-bak | |
| **Croatian** | Dominik Novosel | Dominik Novosel |
| **Portuguese** | smarquespt | smarquespt |
| **Brazilian** | BadJuice67 | Paiusco |
| **Romanian** | ygorigor | ygorigor |
| **Traditional Chinese** | Still34 | daoxi |
| **Simplified Chinese** | daoxi | daoxi |
| **Catalan** | retiolus | |
| **Serbian** | Th3Unkn0wn0n3 | vatonbero |
| **Ukrainian** | taras | |
| **Greek** | Retrial | |
| **Marathi** | Ramesh Kumar | |
| **Malayalam** | Lavin-tom | |
| **Hindi** | assembleDebug | |
| **Finnish** | manaryde | |
| **Turkish** | Ömer Selim Öztürk | |

## Features
- Notification the day of the event (with selectable time and optional grouping for multiple events in the same day)
Expand Down
4 changes: 3 additions & 1 deletion app/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/build
build
release
debug
119 changes: 0 additions & 119 deletions app/build.gradle

This file was deleted.

142 changes: 142 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
@file:Suppress("UnstableApiUsage")

plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
id("com.google.devtools.ksp")
id("androidx.navigation.safeargs.kotlin")
}

android {
namespace = "com.minar.birday"
compileSdk = 35
buildToolsVersion = "35.0.0"

defaultConfig {
applicationId = "com.minar.birday"
targetSdk = 35
minSdk = 26
versionCode = 33
versionName = "4.5.1"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
release {
isMinifyEnabled = true
isShrinkResources = true
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
debug {
applicationIdSuffix = ".debug"
}
}

androidResources {
generateLocaleConfig = true
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}

kotlin {
jvmToolchain(17)
}

packaging {
jniLibs {
useLegacyPackaging = false
}
dex {
useLegacyPackaging = false
}
resources {
excludes += listOf("META-INF/*.version")
}
}

dependenciesInfo {
includeInApk = false
includeInBundle = false
}

buildFeatures {
viewBinding = true
buildConfig = true
}

lint {
disable += listOf("MissingTranslation", "MissingQuantity")
}
}

configurations.configureEach {
exclude("org.jetbrains.kotlin", "kotlin-stdlib-jdk7")
exclude("org.jetbrains.kotlin", "kotlin-stdlib-jdk8")
}

dependencies {

// Default dependencies
implementation("androidx.appcompat:appcompat:1.7.0")
implementation("androidx.core:core-ktx:1.13.1")
implementation("androidx.preference:preference-ktx:1.2.1")
implementation("androidx.legacy:legacy-support-v4:1.0.0")
implementation("androidx.activity:activity-ktx:1.9.1")
implementation("androidx.fragment:fragment-ktx:1.8.2")

// Transition
implementation("androidx.transition:transition-ktx:1.5.1")

// Constraint / motion layout
implementation("androidx.constraintlayout:constraintlayout:2.1.4")

// Splashscreen
implementation("androidx.core:core-splashscreen:1.0.1")

// Material Components
implementation("com.google.android.material:material:1.13.0-alpha05")

// WorkManager
implementation("androidx.work:work-runtime-ktx:2.9.1")

// Navigation component
implementation("androidx.navigation:navigation-fragment-ktx:2.8.0-beta07")
implementation("androidx.navigation:navigation-ui-ktx:2.8.0-beta07")

// Lifecycle and ViewModel
implementation("androidx.lifecycle:lifecycle-extensions:2.2.0")
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.8.4")
implementation("androidx.recyclerview:recyclerview:1.3.2")

// Room
val roomVersion = "2.6.1"
implementation("androidx.room:room-runtime:$roomVersion")
ksp("androidx.room:room-compiler:$roomVersion")

// Gson
implementation("com.google.code.gson:gson:2.11.0")

// App Intro
implementation("com.github.AppIntro:AppIntro:6.3.1")

// Facebook shimmer effect
implementation("com.facebook.shimmer:shimmer:0.5.0")

// Confetti effect
implementation("nl.dionsegijn:konfetti:1.3.2")

// TastiCalendar (my library :D)
implementation("com.github.m-i-n-a-r:tasticalendar:1.3.6")

// [Testing] Basic
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.2.1")
androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")

// [Testing] ICU
testImplementation("com.ibm.icu:icu4j:75.1")
}
3 changes: 2 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.READ_CALENDAR" />
<uses-permission android:name="android.permission.WRITE_CALENDAR" /> <!-- TODO implement calendar written events -->
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />

<application
android:allowBackup="true"
android:backupInForeground="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:enableOnBackInvokedCallback="true"
android:fullBackupContent="@xml/backup_rules"
android:backupInForeground="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:resizeableActivity="true"
Expand Down
Loading

0 comments on commit 61ceb75

Please sign in to comment.