Firebase Dynamic Links not working when app is closed

I’ve been working to include Dynamic Links in my app. I have set it up so that links can be generated correctly, and received correctly, but they only work when the app is open and in the background. If the app is closed completely, the link will just open the app.