This project showcases the ability to write multiplatform projects in Kotlin. It's a DPI calculator app inspired by this project. It can be built as an Android app or as a Firefox browser extension.
- Android dev environment
-
web-ext tool for testing Web extension
npm install --global web-ext
Full build can be performed using typical ./gradlew build
command. Aside of that different parts can be run separately
./gradlew :dpi-android:installDebug
to build and install the app to connected device or emulator
-
./gradlew :dpi-js:runDceKotlinJs
to build the browser extension -
web-ext run
(executed indpi-js/
folder) to run Firefox instance with our extension installed
Alternatively you can use --continuous
build flag to watch for changes and rebuild the extension automatically:
./gradlew :dpi-js:runDceKotlinJs --continuous