bluebubbles-app icon indicating copy to clipboard operation
bluebubbles-app copied to clipboard

ntfy

Open applesoff opened this issue 6 months ago • 1 comments

I wantes to test unified push again. i have auth turned off for only this "topic" so that no token is required to be passed. i monitor ntfy at the topic generated by BB and i get hits for every message, but no notification from BB. Checking the server logs in the server i get:

Request to / took 1 ms    5/25/2025, 9:33:23 PM
Request to / (URL Params: {})    5/25/2025, 9:33:23 PM
Request to / took 2 ms    5/25/2025, 9:33:13 PM
Request to / (URL Params: {})    5/25/2025, 9:33:13 PM
Request to / took 2 ms    5/25/2025, 9:33:03 PM
Request to / (URL Params: {})    5/25/2025, 9:33:03 PM
Request to / (URL Params: {})    5/25/2025, 9:32:53 PM
Request to / took 2 ms    5/25/2025, 9:32:53 PM
Request to / took 1 ms    5/25/2025, 9:32:43 PM
Request to / (URL Params: {})    5/25/2025, 9:32:43 PM
Request to / took 3 ms    5/25/2025, 9:32:33 PM
Request to / (URL Params: {})    5/25/2025, 9:32:33 PM
Request to / took 2 ms    5/25/2025, 9:32:23 PM
Request to / (URL Params: {})    5/25/2025, 9:32:23 PM
[SocketRoutes] Client 7i9Rlby4st-HMs92AAA- disconnected! Reason: transport close    5/25/2025, 9:32:06 PM
[HttpService] Client disconnected (Total Clients: 3)    5/25/2025, 9:32:06 PM
[BlueBubblesServer] Read message from [You]: ["Test"; Date: 5/25/2025, 9:32:01 PM] - [5/25/2025, 9:32:03 PM]    5/25/2025, 9:32:03 PM
[BlueBubblesServer] New Message from +*******2772, "Test"; Date: 5/25/2025, 9:32:01 PM    5/25/2025, 9:32:03 PM
[HttpService] Client Authenticated Successfully (Total Clients: 4)    5/25/2025, 9:32:01 PM
[HttpService] Client Authenticated Successfully (Total Clients: 3)    5/25/2025, 9:32:01 PM
[BlueBubblesServer] New Message from You, "Test"; Date: 5/25/2025, 9:32:01 PM

In the apps logs I get the attached log file. looks like a lot of errors pertaining to MissingPluginException for the method create-notification-channel on the method channel com.bluebubbles.messaging

Are any of there errors fixable to restore unified push? logs.txt

applesoff avatar May 26 '25 02:05 applesoff

This is likelier the reason why it doesn't work: The BlueBubbles app's AndroidManifest.xml does not mark the UnifiedPushReceiver as exported="true", which is required starting from Android 12 (API 31) and strictly enforced in Android 13+ (API 33+).

<receiver
    android:name=".UnifiedPushReceiver"
    android:permission="org.unifiedpush.android.permission.RECEIVE">
    <intent-filter>
        <action android:name="org.unifiedpush.android.connector.MESSAGE"/>
    </intent-filter>
</receiver>

This lacks:

android:exported="true" (required for system-delivered broadcasts)

android:enabled="true" (optional, but sometimes good for clarity)

Why This Breaks in Android 14+

Since Android 12, every component that receives implicit intents must declare android:exported explicitly. Without this, Android 13+ will silently ignore the receiver, breaking UnifiedPush message delivery.

applesoff avatar May 27 '25 04:05 applesoff

+1 same issue Android LineageOS 23.0 (Android 16). UnifiedPush topic gets hit and sends it to BlueBubblesApp, but bluebubbles fails to pop up the notification. In logcat:

MissingPluginException (No implementation found for method create-notification-channel on channel com.bluebubbles.messaging)

kevin-king avatar Nov 05 '25 22:11 kevin-king