diff options
author | Henry <thisisthefoxe@gmail.com> | 2021-12-16 16:41:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-16 16:41:14 +0300 |
commit | 5e304a4e458a8c9ccc35a66c600a3b5ee368e4b9 (patch) | |
tree | 25f55578cebf0d67b3098a6e3c40906d50ecbec5 /Notification Service Extension | |
parent | c5efe1bff07f10c24a4d1f9924ecd390cf6d9fd3 (diff) |
add CI (#1711)
* fix
* 404
* fix
* fix
* coding
* coding
* fix
* new Cartfile
* added: allowedAlbumCloudShared
* fix
* fix svg
* fix
* update strings
* new version
* improved share
* coding
* coding
* coding
* coding
* improved richWorkspace
* fix
* added link name (label)
* Delete files / Clear cache
* fix
* test
* coding
* fix
* fix
* fix
* update
* update library
* fix
* #1642
* add size in share
* set title Files as ALIAS
* Build 3
* title & alias
* improved cleanUp
* Improvements pastePasteboard
* coding
* coding
* coding
* build 4
* fix
* coding
* coding
* fix
* fix
* fix share
* coding
* coding
* coding
* coding
* coding
* coding
* coding
* coding
* coding
* coding
* improved code
* nextcloud_unsupported_version 16
* update lib
* new lib
* new build
* Update README.md
update readme
* new version
* update Strings & lib
* Update README.md
* [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Revert "Talk notification"
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* Update NCCollectionViewCommon.swift
Fix selection count (in NCRecent)
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* Version 4.2.0
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Precompile Brinding header NO
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Coding
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Coding
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Coding
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Coding
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Coding
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Coding
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Improvements passcode
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Revert "Revert "Talk notification""
* Fix TalkNotification room token
Get only roomToken if token & message id are present in objectId
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* PrivacyProtectionWindow
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* PrivacyProtectionWindow
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* PrivacyProtectionWindow
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Improvements
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Improvements
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Improvements
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Improvements
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Improvements
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Improvements
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Update iOSClient/Supporting Files/en.lproj/Localizable.strings
Co-authored-by: Henry <thisisthefoxe@gmail.com>
* Update iOSClient/Settings/NCSettings.m
Co-authored-by: Henry <thisisthefoxe@gmail.com>
* update comment
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* rename func
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* rename func
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Improvements
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Improvements
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Improvements
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Improvements
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Use `guard` for splash screen checks
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Improvements
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Improvements
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Improvements
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Improvement
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Fix server trust nitpicks
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* New build for TestFlight
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Update NCLoginWeb.swift
Use default app user agent for login. This will display *Nextcloud iOS app* in the user settings.
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* Use device name as user agent for login flow
Make sure the user agent is ascii encoded.
Will be shown when logging in, granting access and in /settings/user/security
Use ONLY for login flow, when user agent is saved to DB. For API requests always use `getUserAgent()`
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* Build 2
Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
* Fix share email, not asked for password
Check for password enforcement every time a new share should be created. Will display an alert. If password enforcement is off, callback returns `nil`.
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* add CI for xcbuild + linting
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* add resolved cartfile for caching
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* add resolved cartfile for caching
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* add resolved cartfile for caching
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* add resolved cartfile for caching
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* add resolved cartfile for caching
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* Update xcode.yml
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* Update xcode.yml
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* Revert "add resolved cartfile for caching"
This reverts commit 53532867f906b22be8775220316eb413be2b097e.
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* Update xcode.yml
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* Update xcode.yml
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* fix GoogleServices.plist
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* update CI to XC 13 + fix GoogleService.plist
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* Update xcode.yml
Caching..?
Signed-off-by: Henrik Storch <thisisthefoxe@gmail.com>
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* Delete lint.yml
Remove for now since it seem it causes problems with other PRs
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* Revert "Delete lint.yml"
This reverts commit 181739526bf76353b992d689a1899296a2dccbcf.
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* Linting (default, auto)
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* SwiftLint customisation (few errors, many warnings)
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* Update .SwiftLint.yml
+ autocorrect
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* Fix linting
Build Successful (?)
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* Fix GH actions yml
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* Quarantine infected lint files
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* Add initial tests
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* CI: Remove xc clean for extensions
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* Fix notification weak delegate
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
* Update Readme
Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
Co-authored-by: marinofaggiana <marino@marinofaggiana.com>
Co-authored-by: Nextcloud bot <bot@nextcloud.com>
Diffstat (limited to 'Notification Service Extension')
-rw-r--r-- | Notification Service Extension/NotificationService.swift | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Notification Service Extension/NotificationService.swift b/Notification Service Extension/NotificationService.swift index 7e080aaf1..8024bfbbd 100644 --- a/Notification Service Extension/NotificationService.swift +++ b/Notification Service Extension/NotificationService.swift @@ -30,7 +30,7 @@ class NotificationService: UNNotificationServiceExtension { override func didReceive(_ request: UNNotificationRequest, withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) { self.contentHandler = contentHandler bestAttemptContent = (request.content.mutableCopy() as? UNMutableNotificationContent) - + if let bestAttemptContent = bestAttemptContent { bestAttemptContent.title = "" bestAttemptContent.body = "Nextcloud notification" @@ -55,11 +55,11 @@ class NotificationService: UNNotificationServiceExtension { } catch let error as NSError { print("Failed : \(error.localizedDescription)") } - + contentHandler(bestAttemptContent) } } - + override func serviceExtensionTimeWillExpire() { // Called just before the extension will be terminated by the system. // Use this as an opportunity to deliver your "best attempt" at modified content, otherwise the original push payload will be used. |