1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-07 21:37:02 +09:00
Official Anytype client for Android https://anytype.io
Find a file
George Shalvashvili 3fd82fd06d
DROID-2303 App | Tech | Add Android Studio project icon (#996)
Co-authored-by: Evgenii Kozlov <ubuphobos@gmail.com>
2024-03-11 13:13:01 +01:00
.githooks DROID-1065 Project | Tech | Add secrets push hook (#3041) 2023-03-29 17:58:24 +03:00
.github DROID-1881 App | Tech | AGP Update (8.1.4) (#579) 2023-11-21 13:09:37 +01:00
.idea DROID-2303 App | Tech | Add Android Studio project icon (#996) 2024-03-11 13:13:01 +01:00
analytics DROID-2194 Analytics | Route param (#962) 2024-03-04 14:47:54 +01:00
app DROID-2249 Mutiplayer | Fix | User-as-owner-of-space fixes (#993) 2024-03-07 19:36:37 +01:00
clipboard DROID-1803 App | Tech | Kotlin + Library updates (#704) 2023-12-18 11:02:15 +01:00
core-models DROID-2176 Multiplayer | Tech | Integrate spaceAccessType relation (#989) 2024-03-07 14:03:46 +01:00
core-ui DROID-2274 Payments | Design | Layout for screens with membership details (#992) 2024-03-08 10:39:18 +01:00
core-utils DROID-2236 Sharing extensions | Fix | Fix dropdown menu flickering (#913) 2024-02-23 17:43:42 +01:00
crash-reporting DROID-1803 App | Tech | Kotlin + Library updates (#704) 2023-12-18 11:02:15 +01:00
data DROID-2176 Multiplayer | Tech | Integrate spaceAccessType relation (#989) 2024-03-07 14:03:46 +01:00
device DROID-2072 Sharing extension | Enhancement | Display filename in the content field (#840) 2024-02-08 11:02:29 +01:00
docs DROID-1654 App | Feature | Multispaces + Misc. enhancements (#300) 2023-10-24 12:41:32 +02:00
domain DROID-2261 Multiplayer | Enhancement | UX for stopping sharing space — Hotfix (#985) 2024-03-07 14:53:23 +01:00
gradle DROID-2299 Protocol | Enhancement | MW 0.32.1 (#981) 2024-03-06 17:43:42 +01:00
library-emojifier DROID-1803, DROID-2116 App | Tech | Fix misc. errors and crashes (#761) 2024-01-10 14:02:26 +01:00
library-page-icon-picker-widget DROID-1803 App | Tech | Kotlin + Library updates (#704) 2023-12-18 11:02:15 +01:00
library-syntax-highlighter DROID-1803 App | Tech | Kotlin + Library updates (#704) 2023-12-18 11:02:15 +01:00
libs DROID-1654 App | Feature | Multispaces + Misc. enhancements (#300) 2023-10-24 12:41:32 +02:00
localization DROID-2274 Payments | Design | Layout for screens with membership details (#992) 2024-03-08 10:39:18 +01:00
middleware DROID-2176 Multiplayer | Tech | Integrate spaceAccessType relation (#989) 2024-03-07 14:03:46 +01:00
payments DROID-2274 Payments | Design | Layout for screens with membership details (#992) 2024-03-08 10:39:18 +01:00
persistence DROID-2218 Tech | Internal protocol switch (#890) (#912) 2024-02-23 17:43:42 +01:00
presentation DROID-2249 Mutiplayer | Fix | User-as-owner-of-space fixes (#993) 2024-03-07 19:36:37 +01:00
protocol DROID-2299 Protocol | Enhancement | MW 0.32.1 (#981) 2024-03-06 17:43:42 +01:00
sample DROID-2274 Sample | Compose modals (#994) 2024-03-08 10:39:45 +01:00
scripts DROID-2036 App | Tech | Script for downloading custom MW builds (#800) 2024-01-26 18:03:03 +01:00
test DROID-2195 Auth | Tech | Remove legacy (#845) 2024-02-08 17:16:09 +01:00
ui-settings DROID-2274 Payments | Module + integration (#960) 2024-03-04 14:44:16 +01:00
.gitignore DROID-1602 Self hosting | Fix | Network mode config (#719) 2023-12-19 23:10:44 +01:00
.pre-commit-config.yaml DROID-1065 Project | Tech | Add secrets push hook (#3041) 2023-03-29 17:58:24 +03:00
build.gradle DROID-1686 Tech | Target SDK 34 (#319) 2023-08-29 11:42:35 +02:00
CHANGELOG.md DROID-997 App | Tech | Change log for 0.22.6 (#63) 2023-06-15 20:05:56 +02:00
crowdin.yml l10n | Enhancement | Enabling Dutch lang 2024-01-28 11:36:33 +02:00
gradle.properties DROID-1881 App | Tech | Disable R8 full mode (#579) 2023-11-22 14:28:31 +01:00
gradlew DROID-498 Tech | Upgrade | Update kotlin to 1.7.10 (#2632) 2022-10-04 20:37:43 +03:00
gradlew.bat DROID-498 Tech | Upgrade | Update kotlin to 1.7.10 (#2632) 2022-10-04 20:37:43 +03:00
LICENSE.md Update LICENSE.md 2023-07-24 09:40:12 +03:00
lint.gradle Tech | Fix | Lint setup for CI (#2286) 2022-05-18 23:21:27 +03:00
Makefile DROID-2036 App | Tech | Script for downloading custom MW builds (#800) 2024-01-26 18:03:03 +01:00
middleware2.sh DROID-979 App | Tech | Setup sentry (#3002) 2023-03-16 19:19:24 +03:00
PerfTests.md Editor | Tech | Perf tests (#2259) 2022-05-16 19:15:23 +03:00
README.md Prepare anytype-kotlin for contributing (#238) 2023-07-24 16:12:07 +03:00
RELATIONS_REFACTORING.md DROID-607 Relations & types and options | Refactoring | Everything-is-an-object refactoring (#2720) 2022-11-24 18:11:19 +03:00
release.sh release script for different release types (#965) 2020-10-08 16:41:04 +03:00
settings.gradle DROID-2274 Payments | Module + integration (#960) 2024-03-04 14:44:16 +01:00
versioning.gradle DROID-1881 App | Tech | Fix gradle task for enabling dated version names (#579) 2023-11-24 12:07:50 +01:00

Anytype

Official Anytype client for Android.

Build project

Prerequisites

  • Clone this repository

  • Create github.properties file in root project folder:

    gpr.usr=GITHUB_USER_ID
    gpr.key=GITHUB_PERSONAL_ACCESS_TOKEN
    

Your Github ID (starting with '#' character) can be found here. As to your personal Github access token, you can generate it in Developer settings in your profile settings on Github.

  • Create apikeys.properties file in root project folder:

    amplitude.debug="AMPLITUDE_DEBUG_KEY"
    amplitude.release="AMPLITUDE_RELEASE_KEY"
    sentry_dsn="SENTRY_DSN_KEY"
    

Then build project.

IDE setup (optional)

Based on your IDE setup, you might experience problems while accessing/importing auto-generated Kotlin classes from protocol module. These classes are currently declared in very large files, which IDE might not process as expected. If this is your case, go to your Android Studio Help section, select Edit Custom Properties option. There you should set idea.max.intellisense.filesize property as follows:

idea.max.intellisense.filesize=3500

Our tech change log

Anytype Android app dependencies

Conventions

PR naming

{TASK-ID} {APP AREA} | {NATURE OF CHANGE: Fix, Enhancement, Feature, Design, Documentation} | {CONCISE DESCRIPTION OF WHAT HAS BEEN DONE}

App area can be App, Editor, Sets, Relations, Auth, Settings, Analytics, Tech (CI, DI, scripting, etc.), etc.

Example: Editor | Fix | Show meaningful message when failed to open file by an existing application

Git branch naming

{TASK_ID or TASK_NUMBER}-ConciseDescription

Flags

com.anytype.ci=true - for CI/CD pipeline

Updating anytype-heart (basics)

Prerequisite: brew install jq

  1. Run the following command in Terminal or Makefile:

    make update_mw
    
  2. Make sure your proto files located in protocol/main/proto/ compile.

  3. Make sure to update middlewareVersion version in libs.versions.toml.

Contribution

Thank you for your desire to develop Anytype together!

❤️ This project and everyone involved in it is governed by the Code of Conduct.

🧑‍💻 Check out our contributing guide to learn about asking questions, creating issues, or submitting pull requests.

🫢 For security findings, please email security@anytype.io and refer to our security guide for more information.

🤝 Follow us on Github and join the Contributors Community.


Made by Any — a Swiss association 🇨🇭

Licensed under Any Source Available License 1.0.