Is there any way to execute an action while app is in inactive or killed state?
I found this usecase while handling remote notifications when app is in inactive/ killed state.I want to execute a react-native-shortcut-badger function to set a badge number when a remote notification is received.