-
Notifications
You must be signed in to change notification settings - Fork 121
Carplay ability #2665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
alexm8002
wants to merge
26
commits into
nextcloud:main
Choose a base branch
from
alexm8002:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Carplay ability #2665
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
62207e6
Intents for Caplay call
alexm8002 44fc851
Carplay specific files
alexm8002 b7de113
Update Info.plist for scene support and encryption key
alexm8002 5fcb896
Add CarPlay communication entitlement and update groups
alexm8002 176c6b5
Update application group identifiers in entitlements
alexm8002 b73e9cb
Remove commented French explanations in IntentHandler
alexm8002 37b1caf
Update userActivityType constant for TalkCallIntents
alexm8002 6a6d330
Adding project files
alexm8002 7053ba0
Remove unnecessary blank lines in IntentHandler.swift
alexm8002 f807dfc
Clean up license comments in IntentHandler.swift
alexm8002 6f6d655
Clean up comments in IntentHandler.swift
alexm8002 8e15245
Update DEVELOPMENT_TEAM and PRODUCT_BUNDLE_IDENTIFIER
alexm8002 3cd2676
Remove Untitled.swift from project configuration
alexm8002 b26429d
Clean up Headers in CarPlaySceneDelegate.swift
alexm8002 c6b21f1
Clean up headers in CarPlayConversationProvider.swift
alexm8002 c4e553d
Update IntentHandler.swift Header
alexm8002 08ff41f
Delete Podfile.lock
alexm8002 13e013c
Delete NextcloudTalk.xcworkspace/xcuserdata/alexandremartinez.xcuserd…
alexm8002 f5792a7
Delete NextcloudTalk.xcworkspace/xcuserdata/alexandremartinez.xcuserd…
alexm8002 a7ba0aa
Delete NextcloudTalk.xcodeproj/xcuserdata/alexandremartinez.xcuserdat…
alexm8002 59fce39
Delete NextcloudTalk.xcworkspace/xcshareddata/swiftpm/Package.resolved
alexm8002 6c19909
Delete NextcloudTalk.xcworkspace/xcuserdata/alexandremartinez.xcuserd…
alexm8002 680a3bb
Refactor call capability and destination type handling
alexm8002 9fb0812
Update headers IntentHandler.swift
alexm8002 3b4ba43
Update CarPlayConversationProvider.swift
alexm8002 b4ad2c2
Merge branch 'main' into main
alexm8002 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| // | ||
| // SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors | ||
| // SPDX-License-Identifier: GPL-3.0-or-later | ||
| // | ||
|
|
||
| import Foundation | ||
|
|
||
| final class CarPlayConversationProvider { | ||
|
|
||
| static let shared = CarPlayConversationProvider() | ||
|
|
||
| private init() {} | ||
|
|
||
| func conversations() -> [NCRoom] { | ||
| let account = NCDatabaseManager.sharedInstance().activeAccount() | ||
|
|
||
| let rooms = NCDatabaseManager.sharedInstance().roomsForAccountId( | ||
| account.accountId, | ||
| withRealm: nil | ||
| ) | ||
|
|
||
| return rooms | ||
| .filter { room in | ||
| room.isVisible && | ||
| !room.isArchived && | ||
| room.supportsCalling && | ||
| room.userCanStartCall | ||
| } | ||
| .sorted { first, second in | ||
| first.lastActivity > second.lastActivity | ||
| } | ||
| } | ||
|
|
||
| func room(withToken token: String) -> NCRoom? { | ||
| let account = NCDatabaseManager.sharedInstance().activeAccount() | ||
|
|
||
| return NCDatabaseManager.sharedInstance().room( | ||
| withToken: token, | ||
| forAccountId: account.accountId | ||
| ) | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.