Handle notification when app is killed

I manage to get notification from my server when app is on focus or minimise. But i can’t receive notification when i kill the app. I there any solution i can solve this problem ?