How to implement android.intent.action.ACTION_SHUTDOWN event in react native app ? I need to do API call when device shutdown . When I searched for android, I came to know android do provide this action and can write ShutdownReceiver which get notified when device shutdown . But, I couldn't found any plugin/guide for implementing same in react native. Can anyone tell me what is best possible solution to implement same in react native .
↧