Skip to content

Commit

Permalink
new: add crash handler
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed May 1, 2023
1 parent e7be56b commit cae1eba
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 20 deletions.
5 changes: 3 additions & 2 deletions V2rayNG/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ android {
minSdkVersion 21
targetSdkVersion Integer.parseInt("$targetSdkVer")
multiDexEnabled true
versionCode 5100201 //hiddify
versionName "1.2.1" //hiddify
versionCode 5100202 //hiddify
versionName "1.2.2" //hiddify
}

buildTypes {
Expand Down Expand Up @@ -132,3 +132,4 @@ dependencies {


}
apply plugin: 'com.google.gms.google-services'
36 changes: 18 additions & 18 deletions V2rayNG/app/release/output-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,61 +11,61 @@
"type": "UNIVERSAL",
"filters": [],
"attributes": [],
"versionCode": 5100200,
"versionName": "1.2.0",
"versionCode": 5100201,
"versionName": "1.2.1",
"outputFile": "HiddifyNG_null.apk"
},
{
"type": "ONE_OF_MANY",
"filters": [
{
"filterType": "ABI",
"value": "armeabi-v7a"
"value": "x86"
}
],
"attributes": [],
"versionCode": 6100200,
"versionName": "1.2.0",
"outputFile": "HiddifyNG_armeabi-v7a.apk"
"versionCode": 8100201,
"versionName": "1.2.1",
"outputFile": "HiddifyNG_x86.apk"
},
{
"type": "ONE_OF_MANY",
"filters": [
{
"filterType": "ABI",
"value": "x86"
"value": "x86_64"
}
],
"attributes": [],
"versionCode": 8100200,
"versionName": "1.2.0",
"outputFile": "HiddifyNG_x86.apk"
"versionCode": 9100201,
"versionName": "1.2.1",
"outputFile": "HiddifyNG_x86_64.apk"
},
{
"type": "ONE_OF_MANY",
"filters": [
{
"filterType": "ABI",
"value": "arm64-v8a"
"value": "armeabi-v7a"
}
],
"attributes": [],
"versionCode": 7100200,
"versionName": "1.2.0",
"outputFile": "HiddifyNG_arm64-v8a.apk"
"versionCode": 6100201,
"versionName": "1.2.1",
"outputFile": "HiddifyNG_armeabi-v7a.apk"
},
{
"type": "ONE_OF_MANY",
"filters": [
{
"filterType": "ABI",
"value": "x86_64"
"value": "arm64-v8a"
}
],
"attributes": [],
"versionCode": 9100200,
"versionName": "1.2.0",
"outputFile": "HiddifyNG_x86_64.apk"
"versionCode": 7100201,
"versionName": "1.2.1",
"outputFile": "HiddifyNG_arm64-v8a.apk"
}
],
"elementType": "File"
Expand Down
2 changes: 2 additions & 0 deletions V2rayNG/app/src/main/kotlin/com/v2ray/ang/AngApplication.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package com.v2ray.ang

import androidx.multidex.MultiDexApplication
import androidx.preference.PreferenceManager
import com.google.firebase.FirebaseApp
import com.google.firebase.crashlytics.FirebaseCrashlytics
import com.tencent.mmkv.MMKV

Expand All @@ -17,6 +18,7 @@ class AngApplication : MultiDexApplication() {
super.onCreate()

// LeakCanary.install(this)
FirebaseApp.initializeApp(this);
FirebaseCrashlytics.getInstance().setCrashlyticsCollectionEnabled(true)
Thread.setDefaultUncaughtExceptionHandler(ExceptionHandler(this))

Expand Down
1 change: 1 addition & 0 deletions V2rayNG/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ buildscript {
// Make sure that you have the Google services Gradle plugin dependency
classpath 'com.google.gms:google-services:4.3.15'


// Add the dependency for the Crashlytics Gradle plugin
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.5'
}
Expand Down

0 comments on commit cae1eba

Please sign in to comment.