Skip to content

Commit

Permalink
feat: add key file
Browse files Browse the repository at this point in the history
  • Loading branch information
weileifrank committed Oct 15, 2024
1 parent 83cd763 commit bf7e590
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions Android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ android {
// applicationId "com.thankyo.hwgame"
minSdkVersion 21
targetSdkVersion 31
versionCode 6
versionName "1.0.7"
versionCode 7
versionName "1.0.8"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
Expand All @@ -29,15 +29,27 @@ android {
}
buildConfigField "String", "AGORA_APP_ID", "\"$AGORA_APP_ID\""
}
signingConfigs {
myConfig {
storeFile new File(rootProject.rootDir.absolutePath + "/keystore.key")
storePassword "965606"
keyAlias "agora"
keyPassword "965606"
v1SigningEnabled true
v2SigningEnabled true
}
}

buildTypes {
release {
minifyEnabled false
signingConfig signingConfigs.myConfig
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
debug {
debuggable true
minifyEnabled false
signingConfig signingConfigs.myConfig
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
Expand Down
Binary file added Android/keystore.key
Binary file not shown.

0 comments on commit bf7e590

Please sign in to comment.