How to display app icon badge in React-Native (Expo) app? - android

I'm developing a mobile application using React Native (Expo). I've used Expo Push Notifications to handle my notifications. Now I want to display a badge on my app icon which shows the number of new notifications.
Can you please tell me how to do this? I tried using react-native-shortcut-badge third-party library. But it gives me an error.

Related

How to control the notification settings of the application on React native (android)

I develope the android app using '#notifee/react-native' and '#react-native-firebase/messaging' library.
Currently, I have even sent a notification msg to the app.
I want to control the notification settings of the application with react native code (on/off).
notification on/off
How to control the notification setting(on/off) of the android application width react native code?

How to Show Push Notification on Android in Flutter?

We are finalising an App in Flutter that uses Firebase messaging. Notifications are arriving on iOS and Android. On iOS, the notification is presented on iOS notification list. But, no notification is showing on Android's notifications list or Android's top bar. I need some help on this. Thanks!

Change Badge icon when notified

I'm using Xamarin Forms and I manage to send notifications to my applications in both iOS and Android using Firebase. I want to change the Badge icon every time a notification arrives, with the application in the background.
Similar to Twitter or Whatsapp.
How can I change the Badge of my application when my application is in the background?
I used MessagingCenter in Xamarin before. It is a publisher and subscriber event that you can use.
For Android I use ShortcutBadger https://github.com/leolin310148/ShortcutBadger
But it's up to the Phone's Launcher to decide if it will show the badge and for me it wont show on the Emulator but it does work on my phone.
As for iOS I haven't looked into this yet so if you find one please do tell.

Display Android Notification Bar with GCM and React Native

I'm using React Native and this notification plugin to catch GCM notifications on Android. But while they're showing up fine in the Notifications Panel, I don't get the notification "banner" I was expecting. How do I make Android show notifications like this:
Thanks.

Phonegap using Bluemix push don't show app icon

I need to show my app icon in the notification bar for the push received but when I receive a push notification in the notification bar, the Android Lollipop only show a star icon instead of the app icon, but in the IOS notification bar show the correct icon of the app. I am using IBM Bluemix push notification with phonegap. My config.xml is this http://pastebin.com/bpKFn51z.
This answer White notification icon for Android with Phonegap Build and PushPlugin maybe work but IBM Bluemix only distribute the jar files of his API.
you should use Cordova StatusBarNotification plugin.
Or if you want a faster solution, you can follow what is suggested in the following blog post:
http://devgirl.org/2012/10/25/tutorial-android-push-notifications-with-phonegap/

Categories

Resources