Commit 14a59466 authored by wanglei's avatar wanglei

...

parent 958a7451
......@@ -28,6 +28,16 @@ android {
}
}
buildTypes {
debug {
minifyEnabled false
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.realse
// 设置是否要自动上传
// firebaseCrashlytics {
// mappingFileUploadEnabled true
// }
}
release {
minifyEnabled true
shrinkResources true
......@@ -49,7 +59,6 @@ android {
buildFeatures {
viewBinding true
buildConfig true
aidl true
}
}
gradle.taskGraph.whenReady {
......@@ -109,8 +118,8 @@ dependencies {
//firebase
implementation platform('com.google.firebase:firebase-bom:32.3.1')
implementation 'com.google.firebase:firebase-analytics:21.6.2'
implementation 'com.google.firebase:firebase-crashlytics'
implementation("com.google.firebase:firebase-messaging")
implementation 'com.google.firebase:firebase-analytics:21.6.2'
}
\ No newline at end of file
......@@ -74,6 +74,7 @@ class SplashActivity : BaseActivity<ActivitySplashBinding>() {
}
override fun initView() {
throw Exception("-------异常------")
BarUtils.setStatusBarLightMode(this, true)
BarUtils.setStatusBarColor(this, Color.TRANSPARENT)
startStayNotification()
......
......@@ -22,8 +22,8 @@ abstract class BaseActivity<T : ViewBinding> : AppCompatActivity() {
launcher = ActivityLauncher(this)
setContentView(binding.root)
ActivityManagerUtils.getInstance().addActivity(this)
EventUtils.event("page_${javaClass.simpleName}")
ActivityManagerUtils.getInstance().addActivity(this)
initView()
initListener()
}
......
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
dependencies {
classpath 'com.google.gms:google-services:4.3.15'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.5'
classpath 'com.google.gms:google-services:4.4.1'
classpath 'com.google.firebase:firebase-crashlytics-gradle:3.0.2'
}
}
plugins {
......
[versions]
agp = "8.0.0"
agp = "8.1.0"
kotlin = "1.9.0"
coreKtx = "1.8.1"
junit = "4.13.2"
......
#Thu Jun 27 14:39:02 CST 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment