Commit Graph

11 Commits

Author SHA1 Message Date
6f86495cf4 lint fixes 2022-06-17 13:54:40 -07:00
5537766a45 WIP: PDF URLs 2022-06-09 13:53:24 -07:00
ea0b689b5c Remove unused var 2022-06-09 13:52:49 -07:00
92f8218960 Fetch icon URLs from pages 2022-06-02 11:37:04 -07:00
53c423b714 WIP: upload PDFs using background task 2022-05-30 22:30:43 -07:00
c3096e5dfe Better PDF upload handling on iOS
Three main changes here:
- If a PDF isn't a local file, dont try to download and then
  upload it to the backend. Just treat it as a URL.

- If we are passed PDF data by an app like Files, upload it.

- Wrap the whole operation in a Background task so its not
  killed if the user taps dismiss during the upload of larger
  documents.
2022-05-26 21:40:40 -07:00
6869271d54 A little safer and/or more dangerous way of checking content type 2022-05-24 22:49:16 -07:00
a02bb2f5c9 Extract contentType from safari
This fixes issues where we'd incorrectly identify a PDF as HTML.
Safari will use our preprocess javascript file even if the
file is PDF, so we rely on JS to detect the content type here.
2022-05-24 21:01:04 -07:00
6af0452d14 remove ios14 specific code 2022-04-14 12:45:45 -07:00
2169413554 resolve lint/xcode warnings 2022-02-22 09:17:54 -08:00
84f32935f5 Open source omnivore 2022-02-11 09:24:33 -08:00