Local Notifications When Expo is Closed

Hello. I have local notifications working perfectly when the app is open in the background but they do not work when the app is closed. When I close expo, the notifications still arrive as scheduled but when I press them, they no longer take me to the desired page, they take me to my expo profile page.