Skip to content

Commit e5ee228

Browse files
committed
first commit
0 parents  commit e5ee228

Some content is hidden

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

48 files changed

+1128
-0
lines changed

.gitignore

+15
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

.idea/.gitignore

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/compiler.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/deploymentTargetSelector.xml

+21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

+19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/kotlinc.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/migrations.xml

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/.gitignore

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/build
2+
3+
*.log
4+
*.apk
5+
.gradle/
6+
*.class
7+
*.iml
8+
*.idea/
9+
*.kt
10+
*.json
11+
build/

app/build.gradle.kts

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
plugins {
2+
alias(libs.plugins.android.application)
3+
alias(libs.plugins.jetbrains.kotlin.android)
4+
id("com.google.gms.google-services")
5+
id ("kotlin-android")
6+
id ("kotlin-parcelize")
7+
}
8+
9+
android {
10+
namespace = "com.example.redconefinal"
11+
compileSdk = 34
12+
13+
defaultConfig {
14+
applicationId = "com.example.redconefinal"
15+
minSdk = 24
16+
targetSdk = 34
17+
versionCode = 1
18+
versionName = "1.0"
19+
20+
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
21+
}
22+
23+
buildTypes {
24+
release {
25+
isMinifyEnabled = false
26+
proguardFiles(
27+
getDefaultProguardFile("proguard-android-optimize.txt"),
28+
"proguard-rules.pro"
29+
)
30+
}
31+
32+
}
33+
34+
compileOptions {
35+
sourceCompatibility = JavaVersion.VERSION_1_8
36+
targetCompatibility = JavaVersion.VERSION_1_8
37+
}
38+
kotlinOptions {
39+
jvmTarget = "1.8"
40+
}
41+
buildFeatures {
42+
viewBinding = true
43+
}
44+
}
45+
46+
dependencies {
47+
48+
implementation(libs.androidx.core.ktx)
49+
implementation(libs.androidx.appcompat)
50+
implementation(libs.material)
51+
implementation(libs.androidx.activity)
52+
implementation(libs.androidx.constraintlayout)
53+
implementation(libs.firebase.firestore.ktx)
54+
testImplementation(libs.junit)
55+
androidTestImplementation(libs.androidx.junit)
56+
androidTestImplementation(libs.androidx.espresso.core)
57+
implementation(platform("com.google.firebase:firebase-bom:33.0.0"))
58+
implementation("com.google.firebase:firebase-analytics")
59+
implementation ("com.github.bumptech.glide:glide:4.12.0")
60+
annotationProcessor("com.github.bumptech.glide:compiler:4.12.0")
61+
implementation("com.google.firebase:firebase-messaging:24.0.0")
62+
implementation("com.google.firebase:firebase-analytics:22.0.0")
63+
}

app/proguard-rules.pro

+21
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/src/main/AndroidManifest.xml

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:tools="http://schemas.android.com/tools">
4+
5+
<uses-permission android:name="android.permission.INTERNET" />
6+
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
7+
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
8+
<uses-permission android:name="android.permission.INTERNET" />
9+
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
10+
11+
12+
<application
13+
android:allowBackup="true"
14+
android:dataExtractionRules="@xml/data_extraction_rules"
15+
android:fullBackupContent="@xml/backup_rules"
16+
android:icon="@mipmap/ic_launcher"
17+
android:label="@string/app_name"
18+
android:roundIcon="@mipmap/ic_launcher_round"
19+
android:supportsRtl="true"
20+
android:theme="@style/Theme.Redconefinal"
21+
tools:targetApi="31">
22+
<activity
23+
android:name=".AlertData"
24+
android:exported="false" />
25+
<activity
26+
android:name=".AlertDetails"
27+
android:exported="false" />
28+
<activity
29+
android:name=".MainActivity"
30+
android:exported="true">
31+
<intent-filter>
32+
<action android:name="android.intent.action.MAIN" />
33+
34+
<category android:name="android.intent.category.LAUNCHER" />
35+
</intent-filter>
36+
</activity>
37+
38+
<service android:name=".FirebaseMsgService"
39+
android:exported="true">
40+
<intent-filter>
41+
<action android:name="com.google.firebase.MESSAGING_EVENT" />
42+
</intent-filter>
43+
</service>
44+
45+
46+
47+
</application>
48+
49+
</manifest>

app/src/main/res/drawable/cheeku.jpg

79.5 KB
Loading

0 commit comments

Comments
 (0)