Coder Social home page Coder Social logo

Comments (8)

farfromrefug avatar farfromrefug commented on August 27, 2024

@cafehaine sorry for the issue. Can you clarify what you did?

  • scan a document withh the camera
  • go back to main screen (list of documents)
  • delete the document
  • crash?

from oss-documentscanner.

cafehaine avatar cafehaine commented on August 27, 2024

Scan a document, then on the capture edit screen hit the delete button

from oss-documentscanner.

farfromrefug avatar farfromrefug commented on August 27, 2024

@cafehaine ok indeed i missed this one ! sorry yes it might break the app :( (you have a document without any page). You need to remove data from the app, is that ok with you?

from oss-documentscanner.

cafehaine avatar cafehaine commented on August 27, 2024

That's fine with me, thanks :)

from oss-documentscanner.

farfromrefug avatar farfromrefug commented on August 27, 2024

@cafehaine a new build is up which should fix your issue https://github.com/Akylas/com.akylas.documentscanner/releases/tag/com.akylas.documentscanner%2Fandroid%2Fgithub%2F1.1.3%2F8

from oss-documentscanner.

NA0341 avatar NA0341 commented on August 27, 2024

Hi there 🙋‍♂️

Same issue here.
I installed the app from F-Droid (Neo Store), launched it, took a first photo - and pressed the delete - button on the capture UI.

What I tried: Delete Application data, delete data & reinstall (two times), update with your new version, then delete data & launch again.

But the behavior didn't change.
As soon as I grant or deny the storage permission (which it asks for right after launch), it crashes instantly. But only after that.

Granting all permissions in advance didn't work either.

Again reinstalling the new version is also to no avail.


Maybe it has to do with my system:

Samsung Galaxy S8 (SM-G950F)
OS version: 9
Bootloader: G950FXXUCDVG4, VM: ART
Kernel: 4.4.111-21427293
Brand: samsung, Model: SM-G950F
Board: universal8895, Manufacturer: samsung

SDK
Target: 28, Min: 17

I debloated this device via adb shell "pm uninstall -k --user 0 <package_name> commands (as well as through AppManager through ADB over TCP mode - which should be the same thing) and removed almost everything related to both Samsung and Google - except needed system packages.

The device & (almost) all installed (F-Droid & GitHub) applications work like a charm and extremely fast. So for most that's not an issue. (And well it did work finde the very first time.)
However, I don't know if your Application depends on something that's no longer there after the debloat. Obsidian doesn't even start for example - even though VebView is still in place (oh right maybe because it's not up to date 🧐).

I tested on a second S8 with the new version you just provided - and avoided the delete button.

I found some issues while testing on the second S8 and will make separate cards for them.

Here the screenshots:

Screenshot_20231217-142706_Settings
Screenshot_20231217-142743_App Manager

So on my old Samsung S8 (which I didn't debloat) your application works like a charm (except #19 still present in 1.1.4.9). Can you tell me what I can do to find out the cause for this crash?

Ah and restart and wiping of the entire cache partition didn't help either - so it should be a missing software component or different configuration of some sort.

I mean both devices literally run the exact same kernel build as well - only the bootloader seems to be different (see #19).

Thank You in advance! ❤️

from oss-documentscanner.

farfromrefug avatar farfromrefug commented on August 27, 2024

@NA0341 sorry it still does not work. i will fix it. might also ensure it does not break the app on start

from oss-documentscanner.

farfromrefug avatar farfromrefug commented on August 27, 2024

@NA0341 there is on thing i dont understand. Your issue is that now the app crashes on start, even if you uninstall/install the app ?
If so something is weird on your device. When you uninstall it should remove any app setting/data so the crash (which is due to a db thing the app does not like) should not happen again

from oss-documentscanner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.