Fixes for receiving push notification while the app is running minimized (iOS/Android)