Onesignal not working in some android

Hello Everyone,
Yesterday i have added onesignal component in my app but it only notifies in some android and in some android it doesn’t notifies.
But in other android onesignal works if and only if application is running in background.