Back to all

Fixing the push notification bugs

I have discovered an important additional detail.


After I rebuild the LivingBreadHub APK in Median and install the new APK, Android itself displays:


"Allow LivingBreadHub to send you notifications?"


I select ALLOW.


Android notification permission is therefore being granted successfully.


However, after permission is granted, LivingBreadHub still reports:


"Push notifications are not supported on this device."


My device is Android 12.


The following have all already been enabled/configured:


- Android app notification permission — ALLOWED

- Chrome notification permission — ALLOWED

- Median push notification settings — ENABLED

- Firebase Cloud Messaging — ENABLED in Median

- OneSignal — configured

- Firebase project — configured

- "google-services.json" — uploaded to Median

- Firebase Android package name matches the Median package:

"co.median.android.yexloej"


Firebase project:

"livingbreadhub-49730"


The important issue now is NOT notification permission.


Please help me determine whether the Median native FCM layer is successfully registering this device.


Specifically, please check or tell me how I can check:


1. Whether the current APK is generating an FCM registration token.

2. Whether Median's native FCM "register" operation succeeds.

3. Whether "getToken()" returns a valid non-empty FCM token.

4. If token generation fails, what exact native Firebase/FCM error is returned.

5. Why the Median APK is displaying "Push notifications are not supported on this device" even after Android notification permission has been granted.

6. Whether the current APK actually contains the Firebase configuration and FCM native plugin after the latest rebuild.

7. Whether you can provide a Median diagnostic/test page that shows:

- Notification permission status

- FCM registration status

- FCM token status

- Native FCM error

- Median/FCM plugin availability


Please do NOT focus on Chrome/web notification permission. I need to diagnose the native Android FCM registration inside the Median APK.


The key question is:


CAN THIS APK GENERATE AN FCM REGISTRATION TOKEN?


If yes, please tell me how to retrieve/verify it so I can perform a direct FCM test.


If no, please identify the native error preventing registration.