paperless_app icon indicating copy to clipboard operation
paperless_app copied to clipboard

iOS support

Open bauerj opened this issue 3 years ago • 83 comments

An iOS version is currently in development.

If you would like to test, you can find it on testflight: https://testflight.apple.com/join/ToncPdxU

Please open a new issue if you find a bug in the iOS version.

If you would like to help developing, please let us know here. The current progress can be found here: https://github.com/AliKarpuzoglu/paperless_app/tree/clean_update


This issue will be used to coordinate the effort to distribute Paperless App to the Apple app store.

A developer has been able to successfully run the app on their iOS device, with only minor changes. More details will follow soon.

While all features work, there are some further changes necessary to make it feel like a proper app on iOS, especially regarding the user interface. Currently there are still some layout problems and missing navigation elements.

Once the app works good enough to release it to the public, we will have to:

  • Set up automatic building as part of our CI pipeline (cc @tcurdt)
  • Find out how I can make sure I didn't break anything for iOS when changing something

bauerj avatar Sep 29 '21 17:09 bauerj

That's great! I'm out of the country right now, but I'd be able to help TestFlight once I'm back in the states.

I know this is still in the early stages, but is there a plan for publishing? My apple developer account has lapsed. However I'm happy to pitch in for the cost of the shared account.

qcasey avatar Oct 03 '21 10:10 qcasey

As Johann already indicated, I have a version for iOS running. I supports the main functions and only required very small modifications. In case anyone is interested to test it, please let me know. You can see the changes in my fork of this repository.

A few things are still not working perfectly but I would consider most of them as minor problems. Here are the issues I discovered so far:

  • Some screens (about and settings) don't have a back button but it seems like a left to right swipe can close them.
  • It is not yet possible to share external content with the app. There are instructions for enabling this in Xcode in the Flutter implementation (receive_sharing_intent) but I didn't run through it yet.
  • Some parts of the edge_detection UI have buttons that have issues with background transparency on newer iOS version (at least for iOS 15, maybe even for 13 and 14). I traced this down to the native implementation which is called WeScan (from We Transfer). I changed the background for the navigation bars on the top of the screen but could not do it for the bottom part from within a customized version of edge_detection. This needs to be done in WeScan but I didn't yet see a way to include a customized version of WeScan into edge detection. As this issue was also raised for WeScan I hope it would disappear soon.
  • The document preview image inside the detailed document view is inverted in dark mode even if the settings switch is set to not invert documents in preview

Apart from this everything seems to be working fine. Anyone interested in testing, please let me know.

pilaski avatar Oct 12 '21 20:10 pilaski

I would also be able to test the iOS app. Can you invite me to test flight?

BR

andreheuer avatar Oct 22 '21 20:10 andreheuer

Happy to test if you need more testers :)

zeeshan-m avatar Oct 30 '21 19:10 zeeshan-m

Same - happy to test if you need more testers!

dereitz avatar Nov 01 '21 14:11 dereitz

Good to see so many people interested to test. Now I just need your e-Mail addresses. Please write to my first name at my last name dot de.

Unfortunately I can't offer a link for public beta test. I tried to submit the app for review to Apple but that failed. Apple needs access to a Paperless server in order to test the app. Does anyone know if there is a demo instance of Paperlesss available anywhere?

pilaski avatar Nov 04 '21 21:11 pilaski

I don't know of an official one. You're all welcome to hammer my demo instance, if you'd like:

https://paperless-demo.quinncasey.com/ paperless paperless

qcasey avatar Nov 05 '21 18:11 qcasey

I sent you an email as well, thanks for taking care of it!

Eldiabolo21 avatar Dec 03 '21 17:12 Eldiabolo21

Looking forward to this.

fyrfli avatar Dec 12 '21 08:12 fyrfli

Happy to test as well @pilaski, just sent you an email!

JDFS404 avatar Dec 12 '21 08:12 JDFS404

I sent an email too. Hoping to be able to try it out! Thanks!

2600box avatar Jan 29 '22 06:01 2600box

Has anyone ever heard back from sending an emai? I haven't since I wrote in December last year.

Eldiabolo21 avatar Jan 29 '22 11:01 Eldiabolo21

I heard back from @pilaski back in Nov, but nothing since. I have the app in Test Flight and submitted some feedback through that. Perhaps other life priorities have taken over? It's hard to know with the lack of response.

dereitz avatar Jan 29 '22 14:01 dereitz

@dereitz and everyone else who has been able to test this: Can I get some feedback on how well this worked? Did you notice any bugs or things to improve?

bauerj avatar Feb 09 '22 20:02 bauerj

My memory is a little foggy on this as it has been 3 months since I tested and I only tested the app one night. I'm also unable to test via TestFlight now since the beta period has expired.

That said, from what I recall, the app worked very well overall. There were some minor rendering issues which were compounded by my lack of familiarity with the app since I've never used the Android app. I'd love to see this supported on iOS. For me personally, the biggest impediment for my personal use would be multi-page documents as outlined below: https://github.com/bauerj/paperless_app/issues/34

For now, I'm using the Nextcloud image scanner which can do multi-page documents.

dereitz avatar Feb 09 '22 22:02 dereitz

I also am a little vague on what I found when I tested. I think I sent in two feedback messages in either TestFlight or within the app, but I don't really remember what they were.

Overall, I found it to be a really good first version and would love to see it be up on the app store.

If I can fit it in this week, I'll see if I can re-test and/or find those issues I submitted and post here.

fyrfli avatar Feb 10 '22 18:02 fyrfli

Please let me comment on the current testing issue. Unfortunately the testing via TestFlight is not possible right now. The old beta version has expired and I can currently not upload a new version as I have an issue with the build environment. I hope to fix that soon.

pilaski avatar Feb 10 '22 21:02 pilaski

@pilaski any way to help? I forked your version and built it after updating from bauerj/paperless_app#master, fixing some conflicts. it's building and running now, I didn't really test it yet though.

I'll do another quick check and then push it here: https://github.com/AliKarpuzoglu/paperless_app

Also: did the camera scan work for you? I can upload files but I couldn’t save the scans.

Edit: I just see it works when you remove EdgeDetection.useInternalStorage(true); in https://github.com/bauerj/paperless_app/blob/master/lib/scan.dart

It's running now, but it doesn't auto-refresh when a new file is uploaded. I could upload the app, or send you a build if you like, so maybe we can get a build up on the app store in the near future

On https://github.com/AliKarpuzoglu/paperless_app/tree/clean_update I uploaded a current running version. If I understand correctly, you have added some changes to edge_detection as well @pilasky? have they been merged? are they important? I have tried to get the current master to just run and it kind of worked.

AliKarpuzoglu avatar Feb 15 '22 12:02 AliKarpuzoglu

Could I also get an invite for testflight? @pilaski

thefiredragon avatar Feb 17 '22 10:02 thefiredragon

@pilaski any way to help? I forked your version and built it after updating from bauerj/paperless_app#master, fixing some conflicts. it's building and running now, I didn't really test it yet though.

I'll do another quick check and then push it here: https://github.com/AliKarpuzoglu/paperless_app

Also: did the camera scan work for you? I can upload files but I couldn’t save the scans.

Edit: I just see it works when you remove EdgeDetection.useInternalStorage(true); in https://github.com/bauerj/paperless_app/blob/master/lib/scan.dart

It's running now, but it doesn't auto-refresh when a new file is uploaded. I could upload the app, or send you a build if you like, so maybe we can get a build up on the app store in the near future

On https://github.com/AliKarpuzoglu/paperless_app/tree/clean_update I uploaded a current running version. If I understand correctly, you have added some changes to edge_detection as well @pilasky? have they been merged? are they important? I have tried to get the current master to just run and it kind of worked.

Your fork does not build, it still has merge conflict markers in several files.

adadnc avatar Feb 20 '22 21:02 adadnc

@pilaski any way to help? I forked your version and built it after updating from bauerj/paperless_app#master, fixing some conflicts. it's building and running now, I didn't really test it yet though. I'll do another quick check and then push it here: https://github.com/AliKarpuzoglu/paperless_app Also: did the camera scan work for you? I can upload files but I couldn’t save the scans. Edit: I just see it works when you remove EdgeDetection.useInternalStorage(true); in https://github.com/bauerj/paperless_app/blob/master/lib/scan.dart It's running now, but it doesn't auto-refresh when a new file is uploaded. I could upload the app, or send you a build if you like, so maybe we can get a build up on the app store in the near future On https://github.com/AliKarpuzoglu/paperless_app/tree/clean_update I uploaded a current running version. If I understand correctly, you have added some changes to edge_detection as well @pilasky? have they been merged? are they important? I have tried to get the current master to just run and it kind of worked.

Your fork does not build, it still has merge conflict markers in several files.

Did you try the master branch or one of the two updated branches? I did not change the master branch, but I cleaned up the merge conflicts and updated from parent on the ‚Bauerj-master‘ branch and did a clean fork of this master on ‚clean-update‘

AliKarpuzoglu avatar Feb 21 '22 13:02 AliKarpuzoglu

@AliKarpuzoglu thanks for sharing your progress. I will give it a try myself. Part of my problem lately was also cleanly merging my changes with the original repository. Maybe you can teach me how to do that ;)

pilaski avatar Feb 23 '22 22:02 pilaski

@AliKarpuzoglu would you mind sharing some more information on how you build your fork 'clean-update'? Or would share a Testflight link?

adadnc avatar Mar 10 '22 11:03 adadnc

Also ready for testflight if possible!

cutzenfriend avatar Mar 11 '22 16:03 cutzenfriend

Would also be up for a testflight 😎

elmocito avatar Mar 13 '22 08:03 elmocito

++

TheDarthFather avatar Mar 13 '22 11:03 TheDarthFather

@AliKarpuzoglu would you mind sharing some more information on how you build your fork 'clean-update'? Or would share a Testflight link?

You should be able to just build it as seen in the instructions:

flutter pub run build_runner build however you need to run pod install in the iOS folder

I can look into uploading a testflight build

AliKarpuzoglu avatar Mar 14 '22 16:03 AliKarpuzoglu

Not sure if this has already been suggested but could you use something like MacStadium to do this. If not I’d be more than happy to release this on the IOS Store

chriscn avatar Mar 15 '22 13:03 chriscn

I am not owning a Mac and I am not knowledgeable into compiling for IOS, so if someone could release it for IOS will be great! @chriscn

TheDarthFather avatar Mar 15 '22 13:03 TheDarthFather

Not sure if this has already been suggested but could you use something like MacStadium to do this. If not I’d be more than happy to release this on the IOS Store

I don't know anything about MacStadium, but I would also not pay 100+ Euros a month for any publishing.

I have uploaded a testflight build, I'll share a link when it's ready. More comments asking for it won't speed it up though.

@pilaski once you're ready I would disable my build, just shoot me a message.

AliKarpuzoglu avatar Mar 15 '22 14:03 AliKarpuzoglu