nextcloud / ios

📱 Nextcloud iOS App
https://itunes.apple.com/us/app/nextcloud/id1125420102
GNU General Public License v3.0
1.98k stars 883 forks source link

IOS app 3.0.3 hangs #1380

Open toabctl opened 4 years ago

toabctl commented 4 years ago

Expected behaviour

The app works like with 2.X

Actual behaviour

The app is not responsive when I eg. select the media view. But also automatic upload hangs. When I'm in the media view, the app hangs (does not responde to any action (eg. tryting to switch to the files view))

Steps to reproduce

iphone11 with latest IOS 13.x with nextcloud server 19.0.1.

1) Open the app 2) select the media view

Reasoning or why should it be changed/implemented?

iOS version

13.6 (current latest)

App version

3.0.3

Server configuration

19.0.1 deployed via docker-compose

Operating system:

openSUSE Leap 15.2

Web server:

Apache 2.4

Database:

MariaDB

PHP version:

Nextcloud version: (see Nextcloud admin page)

19.0.1

toabctl commented 4 years ago

Note: There is no error in the server logs. And I have no idea how to get some logs from the ios app. Any hints?

gewuerzgurke84 commented 4 years ago

I‘ve noticed the same behavior after the 3.0.3 Update. The Server logs don‘t show any suspicious error/warning...

toabctl commented 4 years ago

@marinofaggiana any hints how to debug the ios app? Is there any documentation about it?

marinofaggiana commented 4 years ago

Hi, you can try with the last beta:


Nextcloud TestFlight

https://testflight.apple.com/join/GjNbfo2a


toabctl commented 4 years ago

@marinofaggiana done. Same result. App just crashed. I sent the test result. I guess you received the infos from the crash...

toabctl commented 4 years ago

Looks like I did not test the app. I used TestFlight now to open the app and now it seems to work fine. Thanks!

@marinofaggiana When do you release a new version to the App Store?

marinofaggiana commented 4 years ago

It's already available 3.0.4 (today)

toabctl commented 4 years ago

So Auto-Upload works again and I can do stuff with the app. It it‘s still crashing often. I sent crash reports. This is now with 3.0.5

dinony commented 4 years ago

Had the same issues and tried the test flight route. App still hangs.. Is it possible to downgrade to 2.x version?

crazybadger commented 4 years ago

3.0.5 improved things with Auto Upload working again and none of the 'freezes' I'd seen with 3.0.2. I also upgraded my server to 19.0.1 although I don't think the problem was there, as downgrading from 3.0.2 to 3.0.0 solved most of the issues too. What changed between 3.0.1 and 3.0.2 to cause to the problems?

marinofaggiana commented 4 years ago

Try with the last version in TestFlight, should be fixed.

schmurtzm commented 4 years ago

Not extraordinary with the last testflight (3.0.7.8), big lack of reactivity when naviguate in the UI. I'm not an IOS dev but it's like if the upload doesn't run in a separate thread and use a lot of CPU.

For example when you press on the "stop" square button to cancel an upload in the queue, (there is no confirmation that's already a little problem but most important : ) it takes many seconds to be removed from the list so you press again... and finally you have removed two item instead one in the upload queue.

schmurtzm commented 4 years ago

On iphone 8 Plus (not too slow device), the last testflight release (3.0.7.11) still hanging a lot, it's not better.

I see that in the "transfers" window it try to create a thumbnail for each file before uploading... May be it consumes a lot of CPU and it is not useful when you make a whole camera upload ?

A side effect of these hang is that when you click on "advanced" button more than one time it opens multiple instance of the window.

marinofaggiana commented 4 years ago

No news here ... yet ...