1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00
Official Anytype client for Android https://anytype.io
Find a file
2025-05-06 11:28:59 +02:00
.githooks DROID-1065 Project | Tech | Add secrets push hook (#3041) 2023-03-29 17:58:24 +03:00
.github DROID-3595 App | Tech | Update Github upload actions to v4 (#2376) 2025-05-05 16:59:52 +02:00
.idea DROID-2303 App | Tech | Add Android Studio project icon (#996) 2024-03-11 13:13:01 +01:00
analytics DROID-3574 Analytics | ScreenTemplateSelector and ScreenTypeTemplateSelector events (#2369) 2025-04-30 18:00:08 +02:00
app DROID-3634 Notifications | Handle pushKeyUpdates and store (#2379) 2025-05-06 11:28:59 +02:00
clipboard DROID-2326 App | Tech | Update Kotlin, Gradle, Compose and other framework libraries (#1017) 2024-03-27 19:21:20 +03:00
core-models DROID-3634 Notifications | Handle pushKeyUpdates and store (#2379) 2025-05-06 11:28:59 +02:00
core-ui DROID-3612 Widgets | Icon fixes (#2371) 2025-04-30 18:00:09 +02:00
core-utils DROID-3601 App | Tech | Release 10 stabilisation (#2354) 2025-04-25 12:49:06 +02:00
crash-reporting DROID-2326 App | Tech | Update Kotlin, Gradle, Compose and other framework libraries (#1017) 2024-03-27 19:21:20 +03:00
data DROID-3634 Notifications | Handle pushKeyUpdates and store (#2379) 2025-05-06 11:28:59 +02:00
device DROID-2831 Tech | Implement Device.Network.State.Set (#1915) 2024-12-18 17:35:20 +01:00
docs DROID-1654 App | Feature | Multispaces + Misc. enhancements (#300) 2023-10-24 12:41:32 +02:00
domain DROID-3634 Notifications | Handle pushKeyUpdates and store (#2379) 2025-05-06 11:28:59 +02:00
feature-all-content DROID-3618 App | Design fixes (#2370) 2025-04-30 18:00:05 +02:00
feature-chats DROID-3298 Chats | Tech | Layout optimizations - hotfixes (#2378) 2025-05-05 23:18:54 +02:00
feature-date DROID-2905 Navigation | Enhancement | Object type navigation (#2194) 2025-03-26 15:00:18 +01:00
feature-object-type DROID-3618 App | Design fixes (#2370) 2025-04-30 18:00:05 +02:00
feature-properties DROID-3618 App | Design fixes (#2370) 2025-04-30 18:00:05 +02:00
feature-ui-settings DROID-3618 App | Design fixes (#2370) 2025-04-30 18:00:05 +02:00
gallery-experience DROID-3554 Use cases | Enhancement | Automatically open a specific object when a new space is created or account is created (#2363) 2025-04-28 17:15:04 +02:00
gradle DROID-3633 Protocol | Enhancement | MW 0.41.0-rc1 (#2377) 2025-05-05 17:12:13 +02:00
library-emojifier DROID-2326 App | Tech | Update Kotlin, Gradle, Compose and other framework libraries (#1017) 2024-03-27 19:21:20 +03:00
library-page-icon-picker-widget DROID-2909 UI/Design | Enhancement | Comprehensive color check and dark mode updates (#1776) 2024-11-11 20:43:59 +01:00
libs DROID-2793 Date as an Object | Epic (#1782) 2024-12-04 16:06:16 +01:00
localization l10n | Enhancement (#2367) 2025-04-30 17:51:18 +02:00
middleware DROID-3634 Notifications | Handle pushKeyUpdates and store (#2379) 2025-05-06 11:28:59 +02:00
payments DROID-3601 App | Fix | Release 10 stabilization, part 1 (#2353) 2025-04-25 12:49:04 +02:00
persistence DROID-3611 Navigation | Fix | Allow restoration of last opened space from loading state on splash screen (#2359) 2025-04-25 13:46:45 +02:00
presentation DROID-3634 Notifications | Handle pushKeyUpdates and store (#2379) 2025-05-06 11:28:59 +02:00
protocol DROID-3633 Protocol | Enhancement | MW 0.41.0-rc1 (#2377) 2025-05-05 17:12:13 +02:00
sample DROID-3564 App | Tech | DND improvements + remove legacy - Part 2 (#2304) 2025-04-13 21:24:13 +02:00
scripts DROID-3413 App | Tech | Migrate debug app to the new firebase project - 4 (#2148) 2025-03-11 17:23:07 +01:00
test DROID-3611 Navigation | Fix | Allow restoration of last opened space from loading state on splash screen - Hotfix (#2361) 2025-04-28 17:15:17 +02:00
.gitignore DROID-3097 App | Tech | Catch sigsys signals (#1835) 2024-11-26 19:19:20 +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-3063 App | Tech | Library updates (#1813) 2024-11-19 12:00:21 +01: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 | Enable Turkish translation (#1484) 2024-08-16 12:18:51 +02:00
gradle.properties DROID-2629 App | Tech | Migrate project to Kotlin Symbol Processing (KSP) (#1346) 2024-07-03 11:32:49 +02:00
gradlew DROID-2326 App | Tech | Update Kotlin, Gradle, Compose and other framework libraries (#1017) 2024-03-27 19:21:20 +03:00
gradlew.bat DROID-2326 App | Tech | Update Kotlin, Gradle, Compose and other framework libraries (#1017) 2024-03-27 19:21:20 +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-3233 App | Tech | Revert nightly builds to AAB 2025-04-16 11:12:31 +02: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-3429 Primitives | Edit type properties, part 1 (#2138) 2025-03-10 13:46:53 +01:00
versioning.gradle v0.37.1-alpha 2025-04-08 21:39:34 +02: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.