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
2023-05-30 18:42:47 +02:00
.githooks DROID-1065 Project | Tech | Add secrets push hook (#3041) 2023-03-29 17:58:24 +03:00
.github DROID-1218 Protocol | Enhancement | MW v0.26.0-rc11 + scripts for updating / downloading mw artefacts (#3126) 2023-05-30 18:42:42 +02:00
.idea DROID-763 Editor | Design | Set Status relation design update (#2814) 2023-01-16 14:22:29 +03:00
analytics DROID-1133 Widgets | Analytics | Integrate analytics for widgets (#3160) 2023-05-30 18:42:46 +02:00
app DROID-1133 Widgets | Analytics | Fixes (#3163) 2023-05-30 18:42:46 +02:00
clipboard DROID-649 Tech | Enhancement | Get rid of dependencies.gradle (#2778) 2022-12-25 20:53:47 +03:00
core-models DROID-1179 Widgets | Enhancement | Save selected view in widget with set between app launches (#3154) 2023-05-30 18:42:45 +02:00
core-ui DROID-1210 Widgets | Fix | Fix remove button color (#3161) 2023-05-30 18:42:46 +02:00
core-utils DROID-1246 App | Enhancement | Files storage screen (#3156) 2023-05-30 18:42:45 +02:00
crash-reporting DROID-979 App | Tech | Setup sentry (#3002) 2023-03-16 19:19:24 +03:00
data DROID-1158 App | Tech | Renamed field icon & added some doc for space gradient 2023-05-30 18:42:43 +02:00
device DROID-649 Tech | Enhancement | Get rid of dependencies.gradle (#2778) 2022-12-25 20:53:47 +03:00
docs DROID-1086 Design | Sample app, compose + doc (#3106) 2023-04-19 17:50:39 +02:00
domain DROID-1158 App | Tech | Renamed field icon & added some doc for space gradient 2023-05-30 18:42:43 +02:00
gradle DROID-1273 Protocol | Enhancement | MW 0.26.0-rc14 (#3165) 2023-05-30 18:42:47 +02:00
library-emojifier DROID-1032 Widgets | Enhancement | Support creating bundled widgets (#2998) 2023-03-13 11:24:22 +01:00
library-page-icon-picker-widget DROID-1086 Design | Typography, core ui module (#3089) 2023-04-14 15:57:27 +02:00
library-syntax-highlighter DROID-649 Tech | Enhancement | Get rid of dependencies.gradle (#2778) 2022-12-25 20:53:47 +03:00
libs DROID-986 | Collections | Enhancement | Main tasks (#2978) 2023-03-13 10:16:37 +01:00
middleware DROID-1158 App | Tech | Renamed field icon & added some doc for space gradient 2023-05-30 18:42:43 +02:00
persistence DROID-1179 Widgets | Enhancement | Save selected view in widget with set between app launches (#3154) 2023-05-30 18:42:45 +02:00
presentation DROID-1133 Widgets | Analytics | Fixes (#3164) 2023-05-30 18:42:46 +02:00
protocol DROID-1273 Protocol | Enhancement | MW 0.26.0-rc14 (#3165) 2023-05-30 18:42:47 +02:00
sample DROID-715 App | Tech | Updated target sdk to 33 (#3162) 2023-05-30 18:42:46 +02:00
scripts DROID-1273 Protocol | Enhancement | MW 0.26.0-rc14 (#3165) 2023-05-30 18:42:47 +02:00
test DROID-1147 App | Refactoring | Remove or deprecate SmartBlockType (#3104) 2023-04-19 17:52:57 +02:00
ui-settings DROID-1246 App | Enhancement | Files storage screen (#3156) 2023-05-30 18:42:45 +02:00
.gitignore DROID-607 Relations & types and options | Refactoring | Everything-is-an-object refactoring (#2720) 2022-11-24 18:11:19 +03: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-1077 App | Tech | New application ID (#3066) 2023-04-03 16:38:32 +02:00
CHANGELOG.md DROID-1168 App | Tech | Change app version to 0.22.0 (#3099) 2023-04-18 15:23:06 +02:00
gradle.properties DROID-1082 Shortcuts | Fix | Setting up shortcuts on home screen (#3022) 2023-03-21 15:33:45 +03: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
lint.gradle Tech | Fix | Lint setup for CI (#2286) 2022-05-18 23:21:27 +03:00
Makefile DROID-1218 Protocol | Enhancement | MW v0.26.0-rc11 + scripts for updating / downloading mw artefacts (#3126) 2023-05-30 18:42:42 +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 DROID-1273 Protocol | Enhancement | MW 0.26.0-rc14 (#3165) 2023-05-30 18:42:47 +02: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-979 App | Tech | Setup sentry (#3002) 2023-03-16 19:19:24 +03:00
versioning.gradle DROID-246 CI | Enhancement | Change date format for builds (#2460) 2022-08-02 18:05:54 +03:00

Anytype.io - Mobile

Build project

Prerequisites
  • Download anytype/anytype-android (private) repository from Github

  • 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

Setup your Firebase account for Anytype

We're using Firebase App Distribution + Firebase Crashlytics. We have two separate projects: one for debug builds (which we distribute mostly for our Q&A team), another one for release builds.

Install the latest Anytype Android release:

From Google Play.

Or download an apk for your device architecture from our website.

Join our community & telegram channels

Official Anytype community.

Follow what community writes about our Android client.

Join our Android Testers telegram channel.

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 MW (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.