Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create local notification in react native and android

I am trying to create a local notification in android using react-native. My application is completely local, so I don't want to use GCM or FCM. I saw this question where it is done using java. Is there wrapper or a library in React Native to achieve the same?

I also saw PushNotificationIOS API, will it work with Android?

like image 792
Manu Viswam Avatar asked Sep 01 '16 06:09

Manu Viswam


1 Answers

Yes, react-native-push-notifications. It does local notifications too on both iOS and Android.

https://github.com/zo0r/react-native-push-notification

like image 90
pomo Avatar answered Oct 18 '22 07:10

pomo