# Push notifications (cont.) - Tues 20th Oct, 2020
I finished off and PR'd my push notification changes yesterday.
They have been tested via Curl to APNS and from Firebase test messages and are working well.
The logic for handling each push notification has been abstracted into a hook. I am unsure if this will work, as the library I'm using was [quite explicit about calling its `configure` method outside of any component lifecycle methods](https://github.com/zo0r/react-native-push-notification#usage).
As Android does not show a notification when the app is foregrounded, I am using the React Native `Alert` component to show the notification to the user when they are using the app.
I can't believe this setup will work completely as is for both iOS and Android, but I will do a new TestFlight and internal test track release and get some feedback!
###### tags: `programmingjournal` `2020` `pushnotifications` `C+`