No Description

Alexandra f55dbd14c0 new sharix branding 5 months ago
.github 715040ed46 DevelopVersion 6.3.0 (#3335) 10 months ago
Brand f55dbd14c0 new sharix branding 5 months ago
ExternalResources 574ab7e3a2 Version 6.0.0 (#3122) 1 year ago
File Provider Extension e638ce6d43 Update FileProviderExtension.swift 6 months ago
File Provider Extension UI 566dad5554 Version 6.1.7 (#3221) 1 year ago
Nextcloud.xcodeproj f55dbd14c0 new sharix branding 5 months ago
Notification Service Extension 5751080f9e log 6 months ago
Share 9bf09fbb9b fix root folder 6 months ago
Tests 239b840cf5 Auto upload via Albums: Improvements (#3360) 9 months ago
Widget b6a55f0a38 fix 6 months ago
WidgetDashboardIntentHandler 574ab7e3a2 Version 6.0.0 (#3122) 1 year ago
iOSClient f55dbd14c0 new sharix branding 5 months ago
.gitattributes deeb84170c test 6 years ago
.gitignore 422440e1a9 CI test integration (#2429) 2 years ago
.swiftlint.yml fe920b4ed1 Version 6.2.3 (#3274) 1 year ago
AUTHORS.md 6656230705 Version 6.1.5 (#3179) 1 year ago
Animation.gif 62c79619fc V 5.2.0 (#2833) 1 year ago
CODE_OF_CONDUCT.md d20bc8e000 update file txt 7 years ago
COPYING.iOS b8a008690b Initial commit 9 years ago
LICENSE.txt d20bc8e000 update file txt 7 years ago
Nextcloud Hub.png 5196a54a85 add ViewerQuickLook 3 years ago
README.md 715040ed46 DevelopVersion 6.3.0 (#3335) 10 months ago
Reasons to use Nextcloud.pdf 6724a6163e new class 3 years ago
SECURITY.md 32b1371365 docs: Add reporting issues guidance, first time contributor reply and funding info 1 year ago
widget.png 979d01034a add image 3 years ago

README.md

Nextcloud iOS app

Releases Build SwiftLint irc

Demo of the Nextcloud iOS files appWidget of the Nextcloud iOS files app

Demo of the Nextcloud iOS files app

Check out https://nextcloud.com and follow us on twitter.com/nextclouders

How to contribute

If you want to contribute to Nextcloud, you are very welcome:

Contribution Guidelines & License

GPLv3 with Apple app store exception.

Nextcloud doesn't require a CLA (Contributor License Agreement). The copyright belongs to all the individual contributors. Therefore we recommend that every contributor adds following line to the header of a file, if they changed it substantially:

@copyright Copyright (c) <year>, <your name> (<your email address>)

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.

More information how to contribute: https://nextcloud.com/contribute/

Start contributing

You can start by forking this repository and creating pull requests on the develop branch. Maybe start working on starter issues.

Easy starting points are also reviewing pull requests

Xcode 16 Project Setup

Dependencies

In order to build the project in Xcode you will also need a file GoogleService-Info.plist at the root of the repository which contains the Firebase configuration. For development work you can use a mock version found here.

Creating Pull requests

DCO Signoff

Nextcloud enforces the Developer Certificate of Origin (DCO) on Pull Requests. It requires your commit messages to contain a Signed-off-by line with an email address that matches your GitHub account.

How to Sign off

The DCO is a way for contributors to certify that they wrote or otherwise have the right to submit the code they are contributing by adding a Signed-off-by line to commit messages.

My Commit message

Signed-off-by: Random Contributor <random@contributor.dev>

Git even has a -s | --signoff command line option to append this to your commit messages automatically.

Support

If you need assistance or want to ask a question about the iOS app, you are welcome to ask for support in our Forums. If you have found a bug, feel free to open a new Issue on GitHub. Keep in mind, that this repository only manages the iOS app. If you find bugs or have problems with the server/backend, you should ask the Nextcloud server team for help!

TestFlight

Do you want to try the latest version in development of Nextcloud iOS ? Simple, follow this simple step

Apple TestFlight

Testing

Note: If a unit or integration test exclusively uses and tests NextcloudKit functions and components, then add that test to the NextcloudKit project instead. NextcloudKit is used in many other projects as an API, and it's better if such tests are located there.

Unit Tests

There are currently no prerequisites for unit testing. Mock everything which is not needed.

Integration Tests

In TestConstants.swift you must specify your credentials for the server you want to test against. For locally running tests and in the GitHub actions we use this shallow CI server image. Due to technical constraints the GitHub actions rely on a bare metal installation of Nextcloud on the runner in difference to local tests which can leverage much cleaner and reliable Docker containers.

Currently, you still need to launch the server manually once before running any tests locally. This project comes with a convenience script to do so, see or run Tests/Server.sh. Please familiarize yourself with its content before running it to avoid unintended removal of a container named like in the script.

The same instance is reused for all tests. A long term goal is to automatically create and discard container per test to ensure maximum test isolation and a clean test environment. Note that plain HTTP is used in this case to circumvent certificate issues and simplify the sign-in flow in automation.

UI Tests

UI tests also require a Nextcloud server to test against just like integration tests. Important: Additionally, UI tests assume your test device (regardless whether physical or Simulator) is set to US English. This is required because in some parts of the user interface the automation has no other choice than to rely on localized texts for control.