It lives.
Go to file
Lonami Exo 912949a079 Use snake_case in UDL
uniffi automatically converts to camelCase for Kotlin,
but it won't convert to snake_case for Rust.
2022-10-27 19:48:47 +02:00
.idea Use trailing comma to improve future diffs 2022-10-25 11:33:45 +02:00
app Use UDL dictionaries to simplify return values 2022-10-27 18:42:48 +02:00
gradle/wrapper Initial Commit 2022-10-11 10:51:26 +02:00
native Use snake_case in UDL 2022-10-27 19:48:47 +02:00
.gitignore Initial Commit 2022-10-11 10:51:26 +02:00
README.md Add a touch more detail to readme instructions (#1) 2022-10-12 23:25:41 +02:00
build.gradle Replace manual native bindings with UniFFI 2022-10-27 17:42:55 +02:00
gradle.properties Initial Commit 2022-10-11 10:51:26 +02:00
gradlew Mark gradlew as executable 2022-10-12 22:36:57 +01:00
gradlew.bat Initial Commit 2022-10-11 10:51:26 +02:00
settings.gradle Initial Commit 2022-10-11 10:51:26 +02:00

README.md

Building

Clone the repo, then open the project in Android Studio.

Make sure the required Android NDK platforms are installed, and the environment variable ANDROID_NDK_TOOLCHAIN_DIR is configured correctly.

On Windows, this might be a path such as the following (NDK "Side by side" SDK tool):

%LOCALAPPDATA%\Android\Sdk\ndk\25.1.8937393\toolchains\llvm\prebuilt\windows-x86_64\bin

Set your API ID and hash in the rust code.

Change the Cargo.toml to point to a local grammers source tree and remove the version argument.

Sync gradle files, and Android Studio's "build" and "run" should Just Work.