I would like to completely disable the display of push notifications when the app is open. I know it is possible to manage the AppState (background / active) in React Native. But I don't know how to disable the appearance of notifications: I would like to use the localNotifications, but using them I see two the same: one launched by the plugin automatically and one displayed by me through the localNotification. How can I do?
↧