Skip to content

Adjust notifier to Nextcloud 17 #610

@nickvergessen

Description

@nickvergessen

Hello App developer,

for Nextcloud 17 the notifications API received some changes:
nextcloud/server#15040

Notable are especially:

  • Strict types are checked on the method signature instead of throwing \InvalidArgumentException inside
  • A new action type WEB has been added, which makes the clients open the website instead of sending a request in the background
  • Notifier registration has been adjusted to state of the art

For the last point your App needs a patch similar to this Pull Request in the Talk app.
Please see the comments on this GitHub review for detailed steps and explanations:
nextcloud/spreed#2003 (review)

Also if your app supports multiple Nextcloud versions, you need to split on this release.
The old way of registering does not work in Nextcloud 17 and the new way does not work in olders.
So you need to make a new release which is exclusive for >=17 and the old one should be for <=16.

Thanks for your understanding and happy hacking


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions