Agn88 ttslot88 改包名 改签名

This commit is contained in:
xuhuixiang
2025-03-19 14:11:31 +08:00
parent 679b3b3ce3
commit 4cc76c45a4
24 changed files with 134 additions and 326 deletions

View File

@@ -10,7 +10,7 @@ android {
defaultConfig {
//37
applicationId "com.web.agn888new"
applicationId "com.web.agn"
minSdkVersion 24
targetSdkVersion 31
versionCode rootProject.ext.versionCode
@@ -20,16 +20,16 @@ android {
}
signingConfigs {
debug {
storeFile file('agn.jks')
storePassword "android2025"
storeFile file('ppn.jks')
storePassword "2014123456"
keyAlias 'key0'
keyPassword "android2025"
keyPassword "2014123456"
}
release {
storeFile file('agn.jks')
storePassword "android2025"
storeFile file('ppn.jks')
storePassword "2014123456"
keyAlias 'key0'
keyPassword "android2025"
keyPassword "2014123456"
}
}
buildTypes {
@@ -42,7 +42,7 @@ android {
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "agn888new"
def appName = "agn888"
def outputDir = new File(rootProject.ext.outputPath)
// 创建输出目录
outputDir.mkdirs()

View File

@@ -5,11 +5,30 @@
"storage_bucket": "agn888-3b8ef.firebasestorage.app"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:908864777300:android:07ba7be57fb0c9d2ac11c1",
"android_client_info": {
"package_name": "com.web.agn"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "AIzaSyB8ISe5W0zOSSvV88sH-u4DMAhO_0Mnjfg"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": []
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:908864777300:android:682bf12a10bfa0dbac11c1",
"android_client_info": {
"package_name": "com.web.agn888new"
"package_name": "com.web.agn888"
}
},
"oauth_client": [],
@@ -28,7 +47,7 @@
"client_info": {
"mobilesdk_app_id": "1:908864777300:android:fc7d3cac6abe01c2ac11c1",
"android_client_info": {
"package_name": "com.web.agn888newnew"
"package_name": "com.web.agn888new"
}
},
"oauth_client": [],

BIN
agn888new/ppn.jks Normal file

Binary file not shown.

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.web.agn888new">
package="com.web.agn">
<uses-feature
android:name="android.hardware.camera"

View File

@@ -1,4 +1,4 @@
package com.web.agn888new;
package com.web.agn;
import android.content.pm.PackageInfo;
@@ -18,18 +18,20 @@ public class MainActivity2 extends com.web.base.MainActivity2 {
userId = 37;
saveInt(MainActivity2.this,"user_code",userId);
saveInt(MainActivity2.this,"version_code",getVersion());
// com.web.base.MainActivity.saveString(this, "base_url","");
//网页的底部NavigationBar颜色
com.web.base.MainActivity.saveString(this, "style_color", "#1250a1");
//页面的大背景颜色
com.web.base.MainActivity.saveString(this, "windows_color", "#ffc608");
//任务栏的文字颜色 0 1白 默认黑
saveInt(MainActivity2.this,"is_white",1);
super.onCreate(savedInstanceState);
//用于修改大背景渐变色 不设置 大背景就是 windows_color 的颜色
setBackDrawables(R.drawable.big_bg);
setImageView(false);
//订阅主题
FirebaseMessaging.getInstance().subscribeToTopic("demo")
.addOnCompleteListener(new OnCompleteListener<Void>() {
@Override
public void onComplete(@NonNull Task<Void> task) {
String msg = "Subscribed";
if (!task.isSuccessful()) {
msg = "Subscribe failed";
}
}
.addOnCompleteListener(task -> {
});
}

View File

@@ -1,4 +1,4 @@
package com.web.agn888new;
package com.web.agn;
import android.app.NotificationChannel;
import android.app.NotificationManager;

View File

@@ -1,4 +1,4 @@
package com.web.agn888new;
package com.web.agn;
import android.app.Application;
import android.content.Context;

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="270"
android:startColor="#ffc608"
android:endColor="#ffc608"/>
</shape>