Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove all codes for firebase #313

Merged
merged 2 commits into from
Dec 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@ plugins {
id "moop.android.compose"
id "moop.android.hilt"
id "org.jetbrains.kotlin.plugin.serialization"
alias libs.plugins.firebase.crashlytics
alias libs.plugins.dependencyGuard
alias(libs.plugins.baselineprofile)
}
if (file("google-services.json").exists()) {
apply plugin: 'com.google.gms.google-services'
}

def useReleaseKeystore = rootProject.file("signing/app-release.jks").exists()

Expand Down Expand Up @@ -41,10 +37,6 @@ android {
debug {
signingConfig signingConfigs.debug
applicationIdSuffix ".debug"
firebaseCrashlytics {
mappingFileUploadEnabled false
}
manifestPlaceholders = [crashlytics_enabled: false]
}
benchmark {
if (useReleaseKeystore) {
Expand All @@ -54,7 +46,6 @@ android {
}
matchingFallbacks = ['release']
debuggable false
manifestPlaceholders = [crashlytics_enabled: true]
}
release {
if (useReleaseKeystore) {
Expand All @@ -64,7 +55,6 @@ android {
}
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
manifestPlaceholders = [crashlytics_enabled: true]
}
}
testOptions {
Expand Down Expand Up @@ -120,10 +110,6 @@ dependencies {

implementation libs.androidx.navigation.compose

implementation platform(libs.firebase.bom)
implementation libs.firebase.cloudmessaging
implementation libs.firebase.crashlytics

implementation libs.androidx.activity.compose
implementation libs.androidx.hilt.navigation.compose
implementation libs.compose.foundation
Expand Down
31 changes: 0 additions & 31 deletions app/dependencies/releaseRuntimeClasspath.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ androidx.datastore:datastore-preferences-core-jvm:1.1.1
androidx.datastore:datastore-preferences-core:1.1.1
androidx.datastore:datastore-preferences:1.1.1
androidx.datastore:datastore:1.1.1
androidx.documentfile:documentfile:1.0.0
androidx.drawerlayout:drawerlayout:1.0.0
androidx.emoji2:emoji2-views-helper:1.3.0
androidx.emoji2:emoji2:1.3.0
Expand All @@ -80,7 +79,6 @@ androidx.hilt:hilt-navigation-compose:1.2.0
androidx.hilt:hilt-navigation:1.2.0
androidx.hilt:hilt-work:1.2.0
androidx.interpolator:interpolator:1.0.0
androidx.legacy:legacy-support-core-utils:1.0.0
androidx.lifecycle:lifecycle-common-java8:2.9.0-alpha08
androidx.lifecycle:lifecycle-common-jvm:2.9.0-alpha08
androidx.lifecycle:lifecycle-common:2.9.0-alpha08
Expand All @@ -103,11 +101,9 @@ androidx.lifecycle:lifecycle-viewmodel-savedstate-android:2.9.0-alpha08
androidx.lifecycle:lifecycle-viewmodel-savedstate:2.9.0-alpha08
androidx.lifecycle:lifecycle-viewmodel:2.9.0-alpha08
androidx.loader:loader:1.0.0
androidx.localbroadcastmanager:localbroadcastmanager:1.0.0
androidx.navigation:navigation-common:2.9.0-alpha04
androidx.navigation:navigation-compose:2.9.0-alpha04
androidx.navigation:navigation-runtime:2.9.0-alpha04
androidx.print:print:1.0.0
androidx.profileinstaller:profileinstaller:1.4.1
androidx.resourceinspection:resourceinspection-annotation:1.0.1
androidx.room:room-common-jvm:2.7.0-alpha12
Expand All @@ -134,37 +130,11 @@ androidx.window:window-core:1.4.0-alpha05
androidx.window:window:1.4.0-alpha05
androidx.work:work-runtime:2.10.0
com.google.accompanist:accompanist-drawablepainter:0.36.0
com.google.android.datatransport:transport-api:3.2.0
com.google.android.datatransport:transport-backend-cct:3.3.0
com.google.android.datatransport:transport-runtime:3.3.0
com.google.android.gms:play-services-base:18.0.1
com.google.android.gms:play-services-basement:18.3.0
com.google.android.gms:play-services-cloud-messaging:17.2.0
com.google.android.gms:play-services-stats:17.0.2
com.google.android.gms:play-services-tasks:18.1.0
com.google.code.findbugs:jsr305:3.0.2
com.google.dagger:dagger-lint-aar:2.54
com.google.dagger:dagger:2.54
com.google.dagger:hilt-android:2.54
com.google.dagger:hilt-core:2.54
com.google.errorprone:error_prone_annotations:2.26.0
com.google.firebase:firebase-annotations:16.2.0
com.google.firebase:firebase-bom:33.5.1
com.google.firebase:firebase-common-ktx:21.0.0
com.google.firebase:firebase-common:21.0.0
com.google.firebase:firebase-components:18.0.0
com.google.firebase:firebase-config-interop:16.0.1
com.google.firebase:firebase-crashlytics:19.2.1
com.google.firebase:firebase-datatransport:19.0.0
com.google.firebase:firebase-encoders-json:18.0.1
com.google.firebase:firebase-encoders-proto:16.0.0
com.google.firebase:firebase-encoders:17.0.0
com.google.firebase:firebase-iid-interop:17.1.0
com.google.firebase:firebase-installations-interop:17.2.0
com.google.firebase:firebase-installations:18.0.0
com.google.firebase:firebase-measurement-connector:20.0.1
com.google.firebase:firebase-messaging:24.0.3
com.google.firebase:firebase-sessions:2.0.6
com.google.guava:listenablefuture:1.0
com.jakewharton.timber:timber:5.0.1
com.squareup.okhttp3:okhttp:4.12.0
Expand Down Expand Up @@ -203,7 +173,6 @@ org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.1
org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.10.1
org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.10.1
org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.1
org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.10.1
org.jetbrains.kotlinx:kotlinx-serialization-bom:1.7.3
org.jetbrains.kotlinx:kotlinx-serialization-core-jvm:1.7.3
org.jetbrains.kotlinx:kotlinx-serialization-core:1.7.3
Expand Down
93 changes: 0 additions & 93 deletions app/google-services.json

This file was deleted.

21 changes: 1 addition & 20 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:tools="http://schemas.android.com/tools">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="com.google.android.gms.permission.AD_ID" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />

<application
android:name=".MovieApplication"
Expand All @@ -20,10 +20,6 @@
android:shell="true"
tools:targetApi="q" />

<meta-data
android:name="firebase_crashlytics_collection_enabled"
android:value="${crashlytics_enabled}" />

<activity
android:name=".ui.main.MainActivity"
android:exported="true"
Expand All @@ -46,21 +42,6 @@
android:value="androidx.startup" />
</provider>

<meta-data
android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@drawable/ic_notify_default" />
<meta-data
android:name="com.google.firebase.messaging.default_notification_channel_id"
android:value="@string/default_notification_channel_id" />

<service
android:name=".push.MessagingService"
android:exported="true"
tools:ignore="ExportedService">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
</application>

</manifest>
35 changes: 0 additions & 35 deletions app/src/main/java/soup/movie/log/CrashlyticsTree.kt

This file was deleted.

40 changes: 0 additions & 40 deletions app/src/main/java/soup/movie/push/MessagingService.kt

This file was deleted.

3 changes: 0 additions & 3 deletions app/src/main/java/soup/movie/startup/LoggerInitializer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ package soup.movie.startup
import android.content.Context
import androidx.startup.Initializer
import soup.movie.buildconfig.BuildConfig
import soup.movie.log.CrashlyticsTree
import soup.movie.log.DebugTree
import soup.movie.log.Logger

Expand All @@ -27,8 +26,6 @@ class LoggerInitializer : Initializer<Unit> {
override fun create(context: Context) {
if (BuildConfig.DEBUG) {
Logger.plant(DebugTree())
} else {
Logger.plant(CrashlyticsTree())
}
}

Expand Down
2 changes: 0 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.gms) apply false
alias(libs.plugins.kotlin.jvm) apply false
alias(libs.plugins.kotlin.serialization) apply false
alias(libs.plugins.compose.compiler) apply false
alias(libs.plugins.dagger.hilt) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.dependencyGuard) apply false
alias(libs.plugins.firebase.crashlytics) apply false
alias(libs.plugins.baselineprofile) apply false
}

Expand Down

This file was deleted.

Loading
Loading