πŸ“± Nextcloud iOS App
ΠŸΠ΅Ρ€Π΅ΠΉΡ‚ΠΈ ΠΊ Ρ„Π°ΠΉΠ»Ρƒ
Marino Faggiana 84f7922766
Version 6.1.6 (#3185)
2024-11-12 09:59:43 +01:00
.github Version 6.1.5 (#3179) 2024-11-11 09:49:30 +01:00
Brand Version 6.1.6 (#3185) 2024-11-12 09:59:43 +01:00
ExternalResources Version 6.0.0 (#3122) 2024-10-24 13:55:27 +02:00
File Provider Extension Version 6.1.6 (#3185) 2024-11-12 09:59:43 +01:00
File Provider Extension UI Version 6.0.0 (#3122) 2024-10-24 13:55:27 +02:00
Nextcloud.xcodeproj Version 6.1.6 (#3185) 2024-11-12 09:59:43 +01:00
Notification Service Extension Version 6.0.0 (#3122) 2024-10-24 13:55:27 +02:00
Share Version 6.1.5 (#3179) 2024-11-11 09:49:30 +01:00
Tests Version 6.1.5 (#3179) 2024-11-11 09:49:30 +01:00
Widget Version 6.0.0 (#3122) 2024-10-24 13:55:27 +02:00
WidgetDashboardIntentHandler Version 6.0.0 (#3122) 2024-10-24 13:55:27 +02:00
iOSClient Version 6.1.6 (#3185) 2024-11-12 09:59:43 +01:00
.gitattributes test 2019-05-22 15:27:58 +02:00
.gitignore CI test integration (#2429) 2023-06-22 15:59:55 +02:00
.swiftlint.yml New version 5.4.0 (#2966) 2024-07-01 11:20:53 +02:00
AUTHORS.md Version 6.1.5 (#3179) 2024-11-11 09:49:30 +01:00
Animation.gif V 5.2.0 (#2833) 2024-03-08 08:21:32 +01:00
CHANGELOG.md Update CHANGELOG.md 2021-02-18 18:14:18 +01:00
CODE_OF_CONDUCT.md
…
COPYING.iOS
…
LICENSE.txt
…
Nextcloud Hub.png add ViewerQuickLook 2023-01-12 12:39:54 +01:00
README.md Version 6.1.5 (#3179) 2024-11-11 09:49:30 +01:00
Reasons to use Nextcloud.pdf new class 2022-12-28 13:16:21 +01:00
SECURITY.md docs: Add reporting issues guidance, first time contributor reply and funding info 2024-09-24 19:05:07 +02:00
create-docker-test-server.sh Version 5.3.0 (#2930) 2024-05-25 09:06:05 +02:00
wait-for-server.sh Version 5.3.0 (#2930) 2024-05-25 09:06:05 +02:00
widget.png add image 2022-10-16 10:49:09 +02:00

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 write that test in the NextcloudKit repo. NextcloudKit is used in many other repos as an API, and it's better if such tests are located there.

Unit tests:

There are currently no preresquites for unit testing that need to be done. Mock everything that's not needed.

Integration tests:

To run integration tests, you need a docker instance of a Nextcloud test server. This is a good start.

  1. In TestConstants.swift you must specify your instance credentials. App Token is automatically generated.
public class TestConstants {
    static let timeoutLong: Double = 400
    static let server = "http://localhost:8080"
    static let username = "admin"
    static let password = "admin"
    static let account = "\(username) \(server)"
}
  1. Run the integration tests.

UI tests

UI tests also use the docker server, but besides that there is nothing else you need to do.