feat: 更新多个模块的基础配置和资源文件

- 更新版本号至 v1.3.7
- 修改多个模块的 build.gradle 文件,更新应用 ID 和资源配置
- 新增 we1win、afb77au、bb8au、be9au、gg66au、sg99live、u8888aud、uu3au 模块的基础配置
- 删除 xoxoau8 模块及其相关文件
- 更新 Firebase 配置文件以匹配新的项目设置
This commit is contained in:
2026-05-06 17:18:52 +08:00
parent 27f8695ca6
commit a382297ec2
55 changed files with 174 additions and 695 deletions

View File

@@ -232,6 +232,42 @@
<option name="selectionMode" value="DROPDOWN" /> <option name="selectionMode" value="DROPDOWN" />
<DialogSelection /> <DialogSelection />
</SelectionState> </SelectionState>
<SelectionState runConfigName="we1win">
<option name="selectionMode" value="DROPDOWN" />
<DialogSelection />
</SelectionState>
<SelectionState runConfigName="afb77au">
<option name="selectionMode" value="DROPDOWN" />
<DialogSelection />
</SelectionState>
<SelectionState runConfigName="gg66au">
<option name="selectionMode" value="DROPDOWN" />
<DialogSelection />
</SelectionState>
<SelectionState runConfigName="bb8au">
<option name="selectionMode" value="DROPDOWN" />
<DialogSelection />
</SelectionState>
<SelectionState runConfigName="be9au">
<option name="selectionMode" value="DROPDOWN" />
<DialogSelection />
</SelectionState>
<SelectionState runConfigName="uu3au">
<option name="selectionMode" value="DROPDOWN" />
<DialogSelection />
</SelectionState>
<SelectionState runConfigName="u8888aud">
<option name="selectionMode" value="DROPDOWN" />
<DialogSelection />
</SelectionState>
<SelectionState runConfigName="xoxoau8">
<option name="selectionMode" value="DROPDOWN" />
<DialogSelection />
</SelectionState>
<SelectionState runConfigName="sg99live">
<option name="selectionMode" value="DROPDOWN" />
<DialogSelection />
</SelectionState>
</selectionStates> </selectionStates>
</component> </component>
</project> </project>

8
.idea/gradle.xml generated
View File

@@ -16,15 +16,19 @@
<option value="$PROJECT_DIR$/1xsands" /> <option value="$PROJECT_DIR$/1xsands" />
<option value="$PROJECT_DIR$/1xsgd" /> <option value="$PROJECT_DIR$/1xsgd" />
<option value="$PROJECT_DIR$/aa7au" /> <option value="$PROJECT_DIR$/aa7au" />
<option value="$PROJECT_DIR$/afb77au" />
<option value="$PROJECT_DIR$/auplayx" /> <option value="$PROJECT_DIR$/auplayx" />
<option value="$PROJECT_DIR$/bantuan88" /> <option value="$PROJECT_DIR$/bantuan88" />
<option value="$PROJECT_DIR$/base" /> <option value="$PROJECT_DIR$/base" />
<option value="$PROJECT_DIR$/base_noupdata" /> <option value="$PROJECT_DIR$/base_noupdata" />
<option value="$PROJECT_DIR$/bb8au" />
<option value="$PROJECT_DIR$/be9au" />
<option value="$PROJECT_DIR$/bng1au" /> <option value="$PROJECT_DIR$/bng1au" />
<option value="$PROJECT_DIR$/cosmojack" /> <option value="$PROJECT_DIR$/cosmojack" />
<option value="$PROJECT_DIR$/cucislot365" /> <option value="$PROJECT_DIR$/cucislot365" />
<option value="$PROJECT_DIR$/diriwan888" /> <option value="$PROJECT_DIR$/diriwan888" />
<option value="$PROJECT_DIR$/fight996" /> <option value="$PROJECT_DIR$/fight996" />
<option value="$PROJECT_DIR$/gg66au" />
<option value="$PROJECT_DIR$/gk9" /> <option value="$PROJECT_DIR$/gk9" />
<option value="$PROJECT_DIR$/jiliraja99" /> <option value="$PROJECT_DIR$/jiliraja99" />
<option value="$PROJECT_DIR$/jk123hk" /> <option value="$PROJECT_DIR$/jk123hk" />
@@ -41,10 +45,14 @@
<option value="$PROJECT_DIR$/protein" /> <option value="$PROJECT_DIR$/protein" />
<option value="$PROJECT_DIR$/redspin3343" /> <option value="$PROJECT_DIR$/redspin3343" />
<option value="$PROJECT_DIR$/redspin8" /> <option value="$PROJECT_DIR$/redspin8" />
<option value="$PROJECT_DIR$/sg99live" />
<option value="$PROJECT_DIR$/slotkaki33" /> <option value="$PROJECT_DIR$/slotkaki33" />
<option value="$PROJECT_DIR$/telur33" /> <option value="$PROJECT_DIR$/telur33" />
<option value="$PROJECT_DIR$/toke66a" /> <option value="$PROJECT_DIR$/toke66a" />
<option value="$PROJECT_DIR$/u8888aud" />
<option value="$PROJECT_DIR$/uu3au" />
<option value="$PROJECT_DIR$/vv88aud" /> <option value="$PROJECT_DIR$/vv88aud" />
<option value="$PROJECT_DIR$/we1win" />
<option value="$PROJECT_DIR$/winway" /> <option value="$PROJECT_DIR$/winway" />
<option value="$PROJECT_DIR$/winway_jisuanqi" /> <option value="$PROJECT_DIR$/winway_jisuanqi" />
<option value="$PROJECT_DIR$/xmeth98" /> <option value="$PROJECT_DIR$/xmeth98" />

View File

@@ -3,7 +3,7 @@ plugins {
id 'com.google.gms.google-services' id 'com.google.gms.google-services'
} }
def appOutPutName = "we1win" def appOutPutName = "afb77au"
android { android {
namespace rootProject.ext.namespace namespace rootProject.ext.namespace
@@ -15,18 +15,18 @@ android {
versionName rootProject.ext.versionName versionName rootProject.ext.versionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
applicationId "com.xyz.we1win" applicationId "com.xyz.afb77au"
//app大背景色 //app大背景色
resValue('color', 'windows_color', '#ECF6FF') resValue('color', 'windows_color', '#E4FBF7')
//底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色 //底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
resValue('color', 'style_color', '#2377C2') resValue('color', 'style_color', '#1ABEA8')
//app 名字 //app 名字
resValue('string', 'app_name', 'WE1WIN') resValue('string', 'app_name', 'AFB77AU')
buildConfigField "String", "BASE_URL", "\"https://live22x.com/\"" buildConfigField "String", "BASE_URL", "\"https://live22x.com/\""
buildConfigField "int", "USERID", "120" buildConfigField "int", "USERID", "143"
buildConfigField "boolean", "IS_WHITE", "false" buildConfigField "boolean", "IS_WHITE", "false"
buildConfigField "boolean", "IS_ROUND", "true" buildConfigField "boolean", "IS_ROUND", "true"
buildConfigField "int", "ROUND_RADIUS", "10" buildConfigField "int", "ROUND_RADIUS", "10"

View File

@@ -1,21 +1,21 @@
{ {
"project_info": { "project_info": {
"project_number": "499658261788", "project_number": "96100481294",
"project_id": "wew1wew-494b5", "project_id": "notiaf4b",
"storage_bucket": "wew1wew-494b5.firebasestorage.app" "storage_bucket": "notiaf4b.firebasestorage.app"
}, },
"client": [ "client": [
{ {
"client_info": { "client_info": {
"mobilesdk_app_id": "1:499658261788:android:d1bc33e4911c7ed34526d9", "mobilesdk_app_id": "1:96100481294:android:3f23e67f07d110d215bf5f",
"android_client_info": { "android_client_info": {
"package_name": "com.xyz.we1win" "package_name": "com.xyz.afb77au"
} }
}, },
"oauth_client": [], "oauth_client": [],
"api_key": [ "api_key": [
{ {
"current_key": "AIzaSyCVEvsHEC2TIlTAS_SX_z4mThfbTjKmefI" "current_key": "AIzaSyDhI18q_PSnh-2VMmk2U53wW5HfzblJ1-Q"
} }
], ],
"services": { "services": {

BIN
apks/afb77au.apk Normal file

Binary file not shown.

BIN
apks/bb8au.apk Normal file

Binary file not shown.

BIN
apks/be9au.apk Normal file

Binary file not shown.

BIN
apks/gg66au.apk Normal file

Binary file not shown.

BIN
apks/sg98live.apk Normal file

Binary file not shown.

BIN
apks/u8888aud.apk Normal file

Binary file not shown.

BIN
apks/u88aud.apk Normal file

Binary file not shown.

BIN
apks/uu33au.apk Normal file

Binary file not shown.

BIN
apks/we1win.apk Normal file

Binary file not shown.

Binary file not shown.

View File

@@ -139,15 +139,15 @@ public class MainActivity extends AppCompatActivity {
activityMain2Binding.backIv.setOnClickListener(view -> onBackPressed()); activityMain2Binding.backIv.setOnClickListener(view -> onBackPressed());
activityMain2Binding.tvLink.setText(Html.fromHtml("MISS<font color = '#e76d92'>AV</font>")); activityMain2Binding.tvLink.setText(Html.fromHtml("MISS<font color = '#e76d92'>AV</font>"));
activityMain2Binding.ivFacebook.setOnClickListener(view -> { // activityMain2Binding.ivFacebook.setOnClickListener(view -> {
toOtherApp(facebookUrl, "com.facebook.katana", 1); // toOtherApp(facebookUrl, "com.facebook.katana", 1);
}); // });
activityMain2Binding.ivTel.setOnClickListener(view -> { // activityMain2Binding.ivTel.setOnClickListener(view -> {
toOtherApp(telegramUrl, "org.telegram.messenger", 2); // toOtherApp(telegramUrl, "org.telegram.messenger", 2);
}); // });
activityMain2Binding.ivWhatsapp.setOnClickListener(view -> { // activityMain2Binding.ivWhatsapp.setOnClickListener(view -> {
toOtherApp(whatsappUrl, "com.whatsapp", 3); // toOtherApp(whatsappUrl, "com.whatsapp", 3);
}); // });
activityMain2Binding.ivHome.setOnClickListener(view -> { activityMain2Binding.ivHome.setOnClickListener(view -> {
activityMain2Binding.webview.loadUrl(url); activityMain2Binding.webview.loadUrl(url);
@@ -571,7 +571,7 @@ public class MainActivity extends AppCompatActivity {
} }
activityMain2Binding.btNotifyitem.setVisibility(View.VISIBLE); activityMain2Binding.btNotifyitem.setVisibility(View.GONE);
if (userId == 112 || userId == 87 || userId == 91 || userId == 93 if (userId == 112 || userId == 87 || userId == 91 || userId == 93
|| userId == 92 || userId == 84 || userId == 120 || userId == 70 || userId == 143 || userId == 149) { || userId == 92 || userId == 84 || userId == 120 || userId == 70 || userId == 143 || userId == 149) {
activityMain2Binding.btNotifyitem.setVisibility(View.INVISIBLE); activityMain2Binding.btNotifyitem.setVisibility(View.INVISIBLE);
@@ -665,19 +665,17 @@ public class MainActivity extends AppCompatActivity {
whatsappUrl = dataInfo.getWsUrl() == null ? "" : dataInfo.getWsUrl().trim(); whatsappUrl = dataInfo.getWsUrl() == null ? "" : dataInfo.getWsUrl().trim();
//外链逻辑修改 //外链逻辑修改
if (!TextUtils.isEmpty(facebookUrl)) { // if (!TextUtils.isEmpty(facebookUrl)) {
if (userId == 217 || userId == 211) { // if (userId == 217 || userId == 211) {
activityMain2Binding.btOtherapp.setVisibility(View.VISIBLE); // activityMain2Binding.btOtherapp.setVisibility(View.VISIBLE);
} else { // } else {
activityMain2Binding.btOtherapp.setVisibility(View.INVISIBLE); // activityMain2Binding.btOtherapp.setVisibility(View.INVISIBLE);
} // }
activityMain2Binding.ivFacebook.setVisibility(View.VISIBLE); // activityMain2Binding.ivFacebook.setVisibility(View.VISIBLE);
} // }
if (!TextUtils.isEmpty(telegramUrl)) { if (!TextUtils.isEmpty(telegramUrl)) {
if (userId == 217 || userId == 211) { if (userId == 217 || userId == 211) {
activityMain2Binding.ivFacebook.setVisibility(View.VISIBLE); activityMain2Binding.btOtherapp.setVisibility(View.VISIBLE);
} else {
activityMain2Binding.ivFacebook.setVisibility(View.INVISIBLE);
} }
activityMain2Binding.ivTel.setVisibility(View.VISIBLE); activityMain2Binding.ivTel.setVisibility(View.VISIBLE);
} }
@@ -691,7 +689,7 @@ public class MainActivity extends AppCompatActivity {
} }
if (userId == 143 || userId == 149) { if (userId == 143 || userId == 149) {
activityMain2Binding.btOtherapp.setVisibility(View.INVISIBLE); activityMain2Binding.btOtherapp.setVisibility(View.INVISIBLE);
activityMain2Binding.ivFacebook.setVisibility(View.GONE); // activityMain2Binding.ivFacebook.setVisibility(View.GONE);
activityMain2Binding.ivTel.setVisibility(View.GONE); activityMain2Binding.ivTel.setVisibility(View.GONE);
activityMain2Binding.ivWhatsapp.setVisibility(View.GONE); activityMain2Binding.ivWhatsapp.setVisibility(View.GONE);
activityMain2Binding.layoutOtherapp.setVisibility(View.GONE); activityMain2Binding.layoutOtherapp.setVisibility(View.GONE);

View File

@@ -249,6 +249,7 @@
android:textStyle="bold" /> android:textStyle="bold" />
</androidx.cardview.widget.CardView> </androidx.cardview.widget.CardView>
<!--
<androidx.cardview.widget.CardView <androidx.cardview.widget.CardView
android:id="@+id/iv_facebook" android:id="@+id/iv_facebook"
android:layout_width="50dp" android:layout_width="50dp"
@@ -264,6 +265,7 @@
android:layout_height="50dp" android:layout_height="50dp"
android:src="@mipmap/ic_facebook" /> android:src="@mipmap/ic_facebook" />
</androidx.cardview.widget.CardView> </androidx.cardview.widget.CardView>
-->
<androidx.cardview.widget.CardView <androidx.cardview.widget.CardView
android:id="@+id/iv_whatsapp" android:id="@+id/iv_whatsapp"

View File

@@ -558,7 +558,7 @@ public class MainActivity extends AppCompatActivity {
} }
activityMain2Binding.btNotifyitem.setVisibility(View.VISIBLE); activityMain2Binding.btNotifyitem.setVisibility(View.GONE);
if (userId == 112 || userId == 87 || userId == 91 || userId == 93 if (userId == 112 || userId == 87 || userId == 91 || userId == 93
|| userId == 92 || userId == 84 || userId == 120 || userId == 70 || userId == 143 || userId == 149) { || userId == 92 || userId == 84 || userId == 120 || userId == 70 || userId == 143 || userId == 149) {
activityMain2Binding.btNotifyitem.setVisibility(View.INVISIBLE); activityMain2Binding.btNotifyitem.setVisibility(View.INVISIBLE);

View File

@@ -3,7 +3,7 @@ plugins {
id 'com.google.gms.google-services' id 'com.google.gms.google-services'
} }
def appOutPutName = "gg66au" def appOutPutName = "bb8au"
android { android {
namespace rootProject.ext.namespace namespace rootProject.ext.namespace
@@ -15,18 +15,18 @@ android {
versionName rootProject.ext.versionName versionName rootProject.ext.versionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
applicationId "com.xyz.gg66au" applicationId "com.xyz.bb8au"
//app大背景色 //app大背景色
resValue('color', 'windows_color', '#04090E') resValue('color', 'windows_color', '#000000')
//底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色 //底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
resValue('color', 'style_color', '#04090E') resValue('color', 'style_color', '#000000')
//app 名字 //app 名字
resValue('string', 'app_name', 'GG66AU') resValue('string', 'app_name', 'BB8AU')
buildConfigField "String", "BASE_URL", "\"https://live22x.com/\"" buildConfigField "String", "BASE_URL", "\"https://live22x.com/\""
buildConfigField "int", "USERID", "198" buildConfigField "int", "USERID", "207"
buildConfigField "boolean", "IS_WHITE", "false" buildConfigField "boolean", "IS_WHITE", "false"
buildConfigField "boolean", "IS_ROUND", "true" buildConfigField "boolean", "IS_ROUND", "true"
buildConfigField "int", "ROUND_RADIUS", "10" buildConfigField "int", "ROUND_RADIUS", "10"

View File

@@ -1,21 +1,21 @@
{ {
"project_info": { "project_info": {
"project_number": "757741719996", "project_number": "919828684320",
"project_id": "notig4g66", "project_id": "notib4b8a1u",
"storage_bucket": "notig4g66.firebasestorage.app" "storage_bucket": "notib4b8a1u.firebasestorage.app"
}, },
"client": [ "client": [
{ {
"client_info": { "client_info": {
"mobilesdk_app_id": "1:757741719996:android:6fa024af53b8cb5c45dbb9", "mobilesdk_app_id": "1:919828684320:android:948fe8043f6c7aecb6a645",
"android_client_info": { "android_client_info": {
"package_name": "com.xyz.gg66au" "package_name": "com.xyz.bb8au"
} }
}, },
"oauth_client": [], "oauth_client": [],
"api_key": [ "api_key": [
{ {
"current_key": "AIzaSyA9kx3l5khta7C6YXpj6GO48KXNg9LMETg" "current_key": "AIzaSyC0XKgOmXqWB8XbZYKo9d2MD5cXDzFvB4k"
} }
], ],
"services": { "services": {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 475 KiB

After

Width:  |  Height:  |  Size: 282 KiB

View File

@@ -3,7 +3,7 @@ plugins {
id 'com.google.gms.google-services' id 'com.google.gms.google-services'
} }
def appOutPutName = "bb8au" def appOutPutName = "be9au"
android { android {
namespace rootProject.ext.namespace namespace rootProject.ext.namespace
@@ -15,18 +15,18 @@ android {
versionName rootProject.ext.versionName versionName rootProject.ext.versionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
applicationId "com.xyz.bb8au" applicationId "com.xyz.be9au"
//app大背景色 //app大背景色
resValue('color', 'windows_color', '#000000') resValue('color', 'windows_color', '#E7E7E7')
//底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色 //底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
resValue('color', 'style_color', '#000000') resValue('color', 'style_color', '#A23373')
//app 名字 //app 名字
resValue('string', 'app_name', 'BB8AU') resValue('string', 'app_name', 'BE9AU')
buildConfigField "String", "BASE_URL", "\"https://live22x.com/\"" buildConfigField "String", "BASE_URL", "\"https://live22x.com/\""
buildConfigField "int", "USERID", "207" buildConfigField "int", "USERID", "148"
buildConfigField "boolean", "IS_WHITE", "false" buildConfigField "boolean", "IS_WHITE", "false"
buildConfigField "boolean", "IS_ROUND", "true" buildConfigField "boolean", "IS_ROUND", "true"
buildConfigField "int", "ROUND_RADIUS", "10" buildConfigField "int", "ROUND_RADIUS", "10"

View File

@@ -1,21 +1,21 @@
{ {
"project_info": { "project_info": {
"project_number": "919828684320", "project_number": "282352500890",
"project_id": "notib4b8a1u", "project_id": "notib4e9",
"storage_bucket": "notib4b8a1u.firebasestorage.app" "storage_bucket": "notib4e9.firebasestorage.app"
}, },
"client": [ "client": [
{ {
"client_info": { "client_info": {
"mobilesdk_app_id": "1:919828684320:android:948fe8043f6c7aecb6a645", "mobilesdk_app_id": "1:282352500890:android:49dcf60011d0bc83ad9f23",
"android_client_info": { "android_client_info": {
"package_name": "com.xyz.bb8au" "package_name": "com.xyz.be9au"
} }
}, },
"oauth_client": [], "oauth_client": [],
"api_key": [ "api_key": [
{ {
"current_key": "AIzaSyC0XKgOmXqWB8XbZYKo9d2MD5cXDzFvB4k" "current_key": "AIzaSyCegeV1mLrb7aZyeuamU4XXM1LIaROjW1o"
} }
], ],
"services": { "services": {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 282 KiB

After

Width:  |  Height:  |  Size: 388 KiB

View File

@@ -10,8 +10,8 @@ plugins {
ext { ext {
outputPath = "${project.rootDir}/apks" outputPath = "${project.rootDir}/apks"
versionCode = 134 versionCode = 137
versionName = "v1.3.4" versionName = "v1.3.7"
namespace = "com.webclip.base" namespace = "com.webclip.base"
JAVA_VERSION = JavaVersion.VERSION_17 JAVA_VERSION = JavaVersion.VERSION_17
} }

View File

@@ -3,7 +3,7 @@ plugins {
id 'com.google.gms.google-services' id 'com.google.gms.google-services'
} }
def appOutPutName = "afb77au" def appOutPutName = "gg66au"
android { android {
namespace rootProject.ext.namespace namespace rootProject.ext.namespace
@@ -15,18 +15,18 @@ android {
versionName rootProject.ext.versionName versionName rootProject.ext.versionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
applicationId "com.xyz.afb77au" applicationId "com.xyz.gg66au"
//app大背景色 //app大背景色
resValue('color', 'windows_color', '#E4FBF7') resValue('color', 'windows_color', '#04090E')
//底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色 //底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
resValue('color', 'style_color', '#1ABEA8') resValue('color', 'style_color', '#04090E')
//app 名字 //app 名字
resValue('string', 'app_name', 'AFB77AU') resValue('string', 'app_name', 'GG66AU')
buildConfigField "String", "BASE_URL", "\"https://live22x.com/\"" buildConfigField "String", "BASE_URL", "\"https://live22x.com/\""
buildConfigField "int", "USERID", "143" buildConfigField "int", "USERID", "198"
buildConfigField "boolean", "IS_WHITE", "false" buildConfigField "boolean", "IS_WHITE", "false"
buildConfigField "boolean", "IS_ROUND", "true" buildConfigField "boolean", "IS_ROUND", "true"
buildConfigField "int", "ROUND_RADIUS", "10" buildConfigField "int", "ROUND_RADIUS", "10"

View File

@@ -1,21 +1,21 @@
{ {
"project_info": { "project_info": {
"project_number": "96100481294", "project_number": "757741719996",
"project_id": "notiaf4b", "project_id": "notig4g66",
"storage_bucket": "notiaf4b.firebasestorage.app" "storage_bucket": "notig4g66.firebasestorage.app"
}, },
"client": [ "client": [
{ {
"client_info": { "client_info": {
"mobilesdk_app_id": "1:96100481294:android:3f23e67f07d110d215bf5f", "mobilesdk_app_id": "1:757741719996:android:6fa024af53b8cb5c45dbb9",
"android_client_info": { "android_client_info": {
"package_name": "com.xyz.afb77au" "package_name": "com.xyz.gg66au"
} }
}, },
"oauth_client": [], "oauth_client": [],
"api_key": [ "api_key": [
{ {
"current_key": "AIzaSyDhI18q_PSnh-2VMmk2U53wW5HfzblJ1-Q" "current_key": "AIzaSyA9kx3l5khta7C6YXpj6GO48KXNg9LMETg"
} }
], ],
"services": { "services": {

View File

@@ -43,7 +43,7 @@ include ':slotkaki33' //223
include ':live22' //262 include ':live22' //262
include ':redspin3343' //263 include ':redspin3343' //263
include ':bantuan88' //174 include ':bantuan88' //174
include ':jk123hk' //264 include ':jk123hk' //263
include ':kaki33' //265 include ':kaki33' //265
include ':mgmhotram'//264 include ':mgmhotram'//264
include ':diriwan888' //265 include ':diriwan888' //265
@@ -59,3 +59,11 @@ include ':xoxau'//274
include ':1xace'//275 include ':1xace'//275
include ':vv88aud'//276 include ':vv88aud'//276
include ':pokies420'//277 include ':pokies420'//277
include ':we1win'//120
include ':afb77au'//143
include ':gg66au'//198
include ':bb8au'//207
include ':be9au'//148
include ':uu3au'//194
include ':u8888aud'//70
include ':sg99live'//278

View File

@@ -3,7 +3,7 @@ plugins {
id 'com.google.gms.google-services' id 'com.google.gms.google-services'
} }
def appOutPutName = "live22" def appOutPutName = "sg98live"
android { android {
namespace rootProject.ext.namespace namespace rootProject.ext.namespace
@@ -15,18 +15,18 @@ android {
versionName rootProject.ext.versionName versionName rootProject.ext.versionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
applicationId "com.daidn.live22" applicationId "com.ajgsdga.sg98live"
//app大背景色 //app大背景色
resValue('color', 'windows_color', '#440F6F') resValue('color', 'windows_color', '#FAFAFA')
//底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色 //底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
resValue('color', 'style_color', '#360B58') resValue('color', 'style_color', '#FAFAFA')
//app 名字 //app 名字
resValue('string', 'app_name', 'LIVE22') resValue('string', 'app_name', 'SG98LIVE')
buildConfigField "String", "BASE_URL", "\"https://live22x.com/\"" buildConfigField "String", "BASE_URL", "\"https://live22x.com/\""
buildConfigField "int", "USERID", "262" buildConfigField "int", "USERID", "278"
buildConfigField "boolean", "IS_WHITE", "false" buildConfigField "boolean", "IS_WHITE", "false"
buildConfigField "boolean", "IS_ROUND", "true" buildConfigField "boolean", "IS_ROUND", "true"
buildConfigField "int", "ROUND_RADIUS", "10" buildConfigField "int", "ROUND_RADIUS", "10"

View File

@@ -1,21 +1,21 @@
{ {
"project_info": { "project_info": {
"project_number": "717557626585", "project_number": "212547253709",
"project_id": "live22-997e3", "project_id": "sg99live-61713",
"storage_bucket": "live22-997e3.firebasestorage.app" "storage_bucket": "sg99live-61713.firebasestorage.app"
}, },
"client": [ "client": [
{ {
"client_info": { "client_info": {
"mobilesdk_app_id": "1:717557626585:android:4bd86e3e5e825bb85f70c8", "mobilesdk_app_id": "1:212547253709:android:b2f6dedf5fcdfcaf1a4084",
"android_client_info": { "android_client_info": {
"package_name": "com.daidn.live22" "package_name": "com.ajgsdga.sg98live"
} }
}, },
"oauth_client": [], "oauth_client": [],
"api_key": [ "api_key": [
{ {
"current_key": "AIzaSyBL6vtzuXlVfoSWiKHtk4p-TiLts0faqUQ" "current_key": "AIzaSyDaCSemUD652NQjWeJbOE2Qlc6yBrigocc"
} }
], ],
"services": { "services": {

View File

@@ -3,7 +3,7 @@ plugins {
id 'com.google.gms.google-services' id 'com.google.gms.google-services'
} }
def appOutPutName = "uu33au" def appOutPutName = "u8888aud"
android { android {
namespace rootProject.ext.namespace namespace rootProject.ext.namespace
@@ -15,18 +15,18 @@ android {
versionName rootProject.ext.versionName versionName rootProject.ext.versionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
applicationId "com.xyz.uu33au" applicationId "com.asjdusub.u8888aud"
//app大背景色 //app大背景色
resValue('color', 'windows_color', '#FFFFFF') resValue('color', 'windows_color', '#D3FFDC')
//底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色 //底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
resValue('color', 'style_color', '#FFFFFF') resValue('color', 'style_color', '#245825')
//app 名字 //app 名字
resValue('string', 'app_name', 'UU33AU') resValue('string', 'app_name', 'U8888AUD')
buildConfigField "String", "BASE_URL", "\"https://live22x.com/\"" buildConfigField "String", "BASE_URL", "\"https://live22x.com/\""
buildConfigField "int", "USERID", "194" buildConfigField "int", "USERID", "70"
buildConfigField "boolean", "IS_WHITE", "false" buildConfigField "boolean", "IS_WHITE", "false"
buildConfigField "boolean", "IS_ROUND", "true" buildConfigField "boolean", "IS_ROUND", "true"
buildConfigField "int", "ROUND_RADIUS", "10" buildConfigField "int", "ROUND_RADIUS", "10"

View File

@@ -1,21 +1,21 @@
{ {
"project_info": { "project_info": {
"project_number": "289684120498", "project_number": "613558775561",
"project_id": "notiu4u33", "project_id": "u8888aud",
"storage_bucket": "notiu4u33.firebasestorage.app" "storage_bucket": "u8888aud.firebasestorage.app"
}, },
"client": [ "client": [
{ {
"client_info": { "client_info": {
"mobilesdk_app_id": "1:289684120498:android:8353724077c147f6a87aab", "mobilesdk_app_id": "1:613558775561:android:8ac2949fbeb1fa3a086dd8",
"android_client_info": { "android_client_info": {
"package_name": "com.xyz.uu33au" "package_name": "com.asjdusub.u8888aud"
} }
}, },
"oauth_client": [], "oauth_client": [],
"api_key": [ "api_key": [
{ {
"current_key": "AIzaSyDbm7aypAIFlowGoMKUoY83VLDnxcMQYVo" "current_key": "AIzaSyDJ0_7KJwTWzhif54ohwHvQyRdLGeXXRfk"
} }
], ],
"services": { "services": {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 334 KiB

After

Width:  |  Height:  |  Size: 222 KiB

View File

@@ -3,7 +3,7 @@ plugins {
id 'com.google.gms.google-services' id 'com.google.gms.google-services'
} }
def appOutPutName = "be9au" def appOutPutName = "uu33au"
android { android {
namespace rootProject.ext.namespace namespace rootProject.ext.namespace
@@ -15,18 +15,18 @@ android {
versionName rootProject.ext.versionName versionName rootProject.ext.versionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
applicationId "com.xyz.be9au" applicationId "com.xyz.uu33au"
//app大背景色 //app大背景色
resValue('color', 'windows_color', '#E7E7E7') resValue('color', 'windows_color', '#FFFFFF')
//底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色 //底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
resValue('color', 'style_color', '#A23373') resValue('color', 'style_color', '#FFFFFF')
//app 名字 //app 名字
resValue('string', 'app_name', 'BE9AU') resValue('string', 'app_name', 'UU33AU')
buildConfigField "String", "BASE_URL", "\"https://live22x.com/\"" buildConfigField "String", "BASE_URL", "\"https://live22x.com/\""
buildConfigField "int", "USERID", "148" buildConfigField "int", "USERID", "194"
buildConfigField "boolean", "IS_WHITE", "false" buildConfigField "boolean", "IS_WHITE", "false"
buildConfigField "boolean", "IS_ROUND", "true" buildConfigField "boolean", "IS_ROUND", "true"
buildConfigField "int", "ROUND_RADIUS", "10" buildConfigField "int", "ROUND_RADIUS", "10"

View File

@@ -1,21 +1,21 @@
{ {
"project_info": { "project_info": {
"project_number": "282352500890", "project_number": "289684120498",
"project_id": "notib4e9", "project_id": "notiu4u33",
"storage_bucket": "notib4e9.firebasestorage.app" "storage_bucket": "notiu4u33.firebasestorage.app"
}, },
"client": [ "client": [
{ {
"client_info": { "client_info": {
"mobilesdk_app_id": "1:282352500890:android:49dcf60011d0bc83ad9f23", "mobilesdk_app_id": "1:289684120498:android:8353724077c147f6a87aab",
"android_client_info": { "android_client_info": {
"package_name": "com.xyz.be9au" "package_name": "com.xyz.uu33au"
} }
}, },
"oauth_client": [], "oauth_client": [],
"api_key": [ "api_key": [
{ {
"current_key": "AIzaSyCegeV1mLrb7aZyeuamU4XXM1LIaROjW1o" "current_key": "AIzaSyDbm7aypAIFlowGoMKUoY83VLDnxcMQYVo"
} }
], ],
"services": { "services": {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 388 KiB

After

Width:  |  Height:  |  Size: 334 KiB

View File

@@ -3,7 +3,7 @@ plugins {
id 'com.google.gms.google-services' id 'com.google.gms.google-services'
} }
def appOutPutName = "live22" def appOutPutName = "we1win"
android { android {
namespace rootProject.ext.namespace namespace rootProject.ext.namespace
@@ -15,18 +15,18 @@ android {
versionName rootProject.ext.versionName versionName rootProject.ext.versionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
applicationId "com.daidn.live22" applicationId "com.xyz.we1win"
//app大背景色 //app大背景色
resValue('color', 'windows_color', '#440F6F') resValue('color', 'windows_color', '#ECF6FF')
//底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色 //底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
resValue('color', 'style_color', '#360B58') resValue('color', 'style_color', '#2377C2')
//app 名字 //app 名字
resValue('string', 'app_name', 'LIVE22') resValue('string', 'app_name', 'WE1WIN')
buildConfigField "String", "BASE_URL", "\"https://live22x.com/\"" buildConfigField "String", "BASE_URL", "\"https://live22x.com/\""
buildConfigField "int", "USERID", "262" buildConfigField "int", "USERID", "120"
buildConfigField "boolean", "IS_WHITE", "false" buildConfigField "boolean", "IS_WHITE", "false"
buildConfigField "boolean", "IS_ROUND", "true" buildConfigField "boolean", "IS_ROUND", "true"
buildConfigField "int", "ROUND_RADIUS", "10" buildConfigField "int", "ROUND_RADIUS", "10"

View File

@@ -1,21 +1,21 @@
{ {
"project_info": { "project_info": {
"project_number": "717557626585", "project_number": "499658261788",
"project_id": "live22-997e3", "project_id": "wew1wew-494b5",
"storage_bucket": "live22-997e3.firebasestorage.app" "storage_bucket": "wew1wew-494b5.firebasestorage.app"
}, },
"client": [ "client": [
{ {
"client_info": { "client_info": {
"mobilesdk_app_id": "1:717557626585:android:4bd86e3e5e825bb85f70c8", "mobilesdk_app_id": "1:499658261788:android:d1bc33e4911c7ed34526d9",
"android_client_info": { "android_client_info": {
"package_name": "com.daidn.live22" "package_name": "com.xyz.we1win"
} }
}, },
"oauth_client": [], "oauth_client": [],
"api_key": [ "api_key": [
{ {
"current_key": "AIzaSyBL6vtzuXlVfoSWiKHtk4p-TiLts0faqUQ" "current_key": "AIzaSyCVEvsHEC2TIlTAS_SX_z4mThfbTjKmefI"
} }
], ],
"services": { "services": {

2
xoxoau8/.gitignore vendored
View File

@@ -1,2 +0,0 @@
/build
/release

View File

@@ -1,93 +0,0 @@
plugins {
id 'com.android.application'
id 'com.google.gms.google-services'
}
def appOutPutName = "uu33au"
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.uu33au"
//app大背景色
resValue('color', 'windows_color', '#FFFFFF')
//底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
resValue('color', 'style_color', '#FFFFFF')
//app 名字
resValue('string', 'app_name', 'UU33AU')
buildConfigField "String", "BASE_URL", "\"https://live22x.com/\""
buildConfigField "int", "USERID", "194"
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')
}

View File

@@ -1,29 +0,0 @@
{
"project_info": {
"project_number": "289684120498",
"project_id": "notiu4u33",
"storage_bucket": "notiu4u33.firebasestorage.app"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:289684120498:android:8353724077c147f6a87aab",
"android_client_info": {
"package_name": "com.xyz.uu33au"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "AIzaSyDbm7aypAIFlowGoMKUoY83VLDnxcMQYVo"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": []
}
}
}
],
"configuration_version": "1"
}

Binary file not shown.

View File

@@ -1,32 +0,0 @@
# 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.** {
*;
}

View File

@@ -1,67 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- <uses-permission android:name="android.permission.READ_CONTACTS" />-->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.VIBRATE" />
<!-- 8.0+系统需要-->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<!--推送权限-->
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<application
android:name=".WebApplication"
android:allowBackup="true"
android:hardwareAccelerated="true"
android:icon="@mipmap/app_logo"
android:label="@string/app_name"
android:networkSecurityConfig="@xml/network_security_config"
android:roundIcon="@mipmap/app_logo"
android:supportsRtl="true"
android:theme="@style/Theme.AppTheme"
android:usesCleartextTraffic="true">
<activity
android:name=".IndexActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:exported="true"
android:hardwareAccelerated="true"
android:theme="@style/AppThemeStart">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</activity>
<service
android:name=".MyFirebaseMessageingService"
android:exported="false">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<meta-data
android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@mipmap/app_logo" />
<meta-data
android:name="com.google.firebase.messaging.default_notification_color"
android:resource="@color/notify_color" />
<meta-data
android:name="com.google.firebase.messaging.default_notification_channel_id"
android:value="@string/app_name" />
</application>
</manifest>

View File

@@ -1,79 +0,0 @@
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);
saveString(this, "base_url",BuildConfig.BASE_URL);
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中==================================
}
}

View File

@@ -1,125 +0,0 @@
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<String, String> 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());
}
}

View File

@@ -1,19 +0,0 @@
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");
}
}

View File

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 334 KiB

View File

@@ -1,91 +0,0 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.AppTheme" parent="Theme.MaterialComponents.DayNight.DarkActionBar.Bridge">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_500</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
<item name="colorOnPrimary">@color/white</item>
<!-- Secondary brand color. -->
<item name="colorSecondary">@color/teal_200</item>
<item name="colorSecondaryVariant">@color/teal_700</item>
<item name="colorOnSecondary">@color/black</item>
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
<item name="android:windowBackground">#000000</item>
</style>
<style name="Theme.Calculcator1" parent="Theme.MaterialComponents.DayNight.DarkActionBar.Bridge">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_500</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
<item name="colorOnPrimary">@color/white</item>
<!-- Secondary brand color. -->
<item name="colorSecondary">@color/teal_200</item>
<item name="colorSecondaryVariant">@color/teal_700</item>
<item name="colorOnSecondary">@color/black</item>
<item name="android:windowFullscreen">true</item>
<item name="android:windowNoTitle">true</item>
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
</style>
<declare-styleable name="CircleImageView">
<attr name="ease_border_color" format="color" />
<attr name="ease_border_width" format="dimension" />
<attr name="ease_press_alpha" format="integer" />
<attr name="ease_press_color" format="color" />
<attr name="ease_radius" format="dimension" />
<attr name="es_shape_type" format="enum">
<enum name="none" value="0" />
<enum name="round" value="1" />
<enum name="rectangle" value="2" />
</attr>
</declare-styleable>
<!-- 注意当前AppTheme主题在values-v23中单独重复维护。原因是Android 6以下系统不支持设置
系统状态栏颜色如果按照设计状态栏使用素色则在android6以下手机上就看不清系统状态栏文字了
因为系统文字是白色。在values-v23表示当Android 23即android 6及以上版本将自动使用该目录
下的主题(即 colorPrimaryDark 使用素色从而跟标题栏颜色保持一致实现沉浸式ui效果-->
<style name="AppThemeStart" parent="@style/Theme.AppCompat.Light.NoActionBar">
<item name="android:windowTranslucentStatus">false</item>
<item name="android:windowTranslucentNavigation">false</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="colorPrimary">@color/windows_color</item>
<item name="colorPrimaryDark">@color/windows_color</item>
<item name="colorAccent">@color/windows_color</item>
<item name="windowActionBar">false</item>
<!-- 隐藏Activity窗口的Title标题栏 -->
<item name="windowNoTitle">true</item>
<!-- <item name="android:windowFullscreen">true</item>-->
<!-- <item name="android:windowBackground">@drawable/splah_bg</item>-->
<item name="android:navigationBarColor">@color/style_color</item>
<!-- <item name="android:windowBackground">@mipmap/big_bg</item>-->
<item name="android:forceDarkAllowed" tools:ignore="NewApi">false</item>
<item name="android:windowBackground">@drawable/big_bg</item>
</style>
<style name="MaterialDesignDialog" parent="@style/Theme.AppCompat.Dialog">
<!-- 背景透明 -->
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowContentOverlay">@null</item>
<!-- 浮于Activity之上 -->
<item name="android:windowIsFloating">true</item>
<!-- 边框 -->
<item name="android:windowFrame">@null</item>
<!-- Dialog以外的区域模糊效果 -->
<item name="android:backgroundDimEnabled">true</item>
<!-- 无标题 -->
<item name="android:windowNoTitle">true</item>
<!-- 半透明 -->
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowCloseOnTouchOutside">true</item>
</style>
</resources>

View File

@@ -1,10 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<paths>
<root-path name="app_root_path" path="/"/>
<external-path name="app_external_path" path="/"/>
<external-cache-path name="app_external_cache_path" path="/"/>
<external-files-path name="app_external_files_path" path="/"/>
<files-path name="app_files_path" path="/"/>
<cache-path name="app_cache_path" path="/"/>
</paths>

View File

@@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<base-config cleartextTrafficPermitted="true" />
</network-security-config>

View File

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding= "utf-8"?>
<resources>
<paths >
<external-path name="external_files" path="."/>
<root-path name="root" path="." />
<files-path name="files" path="." />
<cache-path name="cache" path="." />
<external-files-path name="external_files_f" path="." />
<external-cache-path name="external_cache" path="." />
</paths >
</resources>
<!-- 适配7.0及其以上配合com.eva.android.OpenFileUtil用于解决调用系统Intent查看大文件内
容、拍照保存图片的功能时出现"android.os.FileUriExposedException"异常的问题 -->

Binary file not shown.