# Android push notifs issues, error handling - Wed 21st Oct, 2020
Push notification sitrep: iOS notifications seem to be working nicely, except for a reported issue that the app badge count is sometimes not correct.
Android push notifications are being received, but are not showing an alert when app is backgrounded or foregrounded. I know they are being received as when I open up the app manually after receiving a notification on my iOS test device, it is navigating me to the correct place in the app, so it is definitely receiving the notif payload.
I believe the problem is I have not set up [a channel](https://developer.android.com/training/notify-user/channels). I am going to try that today.
Elsewhere, I was giving thought to how to handle specific errors that might occur in the app, especially when there is no internet.
An easy way to handle this is to use [net-info](https://github.com/react-native-netinfo/react-native-netinfo) to check for a connection and show some blocking screen when there is none. At present, we don't want to implement much cache persisting or optimistic responses in v1, due to both complexity and data protection issues.
My current plan is to write a custom `useQuery` wrapper, that exposes both GraphQL errors and when there is no network. That way, I can just check my hook's `error` property **AND** if the hook has been called yet (since if say the feed has been loaded, we don't want to prevent them from viewing it even if they lose connection) and show an approriate error.
###### tags: `programmingjournal` `2020` `C+` `pushnotifications` `notificationchannels` `android` `errorhandling`