Skip to content

Notes close when switching between apps #2289

@skoobasteeve

Description

@skoobasteeve

Steps to reproduce

  1. Open latest Nextcloud app on iOS
  2. Open .md file in the text editor
  3. Switch away to another app
  4. Switch back to Nextcloud app

Expected behaviour

Note stays open.

Actual behaviour

Note closes and the file browser shows.

Screenshots

RPReplay_Final1670974881.mp4

Logs

I think these logs from the iOS app show the problem:

2022-12-13 19:02:15 Network response request: https://cloud.raylyon.us/remote.php/dav/files/raylyon/Recipes/BBQ, result: success(1667 bytes)
2022-12-13 19:02:19 Network request started: GET https://cloud.raylyon.us/remote.php/dav/files/raylyon/Recipes/BBQ/Corn%20Pasta%20Salad.md
2022-12-13 19:02:19 Network request started: POST https://cloud.raylyon.us/ocs/v2.php/apps/files/api/v1/directEditing/open?path=/Recipes/BBQ/Corn%20Pasta%20Salad.md&editorId=text
2022-12-13 19:02:19 Network response request: https://cloud.raylyon.us/ocs/v2.php/apps/files/api/v1/directEditing/open?path=/Recipes/BBQ/Corn%20Pasta%20Salad.md&editorId=text, result: success(202 bytes)
2022-12-13 19:02:22 [INFO] Application will resign active
2022-12-13 19:02:25 [INFO] Application did enter in background
2022-12-13 19:02:25 [SUCCESS] Refresh task success submit request 60 seconds <BGAppRefreshTaskRequest: com.nextcloud.refreshTask, earliestBeginDate: 2022-12-14 00:03:25 +0000>
2022-12-13 19:02:25 [SUCCESS] Background Processing task success submit request 5 minutes <BGProcessingTaskRequest: com.nextcloud.processingTask, earliestBeginDate: 2022-12-14 00:07:25 +0000, requiresExternalPower=0, requiresNetworkConnectivity=0>
2022-12-13 19:02:26 [INFO] Application will enter in foreground
2022-12-13 19:02:26 Network request started: GET https://cloud.raylyon.us/status.php (200)
2022-12-13 19:02:26 Network request started: GET https://cloud.raylyon.us/ocs/v2.php/cloud/user
2022-12-13 19:02:26 Network request started: PROPFIND https://cloud.raylyon.us/remote.php/dav/files/raylyon/Recipes/BBQ
2022-12-13 19:02:26 Network request started: GET https://cloud.raylyon.us/index.php/avatar/gwenb/384
2022-12-13 19:02:26 Network response request: https://cloud.raylyon.us/status.php, result: success(172 bytes)
2022-12-13 19:02:26 Network request started: PROPFIND https://cloud.raylyon.us/remote.php/dav/files/raylyon/Recipes/BBQ
2022-12-13 19:02:26 Network response request: https://cloud.raylyon.us/ocs/v2.php/cloud/user, result: success(1066 bytes)
2022-12-13 19:02:26 Network request started: REPORT https://cloud.raylyon.us/remote.php/dav/files/raylyon
2022-12-13 19:02:26 Network request started: GET https://cloud.raylyon.us/index.php/avatar/raylyon/384
2022-12-13 19:02:26 Network request started: GET https://cloud.raylyon.us/ocs/v1.php/cloud/capabilities
2022-12-13 19:02:26 Network request started: GET https://cloud.raylyon.us/ocs/v2.php/apps/dashboard/api/v1/widgets
2022-12-13 19:02:26 [INFO] Application did become active
2022-12-13 19:02:26 [INFO] Initialize Auto upload with 0 uploads
2022-12-13 19:02:27 Network response request: https://cloud.raylyon.us/remote.php/dav/files/raylyon/Recipes/BBQ, result: success(1667 bytes)
2022-12-13 19:02:27 Network response request: https://cloud.raylyon.us/remote.php/dav/files/raylyon/Recipes/BBQ, result: success(1667 bytes)
2022-12-13 19:02:27 Network response request: https://cloud.raylyon.us/remote.php/dav/files/raylyon, result: success(16225 bytes)
2022-12-13 19:02:27 Network request started: PROPFIND https://cloud.raylyon.us/remote.php/dav/files/raylyon/Recipes/BBQ
2022-12-13 19:02:27 Network response request: https://cloud.raylyon.us/ocs/v2.php/apps/dashboard/api/v1/widgets, result: failure(Alamofire.AFError.responseValidationFailed(reason: Alamofire.AFError.ResponseValidationFailureReason.unacceptableStatusCode(code: 404)))

Environment data

iOS version: 16.1.1, 16.2

Nextcloud iOS app version: 4.5.7.0

Server operating system: Ubuntu 20.04

Web server: Apache

Database: MariaDB

PHP version: 8.0.25

Nextcloud version: 23.0.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions