Skip to content

Commit 3ab55ff

Browse files
author
Jordi
committed
First Commit
1 parent 4f8c2ea commit 3ab55ff

65 files changed

Lines changed: 2361 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
*.iml
2+
.gradle
3+
/local.properties
4+
/.idea/caches
5+
/.idea/libraries
6+
/.idea/modules.xml
7+
/.idea/workspace.xml
8+
/.idea/navEditor.xml
9+
/.idea/assetWizardSettings.xml
10+
.DS_Store
11+
/build
12+
/captures
13+
.externalNativeBuild
14+
.cxx
15+
local.properties
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
kotlin version: 2.0.21
2+
error message: The daemon has terminated unexpectedly on startup attempt #1 with error code: 0. The daemon process output:
3+
1. Kotlin compile daemon is ready
4+

app/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

app/build.gradle.kts

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
plugins {
2+
id ("com.android.application")
3+
id ("org.jetbrains.kotlin.android")
4+
id ("org.jetbrains.kotlin.plugin.compose")
5+
id ("kotlin-kapt")
6+
}
7+
8+
android {
9+
namespace = "com.persianesricart.mismedidas"
10+
compileSdk = 34
11+
12+
defaultConfig {
13+
applicationId = "com.persianesricart.mismedidas"
14+
minSdk = 24
15+
targetSdk = 34
16+
versionCode = 1
17+
versionName = "1.0"
18+
}
19+
20+
buildFeatures {
21+
compose = true
22+
}
23+
24+
compileOptions {
25+
sourceCompatibility = JavaVersion.VERSION_17
26+
targetCompatibility = JavaVersion.VERSION_17
27+
}
28+
composeOptions {
29+
//kotlinCompilerExtensionVersion = "1.6.7"
30+
kotlinCompilerExtensionVersion = "1.5.15"
31+
}
32+
33+
kotlinOptions {
34+
jvmTarget = "17"
35+
}
36+
}
37+
38+
dependencies {
39+
implementation ("androidx.core:core-ktx:1.12.0")
40+
implementation ("androidx.lifecycle:lifecycle-runtime-ktx:2.7.0")
41+
implementation ("androidx.activity:activity-compose:1.9.0")
42+
implementation ("androidx.compose.ui:ui:1.6.7")
43+
implementation ("androidx.compose.material:material-icons-extended:1.6.7") // Use the latest version
44+
implementation (libs.material3)
45+
//implementation (libs.material)
46+
implementation ("androidx.navigation:navigation-compose:2.7.7")
47+
48+
// Room + Coroutine
49+
implementation ("androidx.room:room-runtime:2.6.1")
50+
kapt ("androidx.room:room-compiler:2.6.1")
51+
implementation ("androidx.room:room-ktx:2.6.1")
52+
53+
// Lifecycle ViewModel
54+
implementation ("androidx.lifecycle:lifecycle-viewmodel-compose:2.7.0")
55+
56+
//Preview
57+
implementation ("androidx.compose.ui:ui-tooling-preview:1.5.3")
58+
}

app/proguard-rules.pro

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Add project specific ProGuard rules here.
2+
# You can control the set of applied configuration files using the
3+
# proguardFiles setting in build.gradle.
4+
#
5+
# For more details, see
6+
# http://developer.android.com/guide/developing/tools/proguard.html
7+
8+
# If your project uses WebView with JS, uncomment the following
9+
# and specify the fully qualified class name to the JavaScript interface
10+
# class:
11+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12+
# public *;
13+
#}
14+
15+
# Uncomment this to preserve the line number information for
16+
# debugging stack traces.
17+
#-keepattributes SourceFile,LineNumberTable
18+
19+
# If you keep the line number information, uncomment this to
20+
# hide the original source file name.
21+
#-renamesourcefileattribute SourceFile

app/release/MisMedidas.zip

10.5 MB
Binary file not shown.
7.54 KB
Binary file not shown.
7.44 KB
Binary file not shown.

app/release/output-metadata.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"version": 3,
3+
"artifactType": {
4+
"type": "APK",
5+
"kind": "Directory"
6+
},
7+
"applicationId": "com.persianesricart.mismedidas",
8+
"variantName": "release",
9+
"elements": [
10+
{
11+
"type": "SINGLE",
12+
"filters": [],
13+
"attributes": [],
14+
"versionCode": 1,
15+
"versionName": "1.0",
16+
"outputFile": "app-release.apk"
17+
}
18+
],
19+
"elementType": "File",
20+
"baselineProfiles": [
21+
{
22+
"minApi": 28,
23+
"maxApi": 30,
24+
"baselineProfiles": [
25+
"baselineProfiles/1/app-release.dm"
26+
]
27+
},
28+
{
29+
"minApi": 31,
30+
"maxApi": 2147483647,
31+
"baselineProfiles": [
32+
"baselineProfiles/0/app-release.dm"
33+
]
34+
}
35+
],
36+
"minSdkVersionForDexing": 24
37+
}

app/src/main/AndroidManifest.xml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
package="com.persianesricart.mismedidas">
3+
4+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
5+
android:maxSdkVersion="28" />
6+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
7+
8+
9+
<application
10+
android:allowBackup="true"
11+
android:label="Mis Medidas"
12+
android:icon="@mipmap/ic_launcher"
13+
android:roundIcon="@mipmap/ic_launcher_round"
14+
android:supportsRtl="true">
15+
<!-- android:theme="@style/Theme.MisMedidas"> -->
16+
17+
<activity android:name=".MainActivity"
18+
android:exported="true">
19+
<intent-filter>
20+
<action android:name="android.intent.action.MAIN"/>
21+
<category android:name="android.intent.category.LAUNCHER"/>
22+
</intent-filter>
23+
</activity>
24+
<provider
25+
android:name="androidx.core.content.FileProvider"
26+
android:authorities="${applicationId}.provider"
27+
android:exported="false"
28+
android:grantUriPermissions="true">
29+
<meta-data
30+
android:name="android.support.FILE_PROVIDER_PATHS"
31+
android:resource="@xml/file_paths" />
32+
</provider>
33+
</application>
34+
35+
</manifest>

0 commit comments

Comments
 (0)