diff --git a/.idea/compiler.xml b/.idea/compiler.xml
index b86273d..b589d56 100644
--- a/.idea/compiler.xml
+++ b/.idea/compiler.xml
@@ -1,6 +1,6 @@
-
+
\ No newline at end of file
diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml
index 67ed356..dc1e776 100644
--- a/.idea/deploymentTargetSelector.xml
+++ b/.idea/deploymentTargetSelector.xml
@@ -454,6 +454,34 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
index 6d304ff..2041743 100644
--- a/.idea/gradle.xml
+++ b/.idea/gradle.xml
@@ -18,20 +18,25 @@
+
+
+
+
+
@@ -79,6 +84,7 @@
+
diff --git a/.idea/misc.xml b/.idea/misc.xml
index b2c751a..8978d23 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -1,6 +1,6 @@
-
+
diff --git a/1xme8/build.gradle b/1xme8/build.gradle
index a81edec..5adefb5 100644
--- a/1xme8/build.gradle
+++ b/1xme8/build.gradle
@@ -3,7 +3,7 @@ plugins {
id 'com.google.gms.google-services'
}
-def appOutPutName = "XMETH98"
+def appOutPutName = "1xme8"
android {
namespace rootProject.ext.namespace
diff --git a/1xsgd/build.gradle b/1xsgd/build.gradle
index 16bfc3f..e795e8e 100644
--- a/1xsgd/build.gradle
+++ b/1xsgd/build.gradle
@@ -11,8 +11,8 @@ android {
defaultConfig {
minSdkVersion 24
targetSdk 36
- versionCode 141
- versionName "v1.4.1"
+ versionCode 150
+ versionName "v1.5.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
//包名
diff --git a/7ERACLUB/.gitignore b/7ERACLUB/.gitignore
new file mode 100644
index 0000000..956c004
--- /dev/null
+++ b/7ERACLUB/.gitignore
@@ -0,0 +1,2 @@
+/build
+/release
\ No newline at end of file
diff --git a/7ERACLUB/build.gradle b/7ERACLUB/build.gradle
new file mode 100644
index 0000000..be7af4b
--- /dev/null
+++ b/7ERACLUB/build.gradle
@@ -0,0 +1,92 @@
+plugins {
+ id 'com.android.application'
+ id 'com.google.gms.google-services'
+}
+
+def appOutPutName = "7ERACLUB"
+
+android {
+ namespace rootProject.ext.namespace
+ compileSdk 36
+ defaultConfig {
+ minSdkVersion 24
+ targetSdk 36
+ versionCode rootProject.ext.versionCode
+ versionName rootProject.ext.versionName
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+
+ applicationId "com.company.ERACLUB"
+
+ //app大背景色
+ resValue('color', 'windows_color', '#000000')
+ //底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
+ resValue('color', 'style_color', '#000000')
+ //app 名字
+ resValue('string', 'app_name', '7ERACLUB')
+
+
+ buildConfigField "int", "USERID", "313"
+ buildConfigField "boolean", "IS_WHITE", "false"
+ buildConfigField "boolean", "IS_ROUND", "true"
+ buildConfigField "int", "ROUND_RADIUS", "10"
+ buildConfigField "boolean", "HAS_CONTACT", "true"
+ buildConfigField "boolean", "HAS_HOOK", "false"
+
+ }
+ buildFeatures {
+ buildConfig = true
+ }
+
+ signingConfigs {
+ debug {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ release {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ }
+
+ buildTypes {
+ release {
+ signingConfig signingConfigs.release
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+ compileOptions {
+ sourceCompatibility rootProject.ext.JAVA_VERSION
+ targetCompatibility rootProject.ext.JAVA_VERSION
+ }
+
+ applicationVariants.all { variant ->
+ variant.outputs.all {
+ def outputDir = new File(rootProject.ext.outputPath)
+ outputDir.mkdirs()
+ def outputFileName = "${appOutPutName}.apk"
+ setOutputFileName(outputFileName)
+ def newOutputFile = new File(outputDir, outputFileName)
+ newOutputFile.parentFile.mkdirs()
+ variant.assemble.doLast {
+ try {
+ java.nio.file.Files.copy(
+ outputFile.toPath(),
+ newOutputFile.toPath(),
+ java.nio.file.StandardCopyOption.REPLACE_EXISTING
+ )
+ } catch (java.io.IOException e) {
+ }
+ }
+ }
+ }
+
+}
+
+dependencies {
+ implementation project(path: ':base')
+}
\ No newline at end of file
diff --git a/7ERACLUB/google-services.json b/7ERACLUB/google-services.json
new file mode 100644
index 0000000..ed7fa6b
--- /dev/null
+++ b/7ERACLUB/google-services.json
@@ -0,0 +1,29 @@
+{
+ "project_info": {
+ "project_number": "786858950527",
+ "project_id": "eraclub-474b7",
+ "storage_bucket": "eraclub-474b7.firebasestorage.app"
+ },
+ "client": [
+ {
+ "client_info": {
+ "mobilesdk_app_id": "1:786858950527:android:d5ccea12a5f38b5a4d644a",
+ "android_client_info": {
+ "package_name": "com.company.ERACLUB"
+ }
+ },
+ "oauth_client": [],
+ "api_key": [
+ {
+ "current_key": "AIzaSyCOn2URTy1Zx8oPYQhKw2DY5-NMByrOS6o"
+ }
+ ],
+ "services": {
+ "appinvite_service": {
+ "other_platform_oauth_client": []
+ }
+ }
+ }
+ ],
+ "configuration_version": "1"
+}
\ No newline at end of file
diff --git a/7ERACLUB/justlet.jks b/7ERACLUB/justlet.jks
new file mode 100644
index 0000000..a33b839
Binary files /dev/null and b/7ERACLUB/justlet.jks differ
diff --git a/7ERACLUB/proguard-rules.pro b/7ERACLUB/proguard-rules.pro
new file mode 100644
index 0000000..107b7ee
--- /dev/null
+++ b/7ERACLUB/proguard-rules.pro
@@ -0,0 +1,32 @@
+# Add project specific ProGuard rules here.
+# You can control the set of applied configuration files using the
+# proguardFiles setting in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile
+
+-dontwarn dalvik.**
+-dontwarn com.tencent.smtt.**
+
+-keep class com.tencent.smtt.** {
+ *;
+}
+
+-keep class com.tencent.tbs.** {
+ *;
+}
\ No newline at end of file
diff --git a/7ERACLUB/src/main/AndroidManifest.xml b/7ERACLUB/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..7cbc0e0
--- /dev/null
+++ b/7ERACLUB/src/main/AndroidManifest.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/7ERACLUB/src/main/java/com/webclip/base/IndexActivity.java b/7ERACLUB/src/main/java/com/webclip/base/IndexActivity.java
new file mode 100644
index 0000000..4f16def
--- /dev/null
+++ b/7ERACLUB/src/main/java/com/webclip/base/IndexActivity.java
@@ -0,0 +1,78 @@
+package com.webclip.base;
+
+import android.os.Bundle;
+
+import com.google.firebase.messaging.FirebaseMessaging;
+
+public class IndexActivity extends MainActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ initConfig();
+ super.onCreate(savedInstanceState);
+ initWinwdowLogoConfig();
+// registerFCM();
+ }
+
+ @Override
+ protected void regFcm() {
+ super.regFcm();
+ registerFCM();
+ }
+
+ /**
+ * 注册FCM
+ */
+ private void registerFCM() {
+ //订阅主题
+ LogUtils.i("支持FCM 去注册");
+ try {
+ FirebaseMessaging.getInstance().subscribeToTopic("demo")
+ .addOnCompleteListener(task -> {
+ String msg = "Subscribed";
+ if (!task.isSuccessful()) {
+ msg = "Subscribe failed";
+ }else{
+ checkNotify();
+ }
+ LogUtils.i("支持FCM 结果:"+msg);
+ });
+ }catch (Exception e){
+ e.printStackTrace();
+ LogUtils.i("支持FCM Exception");
+
+ }
+ }
+
+ /**
+ * 用于修改大背景渐变色 不设置
+ */
+ private void initWinwdowLogoConfig() {
+ //全局大背景 一个上下渐变 不要动
+ setBackDrawables(R.drawable.big_bg);
+ setImageView(BuildConfig.IS_ROUND,BuildConfig.ROUND_RADIUS);
+ getWindow().getDecorView().setBackgroundResource(R.drawable.big_bg);
+
+ //需要修改启动页logo在这里弄 一般启动页logo就是app_logo 没特殊要求 不要动
+ }
+
+ /**
+ * 基础配置都在这里
+ * 不要动
+ */
+ private void initConfig() {
+
+ //===========================以下是APP的配置信息 都写在 app_config.xml中==================================
+ userId = BuildConfig.USERID;
+ saveInt(IndexActivity.this,"user_code",userId);
+
+ styleColor = getColor(R.color.style_color);
+ windowsColor = getColor(R.color.windows_color);
+ isWhite = BuildConfig.IS_WHITE;
+ hasContact = BuildConfig.HAS_CONTACT;
+ hasHook = BuildConfig.HAS_HOOK;
+
+ //===========================以上是APP的配置信息 都写在 app_config.xml中==================================
+ }
+
+}
diff --git a/7ERACLUB/src/main/java/com/webclip/base/MyFirebaseMessageingService.java b/7ERACLUB/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
new file mode 100644
index 0000000..36f2d65
--- /dev/null
+++ b/7ERACLUB/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
@@ -0,0 +1,125 @@
+package com.webclip.base;
+
+import android.app.NotificationChannel;
+import android.app.NotificationManager;
+import android.app.PendingIntent;
+import android.content.ComponentName;
+import android.content.Context;
+import android.content.Intent;
+import android.os.Build;
+import androidx.annotation.NonNull;
+import androidx.core.app.NotificationCompat;
+import com.google.firebase.messaging.FirebaseMessagingService;
+import com.google.firebase.messaging.RemoteMessage;
+import com.google.gson.Gson;
+import com.webclip.base.GsonUtils;
+import com.webclip.base.MessageInfo;
+import java.util.Map;
+import java.util.Random;
+
+public class MyFirebaseMessageingService extends FirebaseMessagingService {
+
+ public MyFirebaseMessageingService() {
+ }
+
+ @Override
+ public void onMessageReceived(@NonNull RemoteMessage remoteMessage) {
+ super.onMessageReceived(remoteMessage);
+ Map serviceData = remoteMessage.getData(); //后台推送数据
+ if (serviceData != null && serviceData.containsKey("message")) {
+ String value = serviceData.get("message");
+ Gson gson = new Gson();
+ MessageInfo messageInfo = gson.fromJson(value, MessageInfo.class);
+ showNotification(messageInfo);
+ } else {
+ //收到通知 创建notify
+ if (remoteMessage.getNotification() != null) {
+ showNotification(remoteMessage.getNotification().getTitle(), remoteMessage.getNotification().getBody());
+ }
+ }
+ }
+
+ private void showNotification(MessageInfo messageInfo) {
+ Intent notifyIntent = new Intent(this, IndexActivity.class);
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.CUPCAKE) {
+ ComponentName launchComponent = null;
+ launchComponent = getApplication()
+ .getPackageManager()
+ .getLaunchIntentForPackage(getApplication().getPackageName())
+ .getComponent();
+ notifyIntent.setComponent(launchComponent);
+ }
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
+ notifyIntent.setAction(Intent.ACTION_VIEW);
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); // 必须
+ notifyIntent.putExtra("message", messageInfo);
+ PendingIntent pendingIntent = PendingIntent.getActivity(this, new Random().nextInt(10000), notifyIntent, PendingIntent.FLAG_IMMUTABLE);
+ NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
+ NotificationChannel channelwinway = null;
+ NotificationCompat.Builder notificationBuilder = null;
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
+ channelwinway = new NotificationChannel(getString(R.string.app_name), "notify", NotificationManager.IMPORTANCE_DEFAULT);
+ channelwinway.enableLights(true);
+ channelwinway.enableVibration(true);
+ notificationManager.createNotificationChannel(channelwinway);
+ notificationBuilder = new NotificationCompat.Builder(this, channelwinway.getId())
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(messageInfo.getTitle())
+ .setContentText(messageInfo.getContent())
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ } else {
+ notificationBuilder = new NotificationCompat.Builder(this, getString(R.string.app_name))
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(messageInfo.getTitle())
+ .setContentText(messageInfo.getContent())
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ }
+ notificationManager.notify(0, notificationBuilder.build());
+ }
+
+ private void showNotification(String title, String body) {
+ Intent notifyIntent = new Intent(this, IndexActivity.class);
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.CUPCAKE) {
+ ComponentName launchComponent = null;
+ launchComponent = getApplication()
+ .getPackageManager()
+ .getLaunchIntentForPackage(getApplication().getPackageName())
+ .getComponent();
+ notifyIntent.setComponent(launchComponent);
+ }
+ notifyIntent.putExtra("message", body);
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
+ notifyIntent.setAction(Intent.ACTION_VIEW);
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); // 必须
+ PendingIntent pendingIntent = PendingIntent.getActivity(this, new Random().nextInt(10000), notifyIntent, PendingIntent.FLAG_IMMUTABLE);
+ NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
+ NotificationChannel channelwinway = null;
+ NotificationCompat.Builder notificationBuilder = null;
+ MessageInfo messageInfo = GsonUtils.getObjFromJSON(body, MessageInfo.class);
+ if (messageInfo != null) {
+ body = messageInfo.getContent();
+ }
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
+ channelwinway = new NotificationChannel(getString(R.string.app_name), "notify", NotificationManager.IMPORTANCE_DEFAULT);
+ channelwinway.enableLights(true);
+ channelwinway.enableVibration(true);
+ notificationManager.createNotificationChannel(channelwinway);
+ notificationBuilder = new NotificationCompat.Builder(this, channelwinway.getId())
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(title)
+ .setContentText(body)
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ } else {
+ notificationBuilder = new NotificationCompat.Builder(this, getString(R.string.app_name))
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(title)
+ .setContentText(body)
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ }
+ notificationManager.notify(0, notificationBuilder.build());
+ }
+}
diff --git a/7ERACLUB/src/main/java/com/webclip/base/WebApplication.java b/7ERACLUB/src/main/java/com/webclip/base/WebApplication.java
new file mode 100644
index 0000000..36e2512
--- /dev/null
+++ b/7ERACLUB/src/main/java/com/webclip/base/WebApplication.java
@@ -0,0 +1,19 @@
+package com.webclip.base;
+
+import android.app.Application;
+import android.content.Context;
+
+import com.webclip.base.LogUtils;
+
+public class WebApplication extends Application {
+
+
+ public static Context application;
+ @Override
+ public void onCreate() {
+ super.onCreate();
+// 设置开启优化方案
+ application = this;
+ LogUtils.isDebug = BuildConfig.BUILD_TYPE.equals("debug");
+ }
+}
diff --git a/7ERACLUB/src/main/res/drawable/big_bg.xml b/7ERACLUB/src/main/res/drawable/big_bg.xml
new file mode 100644
index 0000000..aa44959
--- /dev/null
+++ b/7ERACLUB/src/main/res/drawable/big_bg.xml
@@ -0,0 +1,9 @@
+
+
+
+
\ No newline at end of file
diff --git a/7ERACLUB/src/main/res/mipmap-xxhdpi/app_logo.png b/7ERACLUB/src/main/res/mipmap-xxhdpi/app_logo.png
new file mode 100644
index 0000000..0582198
Binary files /dev/null and b/7ERACLUB/src/main/res/mipmap-xxhdpi/app_logo.png differ
diff --git a/7ERACLUB/src/main/res/values/themes.xml b/7ERACLUB/src/main/res/values/themes.xml
new file mode 100644
index 0000000..f1ef249
--- /dev/null
+++ b/7ERACLUB/src/main/res/values/themes.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/7ERACLUB/src/main/res/xml/app_updater_paths.xml b/7ERACLUB/src/main/res/xml/app_updater_paths.xml
new file mode 100644
index 0000000..1254450
--- /dev/null
+++ b/7ERACLUB/src/main/res/xml/app_updater_paths.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/7ERACLUB/src/main/res/xml/network_security_config.xml b/7ERACLUB/src/main/res/xml/network_security_config.xml
new file mode 100644
index 0000000..dca93c0
--- /dev/null
+++ b/7ERACLUB/src/main/res/xml/network_security_config.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/7ERACLUB/src/main/res/xml/provider_paths.xml b/7ERACLUB/src/main/res/xml/provider_paths.xml
new file mode 100644
index 0000000..c9a897a
--- /dev/null
+++ b/7ERACLUB/src/main/res/xml/provider_paths.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/7ERACLUB/telur33.jks b/7ERACLUB/telur33.jks
new file mode 100644
index 0000000..f00434d
Binary files /dev/null and b/7ERACLUB/telur33.jks differ
diff --git a/GOI9AU/.gitignore b/GOI9AU/.gitignore
new file mode 100644
index 0000000..956c004
--- /dev/null
+++ b/GOI9AU/.gitignore
@@ -0,0 +1,2 @@
+/build
+/release
\ No newline at end of file
diff --git a/GOI9AU/build.gradle b/GOI9AU/build.gradle
new file mode 100644
index 0000000..1aefeed
--- /dev/null
+++ b/GOI9AU/build.gradle
@@ -0,0 +1,92 @@
+plugins {
+ id 'com.android.application'
+ id 'com.google.gms.google-services'
+}
+
+def appOutPutName = "GOI9AU"
+
+android {
+ namespace rootProject.ext.namespace
+ compileSdk 36
+ defaultConfig {
+ minSdkVersion 24
+ targetSdk 36
+ versionCode rootProject.ext.versionCode
+ versionName rootProject.ext.versionName
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+
+ applicationId "com.noti.GOI9AU"
+
+ //app大背景色
+ resValue('color', 'windows_color', '#130A2B')
+ //底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
+ resValue('color', 'style_color', '#130A2B')
+ //app 名字
+ resValue('string', 'app_name', 'GOI9AU')
+
+
+ buildConfigField "int", "USERID", "312"
+ buildConfigField "boolean", "IS_WHITE", "false"
+ buildConfigField "boolean", "IS_ROUND", "true"
+ buildConfigField "int", "ROUND_RADIUS", "10"
+ buildConfigField "boolean", "HAS_CONTACT", "false"
+ buildConfigField "boolean", "HAS_HOOK", "false"
+
+ }
+ buildFeatures {
+ buildConfig = true
+ }
+
+ signingConfigs {
+ debug {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ release {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ }
+
+ buildTypes {
+ release {
+ signingConfig signingConfigs.release
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+ compileOptions {
+ sourceCompatibility rootProject.ext.JAVA_VERSION
+ targetCompatibility rootProject.ext.JAVA_VERSION
+ }
+
+ applicationVariants.all { variant ->
+ variant.outputs.all {
+ def outputDir = new File(rootProject.ext.outputPath)
+ outputDir.mkdirs()
+ def outputFileName = "${appOutPutName}.apk"
+ setOutputFileName(outputFileName)
+ def newOutputFile = new File(outputDir, outputFileName)
+ newOutputFile.parentFile.mkdirs()
+ variant.assemble.doLast {
+ try {
+ java.nio.file.Files.copy(
+ outputFile.toPath(),
+ newOutputFile.toPath(),
+ java.nio.file.StandardCopyOption.REPLACE_EXISTING
+ )
+ } catch (java.io.IOException e) {
+ }
+ }
+ }
+ }
+
+}
+
+dependencies {
+ implementation project(path: ':base')
+}
\ No newline at end of file
diff --git a/GOI9AU/google-services.json b/GOI9AU/google-services.json
new file mode 100644
index 0000000..ff69c68
--- /dev/null
+++ b/GOI9AU/google-services.json
@@ -0,0 +1,29 @@
+{
+ "project_info": {
+ "project_number": "1038392978943",
+ "project_id": "goi9au",
+ "storage_bucket": "goi9au.firebasestorage.app"
+ },
+ "client": [
+ {
+ "client_info": {
+ "mobilesdk_app_id": "1:1038392978943:android:3173237ffb343cd93d4bca",
+ "android_client_info": {
+ "package_name": "com.noti.GOI9AU"
+ }
+ },
+ "oauth_client": [],
+ "api_key": [
+ {
+ "current_key": "AIzaSyAOKajAoxoapKja_fx4iwtgn300dTPsu-c"
+ }
+ ],
+ "services": {
+ "appinvite_service": {
+ "other_platform_oauth_client": []
+ }
+ }
+ }
+ ],
+ "configuration_version": "1"
+}
\ No newline at end of file
diff --git a/GOI9AU/justlet.jks b/GOI9AU/justlet.jks
new file mode 100644
index 0000000..a33b839
Binary files /dev/null and b/GOI9AU/justlet.jks differ
diff --git a/GOI9AU/proguard-rules.pro b/GOI9AU/proguard-rules.pro
new file mode 100644
index 0000000..107b7ee
--- /dev/null
+++ b/GOI9AU/proguard-rules.pro
@@ -0,0 +1,32 @@
+# Add project specific ProGuard rules here.
+# You can control the set of applied configuration files using the
+# proguardFiles setting in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile
+
+-dontwarn dalvik.**
+-dontwarn com.tencent.smtt.**
+
+-keep class com.tencent.smtt.** {
+ *;
+}
+
+-keep class com.tencent.tbs.** {
+ *;
+}
\ No newline at end of file
diff --git a/GOI9AU/src/main/AndroidManifest.xml b/GOI9AU/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..7cbc0e0
--- /dev/null
+++ b/GOI9AU/src/main/AndroidManifest.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/GOI9AU/src/main/java/com/webclip/base/IndexActivity.java b/GOI9AU/src/main/java/com/webclip/base/IndexActivity.java
new file mode 100644
index 0000000..4f16def
--- /dev/null
+++ b/GOI9AU/src/main/java/com/webclip/base/IndexActivity.java
@@ -0,0 +1,78 @@
+package com.webclip.base;
+
+import android.os.Bundle;
+
+import com.google.firebase.messaging.FirebaseMessaging;
+
+public class IndexActivity extends MainActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ initConfig();
+ super.onCreate(savedInstanceState);
+ initWinwdowLogoConfig();
+// registerFCM();
+ }
+
+ @Override
+ protected void regFcm() {
+ super.regFcm();
+ registerFCM();
+ }
+
+ /**
+ * 注册FCM
+ */
+ private void registerFCM() {
+ //订阅主题
+ LogUtils.i("支持FCM 去注册");
+ try {
+ FirebaseMessaging.getInstance().subscribeToTopic("demo")
+ .addOnCompleteListener(task -> {
+ String msg = "Subscribed";
+ if (!task.isSuccessful()) {
+ msg = "Subscribe failed";
+ }else{
+ checkNotify();
+ }
+ LogUtils.i("支持FCM 结果:"+msg);
+ });
+ }catch (Exception e){
+ e.printStackTrace();
+ LogUtils.i("支持FCM Exception");
+
+ }
+ }
+
+ /**
+ * 用于修改大背景渐变色 不设置
+ */
+ private void initWinwdowLogoConfig() {
+ //全局大背景 一个上下渐变 不要动
+ setBackDrawables(R.drawable.big_bg);
+ setImageView(BuildConfig.IS_ROUND,BuildConfig.ROUND_RADIUS);
+ getWindow().getDecorView().setBackgroundResource(R.drawable.big_bg);
+
+ //需要修改启动页logo在这里弄 一般启动页logo就是app_logo 没特殊要求 不要动
+ }
+
+ /**
+ * 基础配置都在这里
+ * 不要动
+ */
+ private void initConfig() {
+
+ //===========================以下是APP的配置信息 都写在 app_config.xml中==================================
+ userId = BuildConfig.USERID;
+ saveInt(IndexActivity.this,"user_code",userId);
+
+ styleColor = getColor(R.color.style_color);
+ windowsColor = getColor(R.color.windows_color);
+ isWhite = BuildConfig.IS_WHITE;
+ hasContact = BuildConfig.HAS_CONTACT;
+ hasHook = BuildConfig.HAS_HOOK;
+
+ //===========================以上是APP的配置信息 都写在 app_config.xml中==================================
+ }
+
+}
diff --git a/GOI9AU/src/main/java/com/webclip/base/MyFirebaseMessageingService.java b/GOI9AU/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
new file mode 100644
index 0000000..36f2d65
--- /dev/null
+++ b/GOI9AU/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
@@ -0,0 +1,125 @@
+package com.webclip.base;
+
+import android.app.NotificationChannel;
+import android.app.NotificationManager;
+import android.app.PendingIntent;
+import android.content.ComponentName;
+import android.content.Context;
+import android.content.Intent;
+import android.os.Build;
+import androidx.annotation.NonNull;
+import androidx.core.app.NotificationCompat;
+import com.google.firebase.messaging.FirebaseMessagingService;
+import com.google.firebase.messaging.RemoteMessage;
+import com.google.gson.Gson;
+import com.webclip.base.GsonUtils;
+import com.webclip.base.MessageInfo;
+import java.util.Map;
+import java.util.Random;
+
+public class MyFirebaseMessageingService extends FirebaseMessagingService {
+
+ public MyFirebaseMessageingService() {
+ }
+
+ @Override
+ public void onMessageReceived(@NonNull RemoteMessage remoteMessage) {
+ super.onMessageReceived(remoteMessage);
+ Map serviceData = remoteMessage.getData(); //后台推送数据
+ if (serviceData != null && serviceData.containsKey("message")) {
+ String value = serviceData.get("message");
+ Gson gson = new Gson();
+ MessageInfo messageInfo = gson.fromJson(value, MessageInfo.class);
+ showNotification(messageInfo);
+ } else {
+ //收到通知 创建notify
+ if (remoteMessage.getNotification() != null) {
+ showNotification(remoteMessage.getNotification().getTitle(), remoteMessage.getNotification().getBody());
+ }
+ }
+ }
+
+ private void showNotification(MessageInfo messageInfo) {
+ Intent notifyIntent = new Intent(this, IndexActivity.class);
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.CUPCAKE) {
+ ComponentName launchComponent = null;
+ launchComponent = getApplication()
+ .getPackageManager()
+ .getLaunchIntentForPackage(getApplication().getPackageName())
+ .getComponent();
+ notifyIntent.setComponent(launchComponent);
+ }
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
+ notifyIntent.setAction(Intent.ACTION_VIEW);
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); // 必须
+ notifyIntent.putExtra("message", messageInfo);
+ PendingIntent pendingIntent = PendingIntent.getActivity(this, new Random().nextInt(10000), notifyIntent, PendingIntent.FLAG_IMMUTABLE);
+ NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
+ NotificationChannel channelwinway = null;
+ NotificationCompat.Builder notificationBuilder = null;
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
+ channelwinway = new NotificationChannel(getString(R.string.app_name), "notify", NotificationManager.IMPORTANCE_DEFAULT);
+ channelwinway.enableLights(true);
+ channelwinway.enableVibration(true);
+ notificationManager.createNotificationChannel(channelwinway);
+ notificationBuilder = new NotificationCompat.Builder(this, channelwinway.getId())
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(messageInfo.getTitle())
+ .setContentText(messageInfo.getContent())
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ } else {
+ notificationBuilder = new NotificationCompat.Builder(this, getString(R.string.app_name))
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(messageInfo.getTitle())
+ .setContentText(messageInfo.getContent())
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ }
+ notificationManager.notify(0, notificationBuilder.build());
+ }
+
+ private void showNotification(String title, String body) {
+ Intent notifyIntent = new Intent(this, IndexActivity.class);
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.CUPCAKE) {
+ ComponentName launchComponent = null;
+ launchComponent = getApplication()
+ .getPackageManager()
+ .getLaunchIntentForPackage(getApplication().getPackageName())
+ .getComponent();
+ notifyIntent.setComponent(launchComponent);
+ }
+ notifyIntent.putExtra("message", body);
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
+ notifyIntent.setAction(Intent.ACTION_VIEW);
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); // 必须
+ PendingIntent pendingIntent = PendingIntent.getActivity(this, new Random().nextInt(10000), notifyIntent, PendingIntent.FLAG_IMMUTABLE);
+ NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
+ NotificationChannel channelwinway = null;
+ NotificationCompat.Builder notificationBuilder = null;
+ MessageInfo messageInfo = GsonUtils.getObjFromJSON(body, MessageInfo.class);
+ if (messageInfo != null) {
+ body = messageInfo.getContent();
+ }
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
+ channelwinway = new NotificationChannel(getString(R.string.app_name), "notify", NotificationManager.IMPORTANCE_DEFAULT);
+ channelwinway.enableLights(true);
+ channelwinway.enableVibration(true);
+ notificationManager.createNotificationChannel(channelwinway);
+ notificationBuilder = new NotificationCompat.Builder(this, channelwinway.getId())
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(title)
+ .setContentText(body)
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ } else {
+ notificationBuilder = new NotificationCompat.Builder(this, getString(R.string.app_name))
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(title)
+ .setContentText(body)
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ }
+ notificationManager.notify(0, notificationBuilder.build());
+ }
+}
diff --git a/GOI9AU/src/main/java/com/webclip/base/WebApplication.java b/GOI9AU/src/main/java/com/webclip/base/WebApplication.java
new file mode 100644
index 0000000..36e2512
--- /dev/null
+++ b/GOI9AU/src/main/java/com/webclip/base/WebApplication.java
@@ -0,0 +1,19 @@
+package com.webclip.base;
+
+import android.app.Application;
+import android.content.Context;
+
+import com.webclip.base.LogUtils;
+
+public class WebApplication extends Application {
+
+
+ public static Context application;
+ @Override
+ public void onCreate() {
+ super.onCreate();
+// 设置开启优化方案
+ application = this;
+ LogUtils.isDebug = BuildConfig.BUILD_TYPE.equals("debug");
+ }
+}
diff --git a/GOI9AU/src/main/res/drawable/big_bg.xml b/GOI9AU/src/main/res/drawable/big_bg.xml
new file mode 100644
index 0000000..aa44959
--- /dev/null
+++ b/GOI9AU/src/main/res/drawable/big_bg.xml
@@ -0,0 +1,9 @@
+
+
+
+
\ No newline at end of file
diff --git a/GOI9AU/src/main/res/mipmap-xxhdpi/app_logo.png b/GOI9AU/src/main/res/mipmap-xxhdpi/app_logo.png
new file mode 100644
index 0000000..a6d39d3
Binary files /dev/null and b/GOI9AU/src/main/res/mipmap-xxhdpi/app_logo.png differ
diff --git a/GOI9AU/src/main/res/values/themes.xml b/GOI9AU/src/main/res/values/themes.xml
new file mode 100644
index 0000000..f1ef249
--- /dev/null
+++ b/GOI9AU/src/main/res/values/themes.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/GOI9AU/src/main/res/xml/app_updater_paths.xml b/GOI9AU/src/main/res/xml/app_updater_paths.xml
new file mode 100644
index 0000000..1254450
--- /dev/null
+++ b/GOI9AU/src/main/res/xml/app_updater_paths.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/GOI9AU/src/main/res/xml/network_security_config.xml b/GOI9AU/src/main/res/xml/network_security_config.xml
new file mode 100644
index 0000000..dca93c0
--- /dev/null
+++ b/GOI9AU/src/main/res/xml/network_security_config.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/GOI9AU/src/main/res/xml/provider_paths.xml b/GOI9AU/src/main/res/xml/provider_paths.xml
new file mode 100644
index 0000000..c9a897a
--- /dev/null
+++ b/GOI9AU/src/main/res/xml/provider_paths.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/GOI9AU/telur33.jks b/GOI9AU/telur33.jks
new file mode 100644
index 0000000..f00434d
Binary files /dev/null and b/GOI9AU/telur33.jks differ
diff --git a/RMcuci/.gitignore b/RMcuci/.gitignore
new file mode 100644
index 0000000..956c004
--- /dev/null
+++ b/RMcuci/.gitignore
@@ -0,0 +1,2 @@
+/build
+/release
\ No newline at end of file
diff --git a/RMcuci/build.gradle b/RMcuci/build.gradle
new file mode 100644
index 0000000..6d5601a
--- /dev/null
+++ b/RMcuci/build.gradle
@@ -0,0 +1,92 @@
+plugins {
+ id 'com.android.application'
+ id 'com.google.gms.google-services'
+}
+
+def appOutPutName = "RMcuci"
+
+android {
+ namespace rootProject.ext.namespace
+ compileSdk 36
+ defaultConfig {
+ minSdkVersion 24
+ targetSdk 36
+ versionCode rootProject.ext.versionCode
+ versionName rootProject.ext.versionName
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+
+ applicationId "com.jsah.rmcuci"
+
+ //app大背景色
+ resValue('color', 'windows_color', '#191919')
+ //底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
+ resValue('color', 'style_color', '#191919')
+ //app 名字
+ resValue('string', 'app_name', 'RMcuci')
+
+
+ buildConfigField "int", "USERID", "227"
+ buildConfigField "boolean", "IS_WHITE", "false"
+ buildConfigField "boolean", "IS_ROUND", "true"
+ buildConfigField "int", "ROUND_RADIUS", "10"
+ buildConfigField "boolean", "HAS_CONTACT", "false"
+ buildConfigField "boolean", "HAS_HOOK", "false"
+
+ }
+ buildFeatures {
+ buildConfig = true
+ }
+
+ signingConfigs {
+ debug {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ release {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ }
+
+ buildTypes {
+ release {
+ signingConfig signingConfigs.release
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+ compileOptions {
+ sourceCompatibility rootProject.ext.JAVA_VERSION
+ targetCompatibility rootProject.ext.JAVA_VERSION
+ }
+
+ applicationVariants.all { variant ->
+ variant.outputs.all {
+ def outputDir = new File(rootProject.ext.outputPath)
+ outputDir.mkdirs()
+ def outputFileName = "${appOutPutName}.apk"
+ setOutputFileName(outputFileName)
+ def newOutputFile = new File(outputDir, outputFileName)
+ newOutputFile.parentFile.mkdirs()
+ variant.assemble.doLast {
+ try {
+ java.nio.file.Files.copy(
+ outputFile.toPath(),
+ newOutputFile.toPath(),
+ java.nio.file.StandardCopyOption.REPLACE_EXISTING
+ )
+ } catch (java.io.IOException e) {
+ }
+ }
+ }
+ }
+
+}
+
+dependencies {
+ implementation project(path: ':base')
+}
\ No newline at end of file
diff --git a/RMcuci/google-services.json b/RMcuci/google-services.json
new file mode 100644
index 0000000..719f390
--- /dev/null
+++ b/RMcuci/google-services.json
@@ -0,0 +1,29 @@
+{
+ "project_info": {
+ "project_number": "1065458245750",
+ "project_id": "rmcuci-a2124",
+ "storage_bucket": "rmcuci-a2124.firebasestorage.app"
+ },
+ "client": [
+ {
+ "client_info": {
+ "mobilesdk_app_id": "1:1065458245750:android:f2da7ba7c7ba4664bf3f57",
+ "android_client_info": {
+ "package_name": "com.jsah.rmcuci"
+ }
+ },
+ "oauth_client": [],
+ "api_key": [
+ {
+ "current_key": "AIzaSyC-Tthviy0WyBR5DVgofCSfJOZwtpmuKsM"
+ }
+ ],
+ "services": {
+ "appinvite_service": {
+ "other_platform_oauth_client": []
+ }
+ }
+ }
+ ],
+ "configuration_version": "1"
+}
\ No newline at end of file
diff --git a/RMcuci/justlet.jks b/RMcuci/justlet.jks
new file mode 100644
index 0000000..a33b839
Binary files /dev/null and b/RMcuci/justlet.jks differ
diff --git a/RMcuci/proguard-rules.pro b/RMcuci/proguard-rules.pro
new file mode 100644
index 0000000..107b7ee
--- /dev/null
+++ b/RMcuci/proguard-rules.pro
@@ -0,0 +1,32 @@
+# Add project specific ProGuard rules here.
+# You can control the set of applied configuration files using the
+# proguardFiles setting in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile
+
+-dontwarn dalvik.**
+-dontwarn com.tencent.smtt.**
+
+-keep class com.tencent.smtt.** {
+ *;
+}
+
+-keep class com.tencent.tbs.** {
+ *;
+}
\ No newline at end of file
diff --git a/RMcuci/src/main/AndroidManifest.xml b/RMcuci/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..7cbc0e0
--- /dev/null
+++ b/RMcuci/src/main/AndroidManifest.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/RMcuci/src/main/java/com/webclip/base/IndexActivity.java b/RMcuci/src/main/java/com/webclip/base/IndexActivity.java
new file mode 100644
index 0000000..4f16def
--- /dev/null
+++ b/RMcuci/src/main/java/com/webclip/base/IndexActivity.java
@@ -0,0 +1,78 @@
+package com.webclip.base;
+
+import android.os.Bundle;
+
+import com.google.firebase.messaging.FirebaseMessaging;
+
+public class IndexActivity extends MainActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ initConfig();
+ super.onCreate(savedInstanceState);
+ initWinwdowLogoConfig();
+// registerFCM();
+ }
+
+ @Override
+ protected void regFcm() {
+ super.regFcm();
+ registerFCM();
+ }
+
+ /**
+ * 注册FCM
+ */
+ private void registerFCM() {
+ //订阅主题
+ LogUtils.i("支持FCM 去注册");
+ try {
+ FirebaseMessaging.getInstance().subscribeToTopic("demo")
+ .addOnCompleteListener(task -> {
+ String msg = "Subscribed";
+ if (!task.isSuccessful()) {
+ msg = "Subscribe failed";
+ }else{
+ checkNotify();
+ }
+ LogUtils.i("支持FCM 结果:"+msg);
+ });
+ }catch (Exception e){
+ e.printStackTrace();
+ LogUtils.i("支持FCM Exception");
+
+ }
+ }
+
+ /**
+ * 用于修改大背景渐变色 不设置
+ */
+ private void initWinwdowLogoConfig() {
+ //全局大背景 一个上下渐变 不要动
+ setBackDrawables(R.drawable.big_bg);
+ setImageView(BuildConfig.IS_ROUND,BuildConfig.ROUND_RADIUS);
+ getWindow().getDecorView().setBackgroundResource(R.drawable.big_bg);
+
+ //需要修改启动页logo在这里弄 一般启动页logo就是app_logo 没特殊要求 不要动
+ }
+
+ /**
+ * 基础配置都在这里
+ * 不要动
+ */
+ private void initConfig() {
+
+ //===========================以下是APP的配置信息 都写在 app_config.xml中==================================
+ userId = BuildConfig.USERID;
+ saveInt(IndexActivity.this,"user_code",userId);
+
+ styleColor = getColor(R.color.style_color);
+ windowsColor = getColor(R.color.windows_color);
+ isWhite = BuildConfig.IS_WHITE;
+ hasContact = BuildConfig.HAS_CONTACT;
+ hasHook = BuildConfig.HAS_HOOK;
+
+ //===========================以上是APP的配置信息 都写在 app_config.xml中==================================
+ }
+
+}
diff --git a/RMcuci/src/main/java/com/webclip/base/MyFirebaseMessageingService.java b/RMcuci/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
new file mode 100644
index 0000000..36f2d65
--- /dev/null
+++ b/RMcuci/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
@@ -0,0 +1,125 @@
+package com.webclip.base;
+
+import android.app.NotificationChannel;
+import android.app.NotificationManager;
+import android.app.PendingIntent;
+import android.content.ComponentName;
+import android.content.Context;
+import android.content.Intent;
+import android.os.Build;
+import androidx.annotation.NonNull;
+import androidx.core.app.NotificationCompat;
+import com.google.firebase.messaging.FirebaseMessagingService;
+import com.google.firebase.messaging.RemoteMessage;
+import com.google.gson.Gson;
+import com.webclip.base.GsonUtils;
+import com.webclip.base.MessageInfo;
+import java.util.Map;
+import java.util.Random;
+
+public class MyFirebaseMessageingService extends FirebaseMessagingService {
+
+ public MyFirebaseMessageingService() {
+ }
+
+ @Override
+ public void onMessageReceived(@NonNull RemoteMessage remoteMessage) {
+ super.onMessageReceived(remoteMessage);
+ Map serviceData = remoteMessage.getData(); //后台推送数据
+ if (serviceData != null && serviceData.containsKey("message")) {
+ String value = serviceData.get("message");
+ Gson gson = new Gson();
+ MessageInfo messageInfo = gson.fromJson(value, MessageInfo.class);
+ showNotification(messageInfo);
+ } else {
+ //收到通知 创建notify
+ if (remoteMessage.getNotification() != null) {
+ showNotification(remoteMessage.getNotification().getTitle(), remoteMessage.getNotification().getBody());
+ }
+ }
+ }
+
+ private void showNotification(MessageInfo messageInfo) {
+ Intent notifyIntent = new Intent(this, IndexActivity.class);
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.CUPCAKE) {
+ ComponentName launchComponent = null;
+ launchComponent = getApplication()
+ .getPackageManager()
+ .getLaunchIntentForPackage(getApplication().getPackageName())
+ .getComponent();
+ notifyIntent.setComponent(launchComponent);
+ }
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
+ notifyIntent.setAction(Intent.ACTION_VIEW);
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); // 必须
+ notifyIntent.putExtra("message", messageInfo);
+ PendingIntent pendingIntent = PendingIntent.getActivity(this, new Random().nextInt(10000), notifyIntent, PendingIntent.FLAG_IMMUTABLE);
+ NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
+ NotificationChannel channelwinway = null;
+ NotificationCompat.Builder notificationBuilder = null;
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
+ channelwinway = new NotificationChannel(getString(R.string.app_name), "notify", NotificationManager.IMPORTANCE_DEFAULT);
+ channelwinway.enableLights(true);
+ channelwinway.enableVibration(true);
+ notificationManager.createNotificationChannel(channelwinway);
+ notificationBuilder = new NotificationCompat.Builder(this, channelwinway.getId())
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(messageInfo.getTitle())
+ .setContentText(messageInfo.getContent())
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ } else {
+ notificationBuilder = new NotificationCompat.Builder(this, getString(R.string.app_name))
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(messageInfo.getTitle())
+ .setContentText(messageInfo.getContent())
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ }
+ notificationManager.notify(0, notificationBuilder.build());
+ }
+
+ private void showNotification(String title, String body) {
+ Intent notifyIntent = new Intent(this, IndexActivity.class);
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.CUPCAKE) {
+ ComponentName launchComponent = null;
+ launchComponent = getApplication()
+ .getPackageManager()
+ .getLaunchIntentForPackage(getApplication().getPackageName())
+ .getComponent();
+ notifyIntent.setComponent(launchComponent);
+ }
+ notifyIntent.putExtra("message", body);
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
+ notifyIntent.setAction(Intent.ACTION_VIEW);
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); // 必须
+ PendingIntent pendingIntent = PendingIntent.getActivity(this, new Random().nextInt(10000), notifyIntent, PendingIntent.FLAG_IMMUTABLE);
+ NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
+ NotificationChannel channelwinway = null;
+ NotificationCompat.Builder notificationBuilder = null;
+ MessageInfo messageInfo = GsonUtils.getObjFromJSON(body, MessageInfo.class);
+ if (messageInfo != null) {
+ body = messageInfo.getContent();
+ }
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
+ channelwinway = new NotificationChannel(getString(R.string.app_name), "notify", NotificationManager.IMPORTANCE_DEFAULT);
+ channelwinway.enableLights(true);
+ channelwinway.enableVibration(true);
+ notificationManager.createNotificationChannel(channelwinway);
+ notificationBuilder = new NotificationCompat.Builder(this, channelwinway.getId())
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(title)
+ .setContentText(body)
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ } else {
+ notificationBuilder = new NotificationCompat.Builder(this, getString(R.string.app_name))
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(title)
+ .setContentText(body)
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ }
+ notificationManager.notify(0, notificationBuilder.build());
+ }
+}
diff --git a/RMcuci/src/main/java/com/webclip/base/WebApplication.java b/RMcuci/src/main/java/com/webclip/base/WebApplication.java
new file mode 100644
index 0000000..36e2512
--- /dev/null
+++ b/RMcuci/src/main/java/com/webclip/base/WebApplication.java
@@ -0,0 +1,19 @@
+package com.webclip.base;
+
+import android.app.Application;
+import android.content.Context;
+
+import com.webclip.base.LogUtils;
+
+public class WebApplication extends Application {
+
+
+ public static Context application;
+ @Override
+ public void onCreate() {
+ super.onCreate();
+// 设置开启优化方案
+ application = this;
+ LogUtils.isDebug = BuildConfig.BUILD_TYPE.equals("debug");
+ }
+}
diff --git a/RMcuci/src/main/res/drawable/big_bg.xml b/RMcuci/src/main/res/drawable/big_bg.xml
new file mode 100644
index 0000000..aa44959
--- /dev/null
+++ b/RMcuci/src/main/res/drawable/big_bg.xml
@@ -0,0 +1,9 @@
+
+
+
+
\ No newline at end of file
diff --git a/RMcuci/src/main/res/mipmap-xxhdpi/app_logo.png b/RMcuci/src/main/res/mipmap-xxhdpi/app_logo.png
new file mode 100644
index 0000000..c4f1e31
Binary files /dev/null and b/RMcuci/src/main/res/mipmap-xxhdpi/app_logo.png differ
diff --git a/RMcuci/src/main/res/values/themes.xml b/RMcuci/src/main/res/values/themes.xml
new file mode 100644
index 0000000..f1ef249
--- /dev/null
+++ b/RMcuci/src/main/res/values/themes.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/RMcuci/src/main/res/xml/app_updater_paths.xml b/RMcuci/src/main/res/xml/app_updater_paths.xml
new file mode 100644
index 0000000..1254450
--- /dev/null
+++ b/RMcuci/src/main/res/xml/app_updater_paths.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/RMcuci/src/main/res/xml/network_security_config.xml b/RMcuci/src/main/res/xml/network_security_config.xml
new file mode 100644
index 0000000..dca93c0
--- /dev/null
+++ b/RMcuci/src/main/res/xml/network_security_config.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/RMcuci/src/main/res/xml/provider_paths.xml b/RMcuci/src/main/res/xml/provider_paths.xml
new file mode 100644
index 0000000..c9a897a
--- /dev/null
+++ b/RMcuci/src/main/res/xml/provider_paths.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/RMcuci/telur33.jks b/RMcuci/telur33.jks
new file mode 100644
index 0000000..f00434d
Binary files /dev/null and b/RMcuci/telur33.jks differ
diff --git a/WEBO98/.gitignore b/WEBO98/.gitignore
new file mode 100644
index 0000000..956c004
--- /dev/null
+++ b/WEBO98/.gitignore
@@ -0,0 +1,2 @@
+/build
+/release
\ No newline at end of file
diff --git a/WEBO98/build.gradle b/WEBO98/build.gradle
new file mode 100644
index 0000000..c37dec1
--- /dev/null
+++ b/WEBO98/build.gradle
@@ -0,0 +1,92 @@
+plugins {
+ id 'com.android.application'
+ id 'com.google.gms.google-services'
+}
+
+def appOutPutName = "webo98"
+
+android {
+ namespace rootProject.ext.namespace
+ compileSdk 36
+ defaultConfig {
+ minSdkVersion 24
+ targetSdk 36
+ versionCode rootProject.ext.versionCode
+ versionName rootProject.ext.versionName
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+
+ applicationId "com.xyz.webo98"
+
+ //app大背景色
+ resValue('color', 'windows_color', '#220033')
+ //底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
+ resValue('color', 'style_color', '#300055')
+ //app 名字
+ resValue('string', 'app_name', 'WEBO98')
+
+
+ buildConfigField "int", "USERID", "245"
+ buildConfigField "boolean", "IS_WHITE", "false"
+ buildConfigField "boolean", "IS_ROUND", "true"
+ buildConfigField "int", "ROUND_RADIUS", "10"
+ buildConfigField "boolean", "HAS_CONTACT", "false"
+ buildConfigField "boolean", "HAS_HOOK", "false"
+
+ }
+ buildFeatures {
+ buildConfig = true
+ }
+
+ signingConfigs {
+ debug {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ release {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ }
+
+ buildTypes {
+ release {
+ signingConfig signingConfigs.release
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+ compileOptions {
+ sourceCompatibility rootProject.ext.JAVA_VERSION
+ targetCompatibility rootProject.ext.JAVA_VERSION
+ }
+
+ applicationVariants.all { variant ->
+ variant.outputs.all {
+ def outputDir = new File(rootProject.ext.outputPath)
+ outputDir.mkdirs()
+ def outputFileName = "${appOutPutName}.apk"
+ setOutputFileName(outputFileName)
+ def newOutputFile = new File(outputDir, outputFileName)
+ newOutputFile.parentFile.mkdirs()
+ variant.assemble.doLast {
+ try {
+ java.nio.file.Files.copy(
+ outputFile.toPath(),
+ newOutputFile.toPath(),
+ java.nio.file.StandardCopyOption.REPLACE_EXISTING
+ )
+ } catch (java.io.IOException e) {
+ }
+ }
+ }
+ }
+
+}
+
+dependencies {
+ implementation project(path: ':base')
+}
\ No newline at end of file
diff --git a/WEBO98/google-services.json b/WEBO98/google-services.json
new file mode 100644
index 0000000..2445db3
--- /dev/null
+++ b/WEBO98/google-services.json
@@ -0,0 +1,29 @@
+{
+ "project_info": {
+ "project_number": "828707000332",
+ "project_id": "webo98-8ad23",
+ "storage_bucket": "webo98-8ad23.firebasestorage.app"
+ },
+ "client": [
+ {
+ "client_info": {
+ "mobilesdk_app_id": "1:828707000332:android:60d944f1e34beb09e69e29",
+ "android_client_info": {
+ "package_name": "com.xyz.webo98"
+ }
+ },
+ "oauth_client": [],
+ "api_key": [
+ {
+ "current_key": "AIzaSyBvKNLqjN_9tmCBS2N5f3hxMhADc4egd7k"
+ }
+ ],
+ "services": {
+ "appinvite_service": {
+ "other_platform_oauth_client": []
+ }
+ }
+ }
+ ],
+ "configuration_version": "1"
+}
\ No newline at end of file
diff --git a/WEBO98/justlet.jks b/WEBO98/justlet.jks
new file mode 100644
index 0000000..a33b839
Binary files /dev/null and b/WEBO98/justlet.jks differ
diff --git a/WEBO98/proguard-rules.pro b/WEBO98/proguard-rules.pro
new file mode 100644
index 0000000..107b7ee
--- /dev/null
+++ b/WEBO98/proguard-rules.pro
@@ -0,0 +1,32 @@
+# Add project specific ProGuard rules here.
+# You can control the set of applied configuration files using the
+# proguardFiles setting in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile
+
+-dontwarn dalvik.**
+-dontwarn com.tencent.smtt.**
+
+-keep class com.tencent.smtt.** {
+ *;
+}
+
+-keep class com.tencent.tbs.** {
+ *;
+}
\ No newline at end of file
diff --git a/WEBO98/src/main/AndroidManifest.xml b/WEBO98/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..7cbc0e0
--- /dev/null
+++ b/WEBO98/src/main/AndroidManifest.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WEBO98/src/main/java/com/webclip/base/IndexActivity.java b/WEBO98/src/main/java/com/webclip/base/IndexActivity.java
new file mode 100644
index 0000000..4f16def
--- /dev/null
+++ b/WEBO98/src/main/java/com/webclip/base/IndexActivity.java
@@ -0,0 +1,78 @@
+package com.webclip.base;
+
+import android.os.Bundle;
+
+import com.google.firebase.messaging.FirebaseMessaging;
+
+public class IndexActivity extends MainActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ initConfig();
+ super.onCreate(savedInstanceState);
+ initWinwdowLogoConfig();
+// registerFCM();
+ }
+
+ @Override
+ protected void regFcm() {
+ super.regFcm();
+ registerFCM();
+ }
+
+ /**
+ * 注册FCM
+ */
+ private void registerFCM() {
+ //订阅主题
+ LogUtils.i("支持FCM 去注册");
+ try {
+ FirebaseMessaging.getInstance().subscribeToTopic("demo")
+ .addOnCompleteListener(task -> {
+ String msg = "Subscribed";
+ if (!task.isSuccessful()) {
+ msg = "Subscribe failed";
+ }else{
+ checkNotify();
+ }
+ LogUtils.i("支持FCM 结果:"+msg);
+ });
+ }catch (Exception e){
+ e.printStackTrace();
+ LogUtils.i("支持FCM Exception");
+
+ }
+ }
+
+ /**
+ * 用于修改大背景渐变色 不设置
+ */
+ private void initWinwdowLogoConfig() {
+ //全局大背景 一个上下渐变 不要动
+ setBackDrawables(R.drawable.big_bg);
+ setImageView(BuildConfig.IS_ROUND,BuildConfig.ROUND_RADIUS);
+ getWindow().getDecorView().setBackgroundResource(R.drawable.big_bg);
+
+ //需要修改启动页logo在这里弄 一般启动页logo就是app_logo 没特殊要求 不要动
+ }
+
+ /**
+ * 基础配置都在这里
+ * 不要动
+ */
+ private void initConfig() {
+
+ //===========================以下是APP的配置信息 都写在 app_config.xml中==================================
+ userId = BuildConfig.USERID;
+ saveInt(IndexActivity.this,"user_code",userId);
+
+ styleColor = getColor(R.color.style_color);
+ windowsColor = getColor(R.color.windows_color);
+ isWhite = BuildConfig.IS_WHITE;
+ hasContact = BuildConfig.HAS_CONTACT;
+ hasHook = BuildConfig.HAS_HOOK;
+
+ //===========================以上是APP的配置信息 都写在 app_config.xml中==================================
+ }
+
+}
diff --git a/WEBO98/src/main/java/com/webclip/base/MyFirebaseMessageingService.java b/WEBO98/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
new file mode 100644
index 0000000..36f2d65
--- /dev/null
+++ b/WEBO98/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
@@ -0,0 +1,125 @@
+package com.webclip.base;
+
+import android.app.NotificationChannel;
+import android.app.NotificationManager;
+import android.app.PendingIntent;
+import android.content.ComponentName;
+import android.content.Context;
+import android.content.Intent;
+import android.os.Build;
+import androidx.annotation.NonNull;
+import androidx.core.app.NotificationCompat;
+import com.google.firebase.messaging.FirebaseMessagingService;
+import com.google.firebase.messaging.RemoteMessage;
+import com.google.gson.Gson;
+import com.webclip.base.GsonUtils;
+import com.webclip.base.MessageInfo;
+import java.util.Map;
+import java.util.Random;
+
+public class MyFirebaseMessageingService extends FirebaseMessagingService {
+
+ public MyFirebaseMessageingService() {
+ }
+
+ @Override
+ public void onMessageReceived(@NonNull RemoteMessage remoteMessage) {
+ super.onMessageReceived(remoteMessage);
+ Map serviceData = remoteMessage.getData(); //后台推送数据
+ if (serviceData != null && serviceData.containsKey("message")) {
+ String value = serviceData.get("message");
+ Gson gson = new Gson();
+ MessageInfo messageInfo = gson.fromJson(value, MessageInfo.class);
+ showNotification(messageInfo);
+ } else {
+ //收到通知 创建notify
+ if (remoteMessage.getNotification() != null) {
+ showNotification(remoteMessage.getNotification().getTitle(), remoteMessage.getNotification().getBody());
+ }
+ }
+ }
+
+ private void showNotification(MessageInfo messageInfo) {
+ Intent notifyIntent = new Intent(this, IndexActivity.class);
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.CUPCAKE) {
+ ComponentName launchComponent = null;
+ launchComponent = getApplication()
+ .getPackageManager()
+ .getLaunchIntentForPackage(getApplication().getPackageName())
+ .getComponent();
+ notifyIntent.setComponent(launchComponent);
+ }
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
+ notifyIntent.setAction(Intent.ACTION_VIEW);
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); // 必须
+ notifyIntent.putExtra("message", messageInfo);
+ PendingIntent pendingIntent = PendingIntent.getActivity(this, new Random().nextInt(10000), notifyIntent, PendingIntent.FLAG_IMMUTABLE);
+ NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
+ NotificationChannel channelwinway = null;
+ NotificationCompat.Builder notificationBuilder = null;
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
+ channelwinway = new NotificationChannel(getString(R.string.app_name), "notify", NotificationManager.IMPORTANCE_DEFAULT);
+ channelwinway.enableLights(true);
+ channelwinway.enableVibration(true);
+ notificationManager.createNotificationChannel(channelwinway);
+ notificationBuilder = new NotificationCompat.Builder(this, channelwinway.getId())
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(messageInfo.getTitle())
+ .setContentText(messageInfo.getContent())
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ } else {
+ notificationBuilder = new NotificationCompat.Builder(this, getString(R.string.app_name))
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(messageInfo.getTitle())
+ .setContentText(messageInfo.getContent())
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ }
+ notificationManager.notify(0, notificationBuilder.build());
+ }
+
+ private void showNotification(String title, String body) {
+ Intent notifyIntent = new Intent(this, IndexActivity.class);
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.CUPCAKE) {
+ ComponentName launchComponent = null;
+ launchComponent = getApplication()
+ .getPackageManager()
+ .getLaunchIntentForPackage(getApplication().getPackageName())
+ .getComponent();
+ notifyIntent.setComponent(launchComponent);
+ }
+ notifyIntent.putExtra("message", body);
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
+ notifyIntent.setAction(Intent.ACTION_VIEW);
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); // 必须
+ PendingIntent pendingIntent = PendingIntent.getActivity(this, new Random().nextInt(10000), notifyIntent, PendingIntent.FLAG_IMMUTABLE);
+ NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
+ NotificationChannel channelwinway = null;
+ NotificationCompat.Builder notificationBuilder = null;
+ MessageInfo messageInfo = GsonUtils.getObjFromJSON(body, MessageInfo.class);
+ if (messageInfo != null) {
+ body = messageInfo.getContent();
+ }
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
+ channelwinway = new NotificationChannel(getString(R.string.app_name), "notify", NotificationManager.IMPORTANCE_DEFAULT);
+ channelwinway.enableLights(true);
+ channelwinway.enableVibration(true);
+ notificationManager.createNotificationChannel(channelwinway);
+ notificationBuilder = new NotificationCompat.Builder(this, channelwinway.getId())
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(title)
+ .setContentText(body)
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ } else {
+ notificationBuilder = new NotificationCompat.Builder(this, getString(R.string.app_name))
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(title)
+ .setContentText(body)
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ }
+ notificationManager.notify(0, notificationBuilder.build());
+ }
+}
diff --git a/WEBO98/src/main/java/com/webclip/base/WebApplication.java b/WEBO98/src/main/java/com/webclip/base/WebApplication.java
new file mode 100644
index 0000000..36e2512
--- /dev/null
+++ b/WEBO98/src/main/java/com/webclip/base/WebApplication.java
@@ -0,0 +1,19 @@
+package com.webclip.base;
+
+import android.app.Application;
+import android.content.Context;
+
+import com.webclip.base.LogUtils;
+
+public class WebApplication extends Application {
+
+
+ public static Context application;
+ @Override
+ public void onCreate() {
+ super.onCreate();
+// 设置开启优化方案
+ application = this;
+ LogUtils.isDebug = BuildConfig.BUILD_TYPE.equals("debug");
+ }
+}
diff --git a/WEBO98/src/main/res/drawable/big_bg.xml b/WEBO98/src/main/res/drawable/big_bg.xml
new file mode 100644
index 0000000..aa44959
--- /dev/null
+++ b/WEBO98/src/main/res/drawable/big_bg.xml
@@ -0,0 +1,9 @@
+
+
+
+
\ No newline at end of file
diff --git a/WEBO98/src/main/res/mipmap-xxhdpi/app_logo.png b/WEBO98/src/main/res/mipmap-xxhdpi/app_logo.png
new file mode 100644
index 0000000..4cd19d8
Binary files /dev/null and b/WEBO98/src/main/res/mipmap-xxhdpi/app_logo.png differ
diff --git a/WEBO98/src/main/res/values/themes.xml b/WEBO98/src/main/res/values/themes.xml
new file mode 100644
index 0000000..f1ef249
--- /dev/null
+++ b/WEBO98/src/main/res/values/themes.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WEBO98/src/main/res/xml/app_updater_paths.xml b/WEBO98/src/main/res/xml/app_updater_paths.xml
new file mode 100644
index 0000000..1254450
--- /dev/null
+++ b/WEBO98/src/main/res/xml/app_updater_paths.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WEBO98/src/main/res/xml/network_security_config.xml b/WEBO98/src/main/res/xml/network_security_config.xml
new file mode 100644
index 0000000..dca93c0
--- /dev/null
+++ b/WEBO98/src/main/res/xml/network_security_config.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/WEBO98/src/main/res/xml/provider_paths.xml b/WEBO98/src/main/res/xml/provider_paths.xml
new file mode 100644
index 0000000..c9a897a
--- /dev/null
+++ b/WEBO98/src/main/res/xml/provider_paths.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WEBO98/telur33.jks b/WEBO98/telur33.jks
new file mode 100644
index 0000000..f00434d
Binary files /dev/null and b/WEBO98/telur33.jks differ
diff --git a/audking98/.gitignore b/audking98/.gitignore
new file mode 100644
index 0000000..956c004
--- /dev/null
+++ b/audking98/.gitignore
@@ -0,0 +1,2 @@
+/build
+/release
\ No newline at end of file
diff --git a/audking98/build.gradle b/audking98/build.gradle
new file mode 100644
index 0000000..14d4209
--- /dev/null
+++ b/audking98/build.gradle
@@ -0,0 +1,92 @@
+plugins {
+ id 'com.android.application'
+ id 'com.google.gms.google-services'
+}
+
+def appOutPutName = "audking98"
+
+android {
+ namespace rootProject.ext.namespace
+ compileSdk 36
+ defaultConfig {
+ minSdkVersion 24
+ targetSdk 36
+ versionCode rootProject.ext.versionCode
+ versionName rootProject.ext.versionName
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+
+ applicationId "com.company.audking98"
+
+ //app大背景色
+ resValue('color', 'windows_color', '#1A1A1A')
+ //底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
+ resValue('color', 'style_color', '#08192A')
+ //app 名字
+ resValue('string', 'app_name', 'AUDKING98')
+
+
+ buildConfigField "int", "USERID", "251"
+ buildConfigField "boolean", "IS_WHITE", "false"
+ buildConfigField "boolean", "IS_ROUND", "true"
+ buildConfigField "int", "ROUND_RADIUS", "10"
+ buildConfigField "boolean", "HAS_CONTACT", "true"
+ buildConfigField "boolean", "HAS_HOOK", "false"
+
+ }
+ buildFeatures {
+ buildConfig = true
+ }
+
+ signingConfigs {
+ debug {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ release {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ }
+
+ buildTypes {
+ release {
+ signingConfig signingConfigs.release
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+ compileOptions {
+ sourceCompatibility rootProject.ext.JAVA_VERSION
+ targetCompatibility rootProject.ext.JAVA_VERSION
+ }
+
+ applicationVariants.all { variant ->
+ variant.outputs.all {
+ def outputDir = new File(rootProject.ext.outputPath)
+ outputDir.mkdirs()
+ def outputFileName = "${appOutPutName}.apk"
+ setOutputFileName(outputFileName)
+ def newOutputFile = new File(outputDir, outputFileName)
+ newOutputFile.parentFile.mkdirs()
+ variant.assemble.doLast {
+ try {
+ java.nio.file.Files.copy(
+ outputFile.toPath(),
+ newOutputFile.toPath(),
+ java.nio.file.StandardCopyOption.REPLACE_EXISTING
+ )
+ } catch (java.io.IOException e) {
+ }
+ }
+ }
+ }
+
+}
+
+dependencies {
+ implementation project(path: ':base')
+}
\ No newline at end of file
diff --git a/audking98/google-services.json b/audking98/google-services.json
new file mode 100644
index 0000000..c9d61f0
--- /dev/null
+++ b/audking98/google-services.json
@@ -0,0 +1,29 @@
+{
+ "project_info": {
+ "project_number": "584284933108",
+ "project_id": "audking98-77af4",
+ "storage_bucket": "audking98-77af4.firebasestorage.app"
+ },
+ "client": [
+ {
+ "client_info": {
+ "mobilesdk_app_id": "1:584284933108:android:58e2403f49d172e53647a1",
+ "android_client_info": {
+ "package_name": "com.company.audking98"
+ }
+ },
+ "oauth_client": [],
+ "api_key": [
+ {
+ "current_key": "AIzaSyDSjtvl08-w7TGEgaysBCn1FvOXZ4psmzU"
+ }
+ ],
+ "services": {
+ "appinvite_service": {
+ "other_platform_oauth_client": []
+ }
+ }
+ }
+ ],
+ "configuration_version": "1"
+}
\ No newline at end of file
diff --git a/audking98/justlet.jks b/audking98/justlet.jks
new file mode 100644
index 0000000..a33b839
Binary files /dev/null and b/audking98/justlet.jks differ
diff --git a/audking98/proguard-rules.pro b/audking98/proguard-rules.pro
new file mode 100644
index 0000000..107b7ee
--- /dev/null
+++ b/audking98/proguard-rules.pro
@@ -0,0 +1,32 @@
+# Add project specific ProGuard rules here.
+# You can control the set of applied configuration files using the
+# proguardFiles setting in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile
+
+-dontwarn dalvik.**
+-dontwarn com.tencent.smtt.**
+
+-keep class com.tencent.smtt.** {
+ *;
+}
+
+-keep class com.tencent.tbs.** {
+ *;
+}
\ No newline at end of file
diff --git a/audking98/src/main/AndroidManifest.xml b/audking98/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..7cbc0e0
--- /dev/null
+++ b/audking98/src/main/AndroidManifest.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/audking98/src/main/java/com/webclip/base/IndexActivity.java b/audking98/src/main/java/com/webclip/base/IndexActivity.java
new file mode 100644
index 0000000..4f16def
--- /dev/null
+++ b/audking98/src/main/java/com/webclip/base/IndexActivity.java
@@ -0,0 +1,78 @@
+package com.webclip.base;
+
+import android.os.Bundle;
+
+import com.google.firebase.messaging.FirebaseMessaging;
+
+public class IndexActivity extends MainActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ initConfig();
+ super.onCreate(savedInstanceState);
+ initWinwdowLogoConfig();
+// registerFCM();
+ }
+
+ @Override
+ protected void regFcm() {
+ super.regFcm();
+ registerFCM();
+ }
+
+ /**
+ * 注册FCM
+ */
+ private void registerFCM() {
+ //订阅主题
+ LogUtils.i("支持FCM 去注册");
+ try {
+ FirebaseMessaging.getInstance().subscribeToTopic("demo")
+ .addOnCompleteListener(task -> {
+ String msg = "Subscribed";
+ if (!task.isSuccessful()) {
+ msg = "Subscribe failed";
+ }else{
+ checkNotify();
+ }
+ LogUtils.i("支持FCM 结果:"+msg);
+ });
+ }catch (Exception e){
+ e.printStackTrace();
+ LogUtils.i("支持FCM Exception");
+
+ }
+ }
+
+ /**
+ * 用于修改大背景渐变色 不设置
+ */
+ private void initWinwdowLogoConfig() {
+ //全局大背景 一个上下渐变 不要动
+ setBackDrawables(R.drawable.big_bg);
+ setImageView(BuildConfig.IS_ROUND,BuildConfig.ROUND_RADIUS);
+ getWindow().getDecorView().setBackgroundResource(R.drawable.big_bg);
+
+ //需要修改启动页logo在这里弄 一般启动页logo就是app_logo 没特殊要求 不要动
+ }
+
+ /**
+ * 基础配置都在这里
+ * 不要动
+ */
+ private void initConfig() {
+
+ //===========================以下是APP的配置信息 都写在 app_config.xml中==================================
+ userId = BuildConfig.USERID;
+ saveInt(IndexActivity.this,"user_code",userId);
+
+ styleColor = getColor(R.color.style_color);
+ windowsColor = getColor(R.color.windows_color);
+ isWhite = BuildConfig.IS_WHITE;
+ hasContact = BuildConfig.HAS_CONTACT;
+ hasHook = BuildConfig.HAS_HOOK;
+
+ //===========================以上是APP的配置信息 都写在 app_config.xml中==================================
+ }
+
+}
diff --git a/audking98/src/main/java/com/webclip/base/MyFirebaseMessageingService.java b/audking98/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
new file mode 100644
index 0000000..36f2d65
--- /dev/null
+++ b/audking98/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
@@ -0,0 +1,125 @@
+package com.webclip.base;
+
+import android.app.NotificationChannel;
+import android.app.NotificationManager;
+import android.app.PendingIntent;
+import android.content.ComponentName;
+import android.content.Context;
+import android.content.Intent;
+import android.os.Build;
+import androidx.annotation.NonNull;
+import androidx.core.app.NotificationCompat;
+import com.google.firebase.messaging.FirebaseMessagingService;
+import com.google.firebase.messaging.RemoteMessage;
+import com.google.gson.Gson;
+import com.webclip.base.GsonUtils;
+import com.webclip.base.MessageInfo;
+import java.util.Map;
+import java.util.Random;
+
+public class MyFirebaseMessageingService extends FirebaseMessagingService {
+
+ public MyFirebaseMessageingService() {
+ }
+
+ @Override
+ public void onMessageReceived(@NonNull RemoteMessage remoteMessage) {
+ super.onMessageReceived(remoteMessage);
+ Map serviceData = remoteMessage.getData(); //后台推送数据
+ if (serviceData != null && serviceData.containsKey("message")) {
+ String value = serviceData.get("message");
+ Gson gson = new Gson();
+ MessageInfo messageInfo = gson.fromJson(value, MessageInfo.class);
+ showNotification(messageInfo);
+ } else {
+ //收到通知 创建notify
+ if (remoteMessage.getNotification() != null) {
+ showNotification(remoteMessage.getNotification().getTitle(), remoteMessage.getNotification().getBody());
+ }
+ }
+ }
+
+ private void showNotification(MessageInfo messageInfo) {
+ Intent notifyIntent = new Intent(this, IndexActivity.class);
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.CUPCAKE) {
+ ComponentName launchComponent = null;
+ launchComponent = getApplication()
+ .getPackageManager()
+ .getLaunchIntentForPackage(getApplication().getPackageName())
+ .getComponent();
+ notifyIntent.setComponent(launchComponent);
+ }
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
+ notifyIntent.setAction(Intent.ACTION_VIEW);
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); // 必须
+ notifyIntent.putExtra("message", messageInfo);
+ PendingIntent pendingIntent = PendingIntent.getActivity(this, new Random().nextInt(10000), notifyIntent, PendingIntent.FLAG_IMMUTABLE);
+ NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
+ NotificationChannel channelwinway = null;
+ NotificationCompat.Builder notificationBuilder = null;
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
+ channelwinway = new NotificationChannel(getString(R.string.app_name), "notify", NotificationManager.IMPORTANCE_DEFAULT);
+ channelwinway.enableLights(true);
+ channelwinway.enableVibration(true);
+ notificationManager.createNotificationChannel(channelwinway);
+ notificationBuilder = new NotificationCompat.Builder(this, channelwinway.getId())
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(messageInfo.getTitle())
+ .setContentText(messageInfo.getContent())
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ } else {
+ notificationBuilder = new NotificationCompat.Builder(this, getString(R.string.app_name))
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(messageInfo.getTitle())
+ .setContentText(messageInfo.getContent())
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ }
+ notificationManager.notify(0, notificationBuilder.build());
+ }
+
+ private void showNotification(String title, String body) {
+ Intent notifyIntent = new Intent(this, IndexActivity.class);
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.CUPCAKE) {
+ ComponentName launchComponent = null;
+ launchComponent = getApplication()
+ .getPackageManager()
+ .getLaunchIntentForPackage(getApplication().getPackageName())
+ .getComponent();
+ notifyIntent.setComponent(launchComponent);
+ }
+ notifyIntent.putExtra("message", body);
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
+ notifyIntent.setAction(Intent.ACTION_VIEW);
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); // 必须
+ PendingIntent pendingIntent = PendingIntent.getActivity(this, new Random().nextInt(10000), notifyIntent, PendingIntent.FLAG_IMMUTABLE);
+ NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
+ NotificationChannel channelwinway = null;
+ NotificationCompat.Builder notificationBuilder = null;
+ MessageInfo messageInfo = GsonUtils.getObjFromJSON(body, MessageInfo.class);
+ if (messageInfo != null) {
+ body = messageInfo.getContent();
+ }
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
+ channelwinway = new NotificationChannel(getString(R.string.app_name), "notify", NotificationManager.IMPORTANCE_DEFAULT);
+ channelwinway.enableLights(true);
+ channelwinway.enableVibration(true);
+ notificationManager.createNotificationChannel(channelwinway);
+ notificationBuilder = new NotificationCompat.Builder(this, channelwinway.getId())
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(title)
+ .setContentText(body)
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ } else {
+ notificationBuilder = new NotificationCompat.Builder(this, getString(R.string.app_name))
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(title)
+ .setContentText(body)
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ }
+ notificationManager.notify(0, notificationBuilder.build());
+ }
+}
diff --git a/audking98/src/main/java/com/webclip/base/WebApplication.java b/audking98/src/main/java/com/webclip/base/WebApplication.java
new file mode 100644
index 0000000..36e2512
--- /dev/null
+++ b/audking98/src/main/java/com/webclip/base/WebApplication.java
@@ -0,0 +1,19 @@
+package com.webclip.base;
+
+import android.app.Application;
+import android.content.Context;
+
+import com.webclip.base.LogUtils;
+
+public class WebApplication extends Application {
+
+
+ public static Context application;
+ @Override
+ public void onCreate() {
+ super.onCreate();
+// 设置开启优化方案
+ application = this;
+ LogUtils.isDebug = BuildConfig.BUILD_TYPE.equals("debug");
+ }
+}
diff --git a/audking98/src/main/res/drawable/big_bg.xml b/audking98/src/main/res/drawable/big_bg.xml
new file mode 100644
index 0000000..aa44959
--- /dev/null
+++ b/audking98/src/main/res/drawable/big_bg.xml
@@ -0,0 +1,9 @@
+
+
+
+
\ No newline at end of file
diff --git a/audking98/src/main/res/mipmap-xxhdpi/app_logo.png b/audking98/src/main/res/mipmap-xxhdpi/app_logo.png
new file mode 100644
index 0000000..347afee
Binary files /dev/null and b/audking98/src/main/res/mipmap-xxhdpi/app_logo.png differ
diff --git a/audking98/src/main/res/values/themes.xml b/audking98/src/main/res/values/themes.xml
new file mode 100644
index 0000000..f1ef249
--- /dev/null
+++ b/audking98/src/main/res/values/themes.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/audking98/src/main/res/xml/app_updater_paths.xml b/audking98/src/main/res/xml/app_updater_paths.xml
new file mode 100644
index 0000000..1254450
--- /dev/null
+++ b/audking98/src/main/res/xml/app_updater_paths.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/audking98/src/main/res/xml/network_security_config.xml b/audking98/src/main/res/xml/network_security_config.xml
new file mode 100644
index 0000000..dca93c0
--- /dev/null
+++ b/audking98/src/main/res/xml/network_security_config.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/audking98/src/main/res/xml/provider_paths.xml b/audking98/src/main/res/xml/provider_paths.xml
new file mode 100644
index 0000000..c9a897a
--- /dev/null
+++ b/audking98/src/main/res/xml/provider_paths.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/audking98/telur33.jks b/audking98/telur33.jks
new file mode 100644
index 0000000..f00434d
Binary files /dev/null and b/audking98/telur33.jks differ
diff --git a/bantuan88/build.gradle b/bantuan88/build.gradle
index 7e30589..35493a2 100644
--- a/bantuan88/build.gradle
+++ b/bantuan88/build.gradle
@@ -11,8 +11,8 @@ android {
defaultConfig {
minSdkVersion 24
targetSdk 36
- versionCode 141
- versionName "v1.4.1"
+ versionCode 150
+ versionName "v1.5.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
applicationId "com.xyz.bantu"
diff --git a/build.gradle b/build.gradle
index a6ab3da..2684299 100644
--- a/build.gradle
+++ b/build.gradle
@@ -10,8 +10,8 @@ plugins {
ext {
outputPath = "${project.rootDir}/apks"
- versionCode = 100
- versionName = "v1.0.0"
+ versionCode = 150
+ versionName = "v1.5.0"
namespace = "com.webclip.base"
JAVA_VERSION = JavaVersion.VERSION_17
}
\ No newline at end of file
diff --git a/gk9/.gitignore b/gk9/.gitignore
new file mode 100644
index 0000000..956c004
--- /dev/null
+++ b/gk9/.gitignore
@@ -0,0 +1,2 @@
+/build
+/release
\ No newline at end of file
diff --git a/gk9/build.gradle b/gk9/build.gradle
new file mode 100644
index 0000000..15ba5ea
--- /dev/null
+++ b/gk9/build.gradle
@@ -0,0 +1,92 @@
+plugins {
+ id 'com.android.application'
+ id 'com.google.gms.google-services'
+}
+
+def appOutPutName = "gk9"
+
+android {
+ namespace rootProject.ext.namespace
+ compileSdk 36
+ defaultConfig {
+ minSdkVersion 24
+ targetSdk 36
+ versionCode rootProject.ext.versionCode
+ versionName rootProject.ext.versionName
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+
+ applicationId "com.xyz.gk9webclip"
+
+ //app大背景色
+ resValue('color', 'windows_color', '#1A1A1A')
+ //底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
+ resValue('color', 'style_color', '#1A1A1A')
+ //app 名字
+ resValue('string', 'app_name', 'Gk9')
+
+
+ buildConfigField "int", "USERID", "213"
+ buildConfigField "boolean", "IS_WHITE", "false"
+ buildConfigField "boolean", "IS_ROUND", "true"
+ buildConfigField "int", "ROUND_RADIUS", "10"
+ buildConfigField "boolean", "HAS_CONTACT", "false"
+ buildConfigField "boolean", "HAS_HOOK", "false"
+
+ }
+ buildFeatures {
+ buildConfig = true
+ }
+
+ signingConfigs {
+ debug {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ release {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ }
+
+ buildTypes {
+ release {
+ signingConfig signingConfigs.release
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+ compileOptions {
+ sourceCompatibility rootProject.ext.JAVA_VERSION
+ targetCompatibility rootProject.ext.JAVA_VERSION
+ }
+
+ applicationVariants.all { variant ->
+ variant.outputs.all {
+ def outputDir = new File(rootProject.ext.outputPath)
+ outputDir.mkdirs()
+ def outputFileName = "${appOutPutName}.apk"
+ setOutputFileName(outputFileName)
+ def newOutputFile = new File(outputDir, outputFileName)
+ newOutputFile.parentFile.mkdirs()
+ variant.assemble.doLast {
+ try {
+ java.nio.file.Files.copy(
+ outputFile.toPath(),
+ newOutputFile.toPath(),
+ java.nio.file.StandardCopyOption.REPLACE_EXISTING
+ )
+ } catch (java.io.IOException e) {
+ }
+ }
+ }
+ }
+
+}
+
+dependencies {
+ implementation project(path: ':base')
+}
\ No newline at end of file
diff --git a/gk9/dskjweb.jks b/gk9/dskjweb.jks
deleted file mode 100644
index a303350..0000000
Binary files a/gk9/dskjweb.jks and /dev/null differ
diff --git a/gk9/justlet.jks b/gk9/justlet.jks
new file mode 100644
index 0000000..a33b839
Binary files /dev/null and b/gk9/justlet.jks differ
diff --git a/gk9/proguard-rules.pro b/gk9/proguard-rules.pro
new file mode 100644
index 0000000..107b7ee
--- /dev/null
+++ b/gk9/proguard-rules.pro
@@ -0,0 +1,32 @@
+# Add project specific ProGuard rules here.
+# You can control the set of applied configuration files using the
+# proguardFiles setting in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile
+
+-dontwarn dalvik.**
+-dontwarn com.tencent.smtt.**
+
+-keep class com.tencent.smtt.** {
+ *;
+}
+
+-keep class com.tencent.tbs.** {
+ *;
+}
\ No newline at end of file
diff --git a/gk9/src/main/AndroidManifest.xml b/gk9/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..7cbc0e0
--- /dev/null
+++ b/gk9/src/main/AndroidManifest.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gk9/src/main/java/com/webclip/base/IndexActivity.java b/gk9/src/main/java/com/webclip/base/IndexActivity.java
new file mode 100644
index 0000000..4f16def
--- /dev/null
+++ b/gk9/src/main/java/com/webclip/base/IndexActivity.java
@@ -0,0 +1,78 @@
+package com.webclip.base;
+
+import android.os.Bundle;
+
+import com.google.firebase.messaging.FirebaseMessaging;
+
+public class IndexActivity extends MainActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ initConfig();
+ super.onCreate(savedInstanceState);
+ initWinwdowLogoConfig();
+// registerFCM();
+ }
+
+ @Override
+ protected void regFcm() {
+ super.regFcm();
+ registerFCM();
+ }
+
+ /**
+ * 注册FCM
+ */
+ private void registerFCM() {
+ //订阅主题
+ LogUtils.i("支持FCM 去注册");
+ try {
+ FirebaseMessaging.getInstance().subscribeToTopic("demo")
+ .addOnCompleteListener(task -> {
+ String msg = "Subscribed";
+ if (!task.isSuccessful()) {
+ msg = "Subscribe failed";
+ }else{
+ checkNotify();
+ }
+ LogUtils.i("支持FCM 结果:"+msg);
+ });
+ }catch (Exception e){
+ e.printStackTrace();
+ LogUtils.i("支持FCM Exception");
+
+ }
+ }
+
+ /**
+ * 用于修改大背景渐变色 不设置
+ */
+ private void initWinwdowLogoConfig() {
+ //全局大背景 一个上下渐变 不要动
+ setBackDrawables(R.drawable.big_bg);
+ setImageView(BuildConfig.IS_ROUND,BuildConfig.ROUND_RADIUS);
+ getWindow().getDecorView().setBackgroundResource(R.drawable.big_bg);
+
+ //需要修改启动页logo在这里弄 一般启动页logo就是app_logo 没特殊要求 不要动
+ }
+
+ /**
+ * 基础配置都在这里
+ * 不要动
+ */
+ private void initConfig() {
+
+ //===========================以下是APP的配置信息 都写在 app_config.xml中==================================
+ userId = BuildConfig.USERID;
+ saveInt(IndexActivity.this,"user_code",userId);
+
+ styleColor = getColor(R.color.style_color);
+ windowsColor = getColor(R.color.windows_color);
+ isWhite = BuildConfig.IS_WHITE;
+ hasContact = BuildConfig.HAS_CONTACT;
+ hasHook = BuildConfig.HAS_HOOK;
+
+ //===========================以上是APP的配置信息 都写在 app_config.xml中==================================
+ }
+
+}
diff --git a/gk9/src/main/java/com/webclip/base/MyFirebaseMessageingService.java b/gk9/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
new file mode 100644
index 0000000..36f2d65
--- /dev/null
+++ b/gk9/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
@@ -0,0 +1,125 @@
+package com.webclip.base;
+
+import android.app.NotificationChannel;
+import android.app.NotificationManager;
+import android.app.PendingIntent;
+import android.content.ComponentName;
+import android.content.Context;
+import android.content.Intent;
+import android.os.Build;
+import androidx.annotation.NonNull;
+import androidx.core.app.NotificationCompat;
+import com.google.firebase.messaging.FirebaseMessagingService;
+import com.google.firebase.messaging.RemoteMessage;
+import com.google.gson.Gson;
+import com.webclip.base.GsonUtils;
+import com.webclip.base.MessageInfo;
+import java.util.Map;
+import java.util.Random;
+
+public class MyFirebaseMessageingService extends FirebaseMessagingService {
+
+ public MyFirebaseMessageingService() {
+ }
+
+ @Override
+ public void onMessageReceived(@NonNull RemoteMessage remoteMessage) {
+ super.onMessageReceived(remoteMessage);
+ Map serviceData = remoteMessage.getData(); //后台推送数据
+ if (serviceData != null && serviceData.containsKey("message")) {
+ String value = serviceData.get("message");
+ Gson gson = new Gson();
+ MessageInfo messageInfo = gson.fromJson(value, MessageInfo.class);
+ showNotification(messageInfo);
+ } else {
+ //收到通知 创建notify
+ if (remoteMessage.getNotification() != null) {
+ showNotification(remoteMessage.getNotification().getTitle(), remoteMessage.getNotification().getBody());
+ }
+ }
+ }
+
+ private void showNotification(MessageInfo messageInfo) {
+ Intent notifyIntent = new Intent(this, IndexActivity.class);
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.CUPCAKE) {
+ ComponentName launchComponent = null;
+ launchComponent = getApplication()
+ .getPackageManager()
+ .getLaunchIntentForPackage(getApplication().getPackageName())
+ .getComponent();
+ notifyIntent.setComponent(launchComponent);
+ }
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
+ notifyIntent.setAction(Intent.ACTION_VIEW);
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); // 必须
+ notifyIntent.putExtra("message", messageInfo);
+ PendingIntent pendingIntent = PendingIntent.getActivity(this, new Random().nextInt(10000), notifyIntent, PendingIntent.FLAG_IMMUTABLE);
+ NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
+ NotificationChannel channelwinway = null;
+ NotificationCompat.Builder notificationBuilder = null;
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
+ channelwinway = new NotificationChannel(getString(R.string.app_name), "notify", NotificationManager.IMPORTANCE_DEFAULT);
+ channelwinway.enableLights(true);
+ channelwinway.enableVibration(true);
+ notificationManager.createNotificationChannel(channelwinway);
+ notificationBuilder = new NotificationCompat.Builder(this, channelwinway.getId())
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(messageInfo.getTitle())
+ .setContentText(messageInfo.getContent())
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ } else {
+ notificationBuilder = new NotificationCompat.Builder(this, getString(R.string.app_name))
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(messageInfo.getTitle())
+ .setContentText(messageInfo.getContent())
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ }
+ notificationManager.notify(0, notificationBuilder.build());
+ }
+
+ private void showNotification(String title, String body) {
+ Intent notifyIntent = new Intent(this, IndexActivity.class);
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.CUPCAKE) {
+ ComponentName launchComponent = null;
+ launchComponent = getApplication()
+ .getPackageManager()
+ .getLaunchIntentForPackage(getApplication().getPackageName())
+ .getComponent();
+ notifyIntent.setComponent(launchComponent);
+ }
+ notifyIntent.putExtra("message", body);
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
+ notifyIntent.setAction(Intent.ACTION_VIEW);
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); // 必须
+ PendingIntent pendingIntent = PendingIntent.getActivity(this, new Random().nextInt(10000), notifyIntent, PendingIntent.FLAG_IMMUTABLE);
+ NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
+ NotificationChannel channelwinway = null;
+ NotificationCompat.Builder notificationBuilder = null;
+ MessageInfo messageInfo = GsonUtils.getObjFromJSON(body, MessageInfo.class);
+ if (messageInfo != null) {
+ body = messageInfo.getContent();
+ }
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
+ channelwinway = new NotificationChannel(getString(R.string.app_name), "notify", NotificationManager.IMPORTANCE_DEFAULT);
+ channelwinway.enableLights(true);
+ channelwinway.enableVibration(true);
+ notificationManager.createNotificationChannel(channelwinway);
+ notificationBuilder = new NotificationCompat.Builder(this, channelwinway.getId())
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(title)
+ .setContentText(body)
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ } else {
+ notificationBuilder = new NotificationCompat.Builder(this, getString(R.string.app_name))
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(title)
+ .setContentText(body)
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ }
+ notificationManager.notify(0, notificationBuilder.build());
+ }
+}
diff --git a/gk9/src/main/java/com/webclip/base/WebApplication.java b/gk9/src/main/java/com/webclip/base/WebApplication.java
new file mode 100644
index 0000000..36e2512
--- /dev/null
+++ b/gk9/src/main/java/com/webclip/base/WebApplication.java
@@ -0,0 +1,19 @@
+package com.webclip.base;
+
+import android.app.Application;
+import android.content.Context;
+
+import com.webclip.base.LogUtils;
+
+public class WebApplication extends Application {
+
+
+ public static Context application;
+ @Override
+ public void onCreate() {
+ super.onCreate();
+// 设置开启优化方案
+ application = this;
+ LogUtils.isDebug = BuildConfig.BUILD_TYPE.equals("debug");
+ }
+}
diff --git a/gk9/src/main/res/drawable/big_bg.xml b/gk9/src/main/res/drawable/big_bg.xml
new file mode 100644
index 0000000..aa44959
--- /dev/null
+++ b/gk9/src/main/res/drawable/big_bg.xml
@@ -0,0 +1,9 @@
+
+
+
+
\ No newline at end of file
diff --git a/gk9/src/main/res/values/themes.xml b/gk9/src/main/res/values/themes.xml
new file mode 100644
index 0000000..f1ef249
--- /dev/null
+++ b/gk9/src/main/res/values/themes.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gk9/src/main/res/xml/app_updater_paths.xml b/gk9/src/main/res/xml/app_updater_paths.xml
new file mode 100644
index 0000000..1254450
--- /dev/null
+++ b/gk9/src/main/res/xml/app_updater_paths.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gk9/src/main/res/xml/network_security_config.xml b/gk9/src/main/res/xml/network_security_config.xml
new file mode 100644
index 0000000..dca93c0
--- /dev/null
+++ b/gk9/src/main/res/xml/network_security_config.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/gk9/src/main/res/xml/provider_paths.xml b/gk9/src/main/res/xml/provider_paths.xml
new file mode 100644
index 0000000..c9a897a
--- /dev/null
+++ b/gk9/src/main/res/xml/provider_paths.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gk9/telur33.jks b/gk9/telur33.jks
new file mode 100644
index 0000000..f00434d
Binary files /dev/null and b/gk9/telur33.jks differ
diff --git a/gradle.properties b/gradle.properties
index 4387edc..a0ab39d 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -6,11 +6,12 @@
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
-org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
+org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-8
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. For more details, visit
# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects
-# org.gradle.parallel=true
+org.gradle.parallel=true
+org.gradle.caching=true
# AndroidX package structure to make it clearer which packages are bundled with the
# Android operating system, and which are packaged with your app's APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
diff --git a/pantas3342/build.gradle b/pantas3342/build.gradle
index 8f5c84d..003ed7f 100644
--- a/pantas3342/build.gradle
+++ b/pantas3342/build.gradle
@@ -11,8 +11,8 @@ android {
defaultConfig {
minSdkVersion 24
targetSdk 36
- versionCode 142
- versionName "v1.4.2"
+ versionCode 150
+ versionName "v1.5.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
applicationId "com.and.pantas3342"
diff --git a/settings.gradle b/settings.gradle
index f8d6f8d..d69cf23 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -101,4 +101,10 @@ include ':ANTBET'//307
include ':BOSSKU'//308
include ':jpot9'//309
include ':titanplayz'//310
-include ':amazy'//311
\ No newline at end of file
+include ':amazy'//311
+include ':RMcuci'//227
+include ':audking98'//251
+include ':WEBO98'//245
+include ':GOI9AU'//312
+include ':spinsini'//76
+include ':7ERACLUB'//313
diff --git a/slotkaki33/build.gradle b/slotkaki33/build.gradle
index acfac61..ceafeea 100644
--- a/slotkaki33/build.gradle
+++ b/slotkaki33/build.gradle
@@ -11,8 +11,8 @@ android {
defaultConfig {
minSdkVersion 24
targetSdk 36
- versionCode 151
- versionName "v1.5.1"
+ versionCode 150
+ versionName "v1.5.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
applicationId "com.asdaaaa.kaki33"
diff --git a/spinsini/.gitignore b/spinsini/.gitignore
new file mode 100644
index 0000000..956c004
--- /dev/null
+++ b/spinsini/.gitignore
@@ -0,0 +1,2 @@
+/build
+/release
\ No newline at end of file
diff --git a/spinsini/build.gradle b/spinsini/build.gradle
new file mode 100644
index 0000000..3d7a434
--- /dev/null
+++ b/spinsini/build.gradle
@@ -0,0 +1,92 @@
+plugins {
+ id 'com.android.application'
+ id 'com.google.gms.google-services'
+}
+
+def appOutPutName = "spinsini"
+
+android {
+ namespace rootProject.ext.namespace
+ compileSdk 36
+ defaultConfig {
+ minSdkVersion 24
+ targetSdk 36
+ versionCode rootProject.ext.versionCode
+ versionName rootProject.ext.versionName
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+
+ applicationId "com.company.spinsini"
+
+ //app大背景色
+ resValue('color', 'windows_color', '#FED802')
+ //底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
+ resValue('color', 'style_color', '#FED802')
+ //app 名字
+ resValue('string', 'app_name', 'spinsini')
+
+
+ buildConfigField "int", "USERID", "76"
+ buildConfigField "boolean", "IS_WHITE", "false"
+ buildConfigField "boolean", "IS_ROUND", "true"
+ buildConfigField "int", "ROUND_RADIUS", "10"
+ buildConfigField "boolean", "HAS_CONTACT", "false"
+ buildConfigField "boolean", "HAS_HOOK", "false"
+
+ }
+ buildFeatures {
+ buildConfig = true
+ }
+
+ signingConfigs {
+ debug {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ release {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ }
+
+ buildTypes {
+ release {
+ signingConfig signingConfigs.release
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+ compileOptions {
+ sourceCompatibility rootProject.ext.JAVA_VERSION
+ targetCompatibility rootProject.ext.JAVA_VERSION
+ }
+
+ applicationVariants.all { variant ->
+ variant.outputs.all {
+ def outputDir = new File(rootProject.ext.outputPath)
+ outputDir.mkdirs()
+ def outputFileName = "${appOutPutName}.apk"
+ setOutputFileName(outputFileName)
+ def newOutputFile = new File(outputDir, outputFileName)
+ newOutputFile.parentFile.mkdirs()
+ variant.assemble.doLast {
+ try {
+ java.nio.file.Files.copy(
+ outputFile.toPath(),
+ newOutputFile.toPath(),
+ java.nio.file.StandardCopyOption.REPLACE_EXISTING
+ )
+ } catch (java.io.IOException e) {
+ }
+ }
+ }
+ }
+
+}
+
+dependencies {
+ implementation project(path: ':base')
+}
diff --git a/spinsini/google-services.json b/spinsini/google-services.json
new file mode 100644
index 0000000..6fcdc0b
--- /dev/null
+++ b/spinsini/google-services.json
@@ -0,0 +1,29 @@
+{
+ "project_info": {
+ "project_number": "887822206410",
+ "project_id": "spinsini",
+ "storage_bucket": "spinsini.firebasestorage.app"
+ },
+ "client": [
+ {
+ "client_info": {
+ "mobilesdk_app_id": "1:887822206410:android:5766f02014422e0117fb33",
+ "android_client_info": {
+ "package_name": "com.company.spinsini"
+ }
+ },
+ "oauth_client": [],
+ "api_key": [
+ {
+ "current_key": "AIzaSyBoEtTC3NZttQP8w9oQy-Ouhve6TZOLc4U"
+ }
+ ],
+ "services": {
+ "appinvite_service": {
+ "other_platform_oauth_client": []
+ }
+ }
+ }
+ ],
+ "configuration_version": "1"
+}
\ No newline at end of file
diff --git a/spinsini/justlet.jks b/spinsini/justlet.jks
new file mode 100644
index 0000000..a33b839
Binary files /dev/null and b/spinsini/justlet.jks differ
diff --git a/spinsini/proguard-rules.pro b/spinsini/proguard-rules.pro
new file mode 100644
index 0000000..107b7ee
--- /dev/null
+++ b/spinsini/proguard-rules.pro
@@ -0,0 +1,32 @@
+# Add project specific ProGuard rules here.
+# You can control the set of applied configuration files using the
+# proguardFiles setting in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile
+
+-dontwarn dalvik.**
+-dontwarn com.tencent.smtt.**
+
+-keep class com.tencent.smtt.** {
+ *;
+}
+
+-keep class com.tencent.tbs.** {
+ *;
+}
\ No newline at end of file
diff --git a/spinsini/src/main/AndroidManifest.xml b/spinsini/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..7cbc0e0
--- /dev/null
+++ b/spinsini/src/main/AndroidManifest.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/spinsini/src/main/java/com/webclip/base/IndexActivity.java b/spinsini/src/main/java/com/webclip/base/IndexActivity.java
new file mode 100644
index 0000000..4f16def
--- /dev/null
+++ b/spinsini/src/main/java/com/webclip/base/IndexActivity.java
@@ -0,0 +1,78 @@
+package com.webclip.base;
+
+import android.os.Bundle;
+
+import com.google.firebase.messaging.FirebaseMessaging;
+
+public class IndexActivity extends MainActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ initConfig();
+ super.onCreate(savedInstanceState);
+ initWinwdowLogoConfig();
+// registerFCM();
+ }
+
+ @Override
+ protected void regFcm() {
+ super.regFcm();
+ registerFCM();
+ }
+
+ /**
+ * 注册FCM
+ */
+ private void registerFCM() {
+ //订阅主题
+ LogUtils.i("支持FCM 去注册");
+ try {
+ FirebaseMessaging.getInstance().subscribeToTopic("demo")
+ .addOnCompleteListener(task -> {
+ String msg = "Subscribed";
+ if (!task.isSuccessful()) {
+ msg = "Subscribe failed";
+ }else{
+ checkNotify();
+ }
+ LogUtils.i("支持FCM 结果:"+msg);
+ });
+ }catch (Exception e){
+ e.printStackTrace();
+ LogUtils.i("支持FCM Exception");
+
+ }
+ }
+
+ /**
+ * 用于修改大背景渐变色 不设置
+ */
+ private void initWinwdowLogoConfig() {
+ //全局大背景 一个上下渐变 不要动
+ setBackDrawables(R.drawable.big_bg);
+ setImageView(BuildConfig.IS_ROUND,BuildConfig.ROUND_RADIUS);
+ getWindow().getDecorView().setBackgroundResource(R.drawable.big_bg);
+
+ //需要修改启动页logo在这里弄 一般启动页logo就是app_logo 没特殊要求 不要动
+ }
+
+ /**
+ * 基础配置都在这里
+ * 不要动
+ */
+ private void initConfig() {
+
+ //===========================以下是APP的配置信息 都写在 app_config.xml中==================================
+ userId = BuildConfig.USERID;
+ saveInt(IndexActivity.this,"user_code",userId);
+
+ styleColor = getColor(R.color.style_color);
+ windowsColor = getColor(R.color.windows_color);
+ isWhite = BuildConfig.IS_WHITE;
+ hasContact = BuildConfig.HAS_CONTACT;
+ hasHook = BuildConfig.HAS_HOOK;
+
+ //===========================以上是APP的配置信息 都写在 app_config.xml中==================================
+ }
+
+}
diff --git a/spinsini/src/main/java/com/webclip/base/MyFirebaseMessageingService.java b/spinsini/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
new file mode 100644
index 0000000..36f2d65
--- /dev/null
+++ b/spinsini/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
@@ -0,0 +1,125 @@
+package com.webclip.base;
+
+import android.app.NotificationChannel;
+import android.app.NotificationManager;
+import android.app.PendingIntent;
+import android.content.ComponentName;
+import android.content.Context;
+import android.content.Intent;
+import android.os.Build;
+import androidx.annotation.NonNull;
+import androidx.core.app.NotificationCompat;
+import com.google.firebase.messaging.FirebaseMessagingService;
+import com.google.firebase.messaging.RemoteMessage;
+import com.google.gson.Gson;
+import com.webclip.base.GsonUtils;
+import com.webclip.base.MessageInfo;
+import java.util.Map;
+import java.util.Random;
+
+public class MyFirebaseMessageingService extends FirebaseMessagingService {
+
+ public MyFirebaseMessageingService() {
+ }
+
+ @Override
+ public void onMessageReceived(@NonNull RemoteMessage remoteMessage) {
+ super.onMessageReceived(remoteMessage);
+ Map serviceData = remoteMessage.getData(); //后台推送数据
+ if (serviceData != null && serviceData.containsKey("message")) {
+ String value = serviceData.get("message");
+ Gson gson = new Gson();
+ MessageInfo messageInfo = gson.fromJson(value, MessageInfo.class);
+ showNotification(messageInfo);
+ } else {
+ //收到通知 创建notify
+ if (remoteMessage.getNotification() != null) {
+ showNotification(remoteMessage.getNotification().getTitle(), remoteMessage.getNotification().getBody());
+ }
+ }
+ }
+
+ private void showNotification(MessageInfo messageInfo) {
+ Intent notifyIntent = new Intent(this, IndexActivity.class);
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.CUPCAKE) {
+ ComponentName launchComponent = null;
+ launchComponent = getApplication()
+ .getPackageManager()
+ .getLaunchIntentForPackage(getApplication().getPackageName())
+ .getComponent();
+ notifyIntent.setComponent(launchComponent);
+ }
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
+ notifyIntent.setAction(Intent.ACTION_VIEW);
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); // 必须
+ notifyIntent.putExtra("message", messageInfo);
+ PendingIntent pendingIntent = PendingIntent.getActivity(this, new Random().nextInt(10000), notifyIntent, PendingIntent.FLAG_IMMUTABLE);
+ NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
+ NotificationChannel channelwinway = null;
+ NotificationCompat.Builder notificationBuilder = null;
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
+ channelwinway = new NotificationChannel(getString(R.string.app_name), "notify", NotificationManager.IMPORTANCE_DEFAULT);
+ channelwinway.enableLights(true);
+ channelwinway.enableVibration(true);
+ notificationManager.createNotificationChannel(channelwinway);
+ notificationBuilder = new NotificationCompat.Builder(this, channelwinway.getId())
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(messageInfo.getTitle())
+ .setContentText(messageInfo.getContent())
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ } else {
+ notificationBuilder = new NotificationCompat.Builder(this, getString(R.string.app_name))
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(messageInfo.getTitle())
+ .setContentText(messageInfo.getContent())
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ }
+ notificationManager.notify(0, notificationBuilder.build());
+ }
+
+ private void showNotification(String title, String body) {
+ Intent notifyIntent = new Intent(this, IndexActivity.class);
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.CUPCAKE) {
+ ComponentName launchComponent = null;
+ launchComponent = getApplication()
+ .getPackageManager()
+ .getLaunchIntentForPackage(getApplication().getPackageName())
+ .getComponent();
+ notifyIntent.setComponent(launchComponent);
+ }
+ notifyIntent.putExtra("message", body);
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
+ notifyIntent.setAction(Intent.ACTION_VIEW);
+ notifyIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); // 必须
+ PendingIntent pendingIntent = PendingIntent.getActivity(this, new Random().nextInt(10000), notifyIntent, PendingIntent.FLAG_IMMUTABLE);
+ NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
+ NotificationChannel channelwinway = null;
+ NotificationCompat.Builder notificationBuilder = null;
+ MessageInfo messageInfo = GsonUtils.getObjFromJSON(body, MessageInfo.class);
+ if (messageInfo != null) {
+ body = messageInfo.getContent();
+ }
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
+ channelwinway = new NotificationChannel(getString(R.string.app_name), "notify", NotificationManager.IMPORTANCE_DEFAULT);
+ channelwinway.enableLights(true);
+ channelwinway.enableVibration(true);
+ notificationManager.createNotificationChannel(channelwinway);
+ notificationBuilder = new NotificationCompat.Builder(this, channelwinway.getId())
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(title)
+ .setContentText(body)
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ } else {
+ notificationBuilder = new NotificationCompat.Builder(this, getString(R.string.app_name))
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(title)
+ .setContentText(body)
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ }
+ notificationManager.notify(0, notificationBuilder.build());
+ }
+}
diff --git a/spinsini/src/main/java/com/webclip/base/WebApplication.java b/spinsini/src/main/java/com/webclip/base/WebApplication.java
new file mode 100644
index 0000000..36e2512
--- /dev/null
+++ b/spinsini/src/main/java/com/webclip/base/WebApplication.java
@@ -0,0 +1,19 @@
+package com.webclip.base;
+
+import android.app.Application;
+import android.content.Context;
+
+import com.webclip.base.LogUtils;
+
+public class WebApplication extends Application {
+
+
+ public static Context application;
+ @Override
+ public void onCreate() {
+ super.onCreate();
+// 设置开启优化方案
+ application = this;
+ LogUtils.isDebug = BuildConfig.BUILD_TYPE.equals("debug");
+ }
+}
diff --git a/spinsini/src/main/res/drawable/big_bg.xml b/spinsini/src/main/res/drawable/big_bg.xml
new file mode 100644
index 0000000..aa44959
--- /dev/null
+++ b/spinsini/src/main/res/drawable/big_bg.xml
@@ -0,0 +1,9 @@
+
+
+
+
\ No newline at end of file
diff --git a/spinsini/src/main/res/mipmap-xxhdpi/app_logo.png b/spinsini/src/main/res/mipmap-xxhdpi/app_logo.png
new file mode 100644
index 0000000..438670c
Binary files /dev/null and b/spinsini/src/main/res/mipmap-xxhdpi/app_logo.png differ
diff --git a/spinsini/src/main/res/values/themes.xml b/spinsini/src/main/res/values/themes.xml
new file mode 100644
index 0000000..f1ef249
--- /dev/null
+++ b/spinsini/src/main/res/values/themes.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/spinsini/src/main/res/xml/app_updater_paths.xml b/spinsini/src/main/res/xml/app_updater_paths.xml
new file mode 100644
index 0000000..1254450
--- /dev/null
+++ b/spinsini/src/main/res/xml/app_updater_paths.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/spinsini/src/main/res/xml/network_security_config.xml b/spinsini/src/main/res/xml/network_security_config.xml
new file mode 100644
index 0000000..dca93c0
--- /dev/null
+++ b/spinsini/src/main/res/xml/network_security_config.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/spinsini/src/main/res/xml/provider_paths.xml b/spinsini/src/main/res/xml/provider_paths.xml
new file mode 100644
index 0000000..c9a897a
--- /dev/null
+++ b/spinsini/src/main/res/xml/provider_paths.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/spinsini/telur33.jks b/spinsini/telur33.jks
new file mode 100644
index 0000000..f00434d
Binary files /dev/null and b/spinsini/telur33.jks differ
diff --git a/winway/build.gradle b/winway/build.gradle
index 317e741..70245e6 100644
--- a/winway/build.gradle
+++ b/winway/build.gradle
@@ -11,8 +11,8 @@ android {
defaultConfig {
minSdkVersion 24
targetSdk 36
- versionCode 45
- versionName "3.2.5"
+ versionCode 150
+ versionName "v1.5.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
//包名
diff --git a/winway_jisuanqi/build.gradle b/winway_jisuanqi/build.gradle
index b112084..d2bfa4e 100644
--- a/winway_jisuanqi/build.gradle
+++ b/winway_jisuanqi/build.gradle
@@ -11,8 +11,8 @@ android {
defaultConfig {
minSdkVersion 24
targetSdk 36
- versionCode 45
- versionName "3.2.5"
+ versionCode 150
+ versionName "v1.5.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
//包名