This repository was archived by the owner on May 6, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +15
-7
lines changed
java/com/mhacks/app/data/network/fcm Expand file tree Collapse file tree 4 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 48
48
</service >
49
49
50
50
<meta-data android : name =" com.google.firebase.messaging.default_notification_icon"
51
- android : resource =" @mipmap/ic_launcher" />
51
+ android : resource =" @mipmap/ic_launcher_round" />
52
+ <meta-data
53
+ android : name =" com.google.firebase.messaging.default_notification_color"
54
+ android : resource =" @color/colorAccent" />
52
55
<meta-data
53
56
android : name =" com.google.firebase.messaging.default_notification_channel_id"
54
57
android : value =" MHacks Group" />
Original file line number Diff line number Diff line change 100
100
</intent-filter >
101
101
</service >
102
102
<meta-data android : name =" com.google.firebase.messaging.default_notification_icon"
103
- android : resource =" @mipmap/ic_launcher" />
103
+ android : resource =" @mipmap/ic_launcher_round" />
104
+ <meta-data
105
+ android : name =" com.google.firebase.messaging.default_notification_color"
106
+ android : resource =" @color/colorAccent" />
107
+ <meta-data
108
+ android : name =" com.google.firebase.messaging.default_notification_channel_id"
109
+ android : value =" MHacks Group" />
104
110
<meta-data
105
111
android : name =" com.google.android.geo.API_KEY"
106
112
android : value =" @string/google_maps_api_key" />
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import androidx.core.app.NotificationCompat
7
7
import androidx.core.app.NotificationManagerCompat
8
8
import com.google.firebase.messaging.FirebaseMessagingService
9
9
import com.google.firebase.messaging.RemoteMessage
10
- import android.R
11
10
import timber.log.Timber
12
11
13
12
/* *
@@ -25,7 +24,6 @@ class FCMMessageHandler : FirebaseMessagingService() {
25
24
26
25
private fun createNotification (notification : RemoteMessage .Notification ) {
27
26
val builder = NotificationCompat .Builder (baseContext, mhacksGroup)
28
- .setSmallIcon(R .mipmap.sym_def_app_icon)
29
27
.setDefaults(Notification .DEFAULT_ALL )
30
28
.setContentTitle(notification.title)
31
29
.setContentText(notification.body)
Original file line number Diff line number Diff line change 4
4
<color name =" blueGrey" >#37474F</color >
5
5
6
6
<!-- Global color themes-->
7
- <color name =" colorPrimary" >#5D3E6E</color >
8
- <color name =" colorPrimaryDark" >#43374E</color >
9
- <color name =" colorAccent" >#F4A4A8</color >
7
+ <color name =" colorPrimary" >#CB1458</color >
8
+ <color name =" colorPrimaryDark" >#13162B</color >
9
+ <color name =" colorPrimaryDisabled" >#A5154B</color >
10
+ <color name =" colorAccent" >#F09DBC</color >
10
11
<color name =" black" >#000</color >
11
12
12
13
<!-- Map Fragment-->
You can’t perform that action at this time.
0 commit comments