Questions tagged [notification-channel]

Notification Channels introduced with Android 8.0 Oreo.

98 questions
0
votes
0 answers

Class 'NotificationChannels\Hubtel\HubtelMessage' not found laravel

I got this error while implementing the Hubtel SMS Api.
stackuser
  • 168
  • 2
  • 6
  • 15
0
votes
1 answer

NativeScript android NotificationChannel error

i have a { N } app that should trigger notifications. i'm using the notificationChannel but i keep getting the same error when the app crushed. "System.err: TypeError: android.NotificationChannel is not a constructor" my code is : …
Johnny
  • 105
  • 2
  • 14
0
votes
1 answer

Notification not showing but code working fine

there's no error in my code yet the notification won't appear in my Android phone (I had try Android 8.0 &9.0). I want the notification to be displayed once it detects the value from firebase is below 50. I do even try the most basic code by…
0
votes
1 answer

Android Oreo devices not receiving push notifications sent from AWS SNS

As per new android policy, we have set target SDK as 26 (API Level 26) in my cordova app. After this, android oreo devices are not receiving any push notifications sent from AWS SNS using GCM. On searching over SO, it looks like we need to set…
0
votes
2 answers

Android: Oreo Notification Channel Not Working in API level 22

I am doing push notification in android. The below code block is not working in API level 22. if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { NotificationChannel channel = new NotificationChannel(channelId, …
0
votes
1 answer

Android Notification Channel Pushes Older Unread Notifications With New Notifications

I'm new with the Android Notification Channel. I followed the tutorials from Google Dev docs about it, but I'm having some trouble when pushing notifications. My problem is, if I get a notification and swipe-cancel it or just don't click on it, the…
0
votes
2 answers

Android Wear Emulator Oreo FCM Messages not received

I'm trying to receive FCM notification on android wear emulator running on Android Oreo API 26. I have properly registered the app on firebase, the firebase token is being printed on the log and the notification channel is also being created. I'm…
-1
votes
1 answer

Android: How to create a permanent notification using NotificationChannel

Do you know which method I am supposed to use to create a permanent Notification using NotificationChannel in Android Pie? More precisely, a notification that the user cant remove.
Bazouk55555
  • 557
  • 6
  • 24
1 2 3 4 5 6
7