nextcloud / nextcloud/ios

Banner notifications don’t work for secondary trusted domains

Open
#931 21 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

Expected behaviour

When your iOS plays the notification sound I expect to see a notification in notification screen.

Actual behaviour

When you receive a notification from Nextcloud (like an update notification, invitiation to Nextcloud event...) my iOS device will play the iOS notification sound but I don't see anything in iOS' notification screen. It took me a while to figure out that this was coming from Nextcloud.

Note: When I open Nextcloud iOS app, I see notifcations within the Nextcloud app.

Steps to reproduce
  1. Install Nextcloud app.
  2. Add an account.
  3. Leave app (go to iOS main screen, open another app or enter standby).
  4. Trigger a notification (the hard part... maybe wait for a plugin update notification).

Your iOS device will now receive that notification and play normal iOS notification sound.
However, when you view iOS notification screen, it's empty (at least nothing new/from Nextcloud shows up).

Open Nextcloud app, touch the notification icon (bell) and you will see that the notification now shown in Nextcloud app correlates to the time your iOS devices played to notification sound.

iOS version

iOS 12.4.x

App version

2.23.8.30

Server configuration

Operating system: Gentoo Linux

Web server: nginx

Database: Percona-Server 5.7

PHP version: 7.3.9

Nextcloud version: 16.0.4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the notification flow on the iOS app with a secondary trusted domain, then compare the iOS notification screen with the in-app notification bell. Done means notifications from Nextcloud appear in the iOS notification screen as well as inside the app.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.