Open prtkkmrsngh opened 8 years ago
I think we should implement 'ongoing':
http://stackoverflow.com/questions/13427204/non-removable-notification
I think the fix should be quite easy:
adding
.setOngoing(attributes.ongoing)
right after this line: https://github.com/Neson/react-native-system-notification/blob/master/android/src/main/java/io/neson/react/notification/Notification.java#L128
(and possibly also setting the default value)
I created a pull request, in my setup it works perfectly, please give it a try.
I too wonder for a stay-alive feature