Video & audio calls and chat through Nextcloud on iOS
Nextcloud Talk is a fully on-premises audio/video and chat communication service. It features web and mobile apps and is designed to offer the highest degree of security while being easy to use.
Nextcloud Talk lowers the barrier for communication and lets your team connect any time, any where, on any device, with each other, customers or partners.
- Nextcloud server version 14 or higher (that fulfills ATS requirements).
- Nextcloud Talk version 4.0 or higher.
- CocoaPods
After cloning this repository, you can use pod install
to install all dependencies. After that, open the project with open NextcloudTalk.xcworkspace
.
Pull Requests will be checked with SwiftLint. We strongly encourage the installation of SwiftLint to detect issues as early as possible.
Depending on how you try to run the project, you'll notice that it's not running "as-is". There are a few steps to make it work with your developer account:
- The project contains multiple targets (currently
NextcloudTalk
,ShareExtension
andNotificationServiceExtension
). The bundle ids of those targets start withcom.nextcloud.Talk
which can't be used outside of Nextcloud GmbH. To run the project, change all bundle ids to something that's allowed for your developer account:com.<yourname>.Talk
. - To communicate between the main app and its extensions, app groups are used. The group identifier for NextcloudTalk is set to
group.com.nextcloud.Talk
, with the same restriction as above. Change the group identifier of all targets togroup.com.<yourname>.Talk
. - Open the file
NCAppBranding.m
(can be found in XCode under NextcloudTalk -> Settings) and changebundleIdentifier
andgroupIdentifier
to the same values you used in 1. and 2. - Run the project
Thanks for wanting to contribute source code to the Talk iOS app. That's great! π
Please read the Code of Conduct. This document offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere, and to explain how together we can strengthen and support each other.
For more information please review the guidelines for contributing to this repository.
- π Pick a good first issue or any issue/feature you like to work on
- π©βπ§ Create a branch and make your changes. Remember to sign off your commits using
git commit -sm "Your commit message"
- β¬ Create a pull request and
@mention
the people from the issue to review - π Fix things that come up during a review
- π Wait for it to get merged!
You got stuck while working on a issue or need some pointers? Feel free to ask in the corresponding issue or in our public Talk team conversation, we're happy to help.
We are using our own builds of the WebRTC library. They can be found in this repository.
Current version: 108.5359.0.
Update the download URL in download_webrtc.sh
for newer versions.
The tests included in talk-ios
require a running Nextcloud instance. To run this locally, make sure you have a working docker enviroment and run the file start-instance-for-tests.sh
- this will install a Nextcloud instance, install Nextcloud Talk and wait for everything to be up and running. By default this uses the master
branch of Nextcloud and NextcloudTalk. You can edit the file to specify a different branch (e.g. stable27
).
After that you can run the tests directly from Xcode or alternatively from the command line you can use:
xcodebuild test -workspace NextcloudTalk.xcworkspace \
-scheme "NextcloudTalk" \
-destination "platform=iOS Simulator,name=iPhone 14,OS=16.2" \
-test-iterations 3 \
-retry-tests-on-failure
If you are experiencing problems with push notifications, please check this document to detect possible issues.
Do you want to try the latest version in development of Nextcloud Talk iOS? Simple, follow this simple step
We are also available on our public Talk team conversation, if you want to join the discussion.
License: GPLv3 with Apple app store exception.