Skip to content

jj10133/bare-android-compose

 
 

Repository files navigation

Bare on Android

Example of embedding Bare in an Android application using https://github.com/holepunchto/bare-kit.

Building

To keep the build process fast and efficient, the project relies on a Bare Kit prebuild being available in the app/libs/ directory. Prior to building the project, you must therefore either clone and compile Bare Kit from source, or download the latest prebuild from GitHub. The latter is easily accomplished using the GitHub CLI:

gh release download --repo holepunchto/bare-kit <version>

Unpack the resulting prebuilds.zip archive and move android/bare-kit into app/libs/. When finished, either open the project in Android Studio or build it from the commandline:

gradle build

Addons

Native addons will be linked into app/src/main/addons/ as part of the build process and will be automatically included in the final APK bundle by Gradle.

Running

Important

You may experience problems running the app on an emulated Android device due to holepunchto/libjs#4. If you encounter crashes, try running the app on a real Android device instead.

License

Apache-2.0

About

Example of embedding Bare in an Android application using https://github.com/holepunchto/bare-kit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 97.6%
  • JavaScript 2.4%