[Firebase Mobile] Creating Channel Id

Forge Component
(19)
Published on 6 Jan by David Sousa
19 votes
Published on 6 Jan by David Sousa

Hi All,

Any idea how to create notification channel id on Android 8 devices ?

Go to https://console.firebase.google.com then log-in with your goggle account or companies google account then create a project go to setting and you can see your Project Id

Rogelio Guanlao wrote:

Go to https://console.firebase.google.com then log-in with your goggle account or companies google account then create a project go to setting and you can see your Project Id

Hi Rogelio,

I think you didn't get what i'm looking for. I ask about the creation of Notification channels that need to be created before sending notifications to Android 8 mobile phones. Please check this link for more details https://developer.android.com/training/notify-user/channels


Kata wrote:

Hi All,

Any idea how to create notification channel id on Android 8 devices ?

Hi Kata,

I'm assuming you are One Signal for pushing notification in you mobile app.

Please refer to the link below.
https://documentation.onesignal.com/docs/android-notification-categories


Hey Kata,

The plugin defines a default channel for Android 8 and above. Do you need to define custom channels?


jamz wrote:

Kata wrote:

Hi All,

Any idea how to create notification channel id on Android 8 devices ?

Hi Kata,

I'm assuming you are One Signal for pushing notification in you mobile app.

Please refer to the link below.
https://documentation.onesignal.com/docs/android-notification-categories


Hi Jamz,

I tried to use Onesignal to resolve this "Channel Id" issue, but i faced another challenge with Onesignal :), you can find my post about it here :

https://www.outsystems.com/forums/discussion/53771/registerwithuser-action-doesnt-work/


David Sousa wrote:

Hey Kata,

The plugin defines a default channel for Android 8 and above. Do you need to define custom channels?


Hi David,

Happy to hear from you. 

I managed to edit the existing plugin to add custom sound to notifications i send through FCM and tested it on android device < 8. For Android 8 and above, i need to define a Custom channel to be able to use the custom sound.

You can guide me to How to add the custom channel id ?

By the way, i tried to use the custom sound you added in the Sample project but it didn't work. I added this to its support forum

https://www.outsystems.com/forums/discussion/53507/custom-sound-as-shown-in-the-sample-doesnt-work/


David Sousa wrote:

Hey Kata,

The plugin defines a default channel for Android 8 and above. Do you need to define custom channels?



Hi David, Any workaround i can apply to resolve the channel id issue ?

David Sousa wrote:

Hey Kata,

The plugin defines a default channel for Android 8 and above. Do you need to define custom channels?


Hi David,

As per the plugin, I got the default channel id and used it in the notification but still it's getting the default sound not the custom one. Do you know what's wrong ?