Firefox on Android won’t open PDFs

When trying to click a PDF link in Firefox on Android an error comes up that says “Error. The file could not be downloaded. Please save the file to your local storage and then try to open it.” The PDF is never downloaded and not able to be viewed.

Type the following in the address bar: about:config
Search for: browser.download.preferred.application/pdf
Click reset