Oyen333第一次提交

This commit is contained in:
xuhuixiang
2025-02-07 15:43:53 +08:00
parent 3183ca1108
commit d8b719d3a9
3 changed files with 7 additions and 6 deletions

View File

@@ -11,8 +11,8 @@ android {
applicationId "com.web.pokies76" applicationId "com.web.pokies76"
minSdkVersion 24 minSdkVersion 24
targetSdkVersion 31 targetSdkVersion 31
versionCode 100 versionCode 106
versionName "v1.0.0" versionName "v1.0.6"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
} }

View File

@@ -83,14 +83,14 @@ public class MyFirebaseMessageingService extends FirebaseMessagingService {
channelwinway.enableVibration(true); channelwinway.enableVibration(true);
notificationManager.createNotificationChannel(channelwinway); notificationManager.createNotificationChannel(channelwinway);
notificationBuilder = new NotificationCompat.Builder(this, channelwinway.getId()) notificationBuilder = new NotificationCompat.Builder(this, channelwinway.getId())
.setSmallIcon(com.web.base.R.mipmap.ic_launcher) .setSmallIcon(R.mipmap.app_logo)
.setContentTitle(messageInfo.getTitle()) .setContentTitle(messageInfo.getTitle())
.setContentText(messageInfo.getContent()) .setContentText(messageInfo.getContent())
.setAutoCancel(true) .setAutoCancel(true)
.setContentIntent(pendingIntent); .setContentIntent(pendingIntent);
} else { } else {
notificationBuilder = new NotificationCompat.Builder(this, getString(com.web.base.R.string.app_name)) notificationBuilder = new NotificationCompat.Builder(this, getString(com.web.base.R.string.app_name))
.setSmallIcon(com.web.base.R.mipmap.ic_launcher) .setSmallIcon(R.mipmap.app_logo)
.setContentTitle(messageInfo.getTitle()) .setContentTitle(messageInfo.getTitle())
.setContentText(messageInfo.getContent()) .setContentText(messageInfo.getContent())
.setAutoCancel(true) .setAutoCancel(true)
@@ -129,14 +129,14 @@ public class MyFirebaseMessageingService extends FirebaseMessagingService {
channelwinway.enableVibration(true); channelwinway.enableVibration(true);
notificationManager.createNotificationChannel(channelwinway); notificationManager.createNotificationChannel(channelwinway);
notificationBuilder = new NotificationCompat.Builder(this, channelwinway.getId()) notificationBuilder = new NotificationCompat.Builder(this, channelwinway.getId())
.setSmallIcon(com.web.base.R.mipmap.ic_launcher) .setSmallIcon(R.mipmap.app_logo)
.setContentTitle(title) .setContentTitle(title)
.setContentText(body) .setContentText(body)
.setAutoCancel(true) .setAutoCancel(true)
.setContentIntent(pendingIntent); .setContentIntent(pendingIntent);
} else { } else {
notificationBuilder = new NotificationCompat.Builder(this, getString(com.web.base.R.string.app_name)) notificationBuilder = new NotificationCompat.Builder(this, getString(com.web.base.R.string.app_name))
.setSmallIcon(com.web.base.R.mipmap.ic_launcher) .setSmallIcon(R.mipmap.app_logo)
.setContentTitle(title) .setContentTitle(title)
.setContentText(body) .setContentText(body)
.setAutoCancel(true) .setAutoCancel(true)

View File

@@ -34,3 +34,4 @@ include ':cekap33'
include ':play88aus' include ':play88aus'
include ':cergas' include ':cergas'
include ':spinsini' include ':spinsini'
include ':Oyen333'