Skip to content

Commit

Permalink
💬 푸쉬 알림 | 아이콘 추가 (#54)
Browse files Browse the repository at this point in the history
* Add Notification Image Assets

* Apply Notification Image Asset
  • Loading branch information
moondev03 authored Oct 13, 2024
1 parent c673039 commit 52768b4
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ThinkerBell/presentation/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>

<meta-data android:name="com.google.firebase.messaging.default_notification_icon" android:resource="@drawable/ic_notification_thinkerbell"/>
</application>

</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class MyFirebaseMessagingService : FirebaseMessagingService() {
val channelId = "fcm_default_channel"
val defaultSoundUri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION)
val notificationBuilder = NotificationCompat.Builder(this, channelId)
.setSmallIcon(R.drawable.ic_thinkerbell)
.setSmallIcon(R.drawable.ic_notification_thinkerbell)
.setContentTitle(title)
.setContentText(body)
.setAutoCancel(true)
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 52768b4

Please sign in to comment.