File question failure

What is the problem? Please be detailed.
even in allwidget form the file question mais odk crash

What ODK tool and version are you using? And on what device and operating system version?
1.19 for odk collect
samsung activ tab2 for device
Android 8.1.0 for OS
What steps can we take to reproduce the problem?
use allwidget form
tst To put pdf file on file question
it crash
What you have you tried to fix the problem?
no problème with my Asus zenfone 4

Anything else we should know or have? If you have a test form or screenshots or logs, attach here.

1 Like

@Fabienne35 How big is the PDF file? Does it just happen with only PDF files or any file?

I try with 45 ko file and 1,5 MO pdf file
I also try a png file

Each time odk crashed

Fabienne

Thanks for reporting the issue and providing some more details @Fabienne35
I was able to found crash reports from your device and looks as if you ran into two different problems:
https://github.com/opendatakit/collect/issues/2921 and https://github.com/opendatakit/collect/issues/2923
I've already fixed the first crash and I'm still on the second one.

@Fabienne35
I need your help. As I said I was able to reproduce and fix the first problem but I' can't reproduce the second one, so despite the fact I have a fix I can't confirm it works as expected.
Could you install this apk on your device and check if it fixes your problems?:


if it doesn't work please try the second solution:

I would like to know which one works for you. Thanks in advance!

I can't install the patch
It fails at the end after I accept the install and the progress bar is finished

Fabienne

Maybe you can't because your device doesn't allow to install from unknown sources. Could you try to enable it? https://www.applivery.com/docs/troubleshooting/android-unknown-sources

I do not have this menu entering when the pop up ask for authorize unknown source I answer yes
The install begin

The progress bar run and stop at about 80%

And after stop and a message appears

App is not install

Fabienne

Maybe it's because you have another ODK Collect version installed? If so could you remove it before?

I test apk1 and it works perfectly
Thanks a lot !

Btw The new appearance is very nice

Fabienne

Great but it's just an apk for testing (not an official release). We'll try to release a new version with this fix soon.
Thanks!

I have on other pb with apk1
which is solved by apk2: annotation on large p ng image(a plan)

With apk2 there is no crash

and file widget works well with both

That's great the second apk contains two fixes so that means both of them work well. Thanks!

Hope this help !

Fabienne