[File Viewer] Support pdf files #181
Labels
No Label
⌚ Major-release
⌚ Minor-release
⚔️ Wontfix
⚙️ CI
⛏️ Breaking
✨ Duplicate
❌ Invalid
❓ Question
❤️ Support
➡️ Frontport
➡️ Needs-frontport
🔙 Backport
💭 Brainstorming
🐛 Bug
🔭 Cannot-reproduce
🧺 Cleanup
🧾 Confirmed
💬 Discussion
📄 Documentation
🎯 Enhancement
🩹 External-dependecy
📱 F-droid
🎉 Feature
👋 Good-first-issue
🤾 Google-play
🔙 Has-backport
🚀 Improvement
🚨 Investigate
🌠 Long-term
🔙 Needs-backport
🧺 Needs-cleanup
📡 Needs-feedback
📈 Performance
📌 Priority-critical
📌 Priority-high
📍 Priority-low
📍 Priority-medium
🥑 Ready
🪒 Refactor
🔙 Regression
📸 Release
🔒 Security
💡 Suggestion
🧪 Testing
🌐 Translation
💻 UI/UX
🪜 Upstream
🟦 Website
🙇♂️ Needs-help
🛰️ API-dependency
🛡️ Blocked
🏗️ Build
🗒️ Changelog
🗄️ Repository
🗓️ Summary
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitnex/GitNex#181
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Came up in issue #175
@s4ne here it is ;)
Created By: @s4ne
Wow, thank you so much! (:
@s4ne suscribe to this issue to stay informed ;)
at the moment this wont happen automaticaly
I have a test branch on local system for pdf files and the interesting part is the generated APK have bunch of heavy libraries now which made it around 23MB in size. That's huge by the standard of GitNex which is around 4MB right now.
Tested this library, works like a charm but the size is big minus for me.
https://github.com/barteksc/AndroidPdfViewer
APK size FAQ
https://github.com/barteksc/AndroidPdfViewer#why-resulting-apk-is-so-big
https://f-droid.org/en/packages/org.sufficientlysecure.viewer/ -> 9MB
two options: use other apps do display files
or find a lighweight lib @mmarif
It depends on the library used. I am still looking for best solution though.
If you find any, please share here.
I am looking for lightweight lib to include in the app. Otherwise use other app like Document viewer to view the files after download.
But priority is to include in the app. 😄
Created By: @lcnittl
I hope this fits this issue: Do you think it is possible to initiate a download for binaries that cannot be shown inside the app (I am thinking of pdf (as long as there is no in-app preview), eps, docx, etc)? Then the OS can take care of it.
Probably worth another issue, but could this also allow LFS support (currently the pointer is shown in plain text with no option to download the raw file)
@lcnittl create a new issue for this
@lcnittl I totally agree to download files. More from me is here https://gitea.com/gitnex/GitNex/issues/254
On PDF, as I could not find any other library so I will stick with the feature rich PDF library. It will make the app size little bigger but I beleive it is worth it.