87
Views
7
Comments
Android 13 pushnotifications not working
Application Type
Mobile

Hi!

Since using MABS 9 our Android 13 endusers can't receive notifications anymore. This is because Google decided to make pushnotifications an opt-in model in Android 13. Unfortunatly our users are not able to opt-in because it seems there is some configuration missing in the manifest.xml. As far as we understand we are not able to update the manifest.xml to add the missing configuration. 

Anyone else having the same issues? (and better fixed them already?) Did we miss something?

Thanks,
Willem

UserImage.jpg
Mehdi Akhdar Idrissi

Hi Willem,

To test the push notifications Mobile App, I used the "FireBase Mobile Sample" application on the forge to test it. I'm using MABS 9. 

After lunching the app on Android 13, i can't see it on notifications application settings and the notifications doesn't work. the application works fine on android 12 device.

Did you find a solution?

Thanks,

Mehdi

UserImage.jpg
Pier Paolo Annis

Hi Mehdi,

I have the same issue with Android 13, did you find any solution?

thanks,

Pier Paolo

UserImage.jpg
Mehdi Akhdar Idrissi

Hi Pier,

we resolved the issue by using the OneSignal Pluging that is supported by outsystems.

Regards,

2018-11-12 10-02-08
Ângelo Sousa

Hello all

In my current project, our Cordova team ended up developing a plugin that checks if the user already granted permissions for push notifications and, if not, triggers the Android built-in popup that requests those permissions


This popup is only triggered for Android 13 devices. In Android 12 it does not show because the user can toggle the notifications on in the device's settings

UserImage.jpg
Pier Paolo Annis

Hi Ângelo,

thanks for your answer. 

Is this Cordova plugin available to everyone?


Thanks,

Pier Paolo

2023-04-05 07-54-24
Willem Notten

We've installed this plugin.

This will add some missing configs.

UserImage.jpg
Pier Paolo Annis

With this plugin in the app settings, we correctly see the Notify option but it is blocked by default. In addition, the functionality of the plugin to request permission always returns true even if the permission in the setting is blocked and the Android built-in popup doesn't open it to trigger it.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.