Skip to content

Add native Android module for inline custom emoji images in notifications#2

Open
mathiiiiiis wants to merge 5 commits intoNerimity:webviewfrom
mathiiiiiis:webview
Open

Add native Android module for inline custom emoji images in notifications#2
mathiiiiiis wants to merge 5 commits intoNerimity:webviewfrom
mathiiiiiis:webview

Conversation

@mathiiiiiis
Copy link

Replaces notifee with a custom NotificationCompat.Builder that renders emoji images inline using RemoteViews, and adds server/DM context via subText

For this to function as intended, the following PR also needs to be merged:
Nerimity/nerimity-server#37

mathiiiiiis and others added 5 commits February 16, 2026 18:01
…ions

Replaces notifee with a custom NotificationCompat.Builder that renders emoji images inline using RemoteViews, and adds server/DM context via subText
Use correct file extensions for emoji types (gif for animated, webp for
static/webp-animated) and clear message history when notifications are
swiped away via a BroadcastReceiver
- Buffer bitmap bytes before decoding to fix unreliable emoji image
  loading on Samsung (BitmapFactory.decodeStream fails on non-marking
  network streams)
- Replace 🖼️ fallback with :name: format for unloaded custom emojis
- Bold sender username in server and DM notification message rows
Pass channelId/serverId/userId as intent extras, capture them in
MainActivity onCreate/onNewIntent, and retrieve from JS via a new
getPendingNotificationClick() native method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant