Skip to content

sherpal/scala-capacitor-blog

Repository files navigation

Example mobile application with Scala and Capacitor

This is a small example of making a cross-platform mobile application using Scala and Capacitor.

This repo accompanies a blog post that I wrote (see here)

Requirements

In order to run this, you will need:

Run all

You can sequentially issue the following commands in order to have an Android emulator launching the application:

# Installing npm dependencies
npm install
# Compiling scala code
sbt fastLinkJS
# (optional) Check that the above worked by running Snowpack dev server (a browser should open with "Hello World")
npx snowpack dev
# Building frontend app with Snowpack
npx snowpack build
# Syncing the build with the Android application
npx cap sync
# Running the Android emulator (it will ask you to select an emulator, default will do)
npx cap run android

About

Accompanying repo for my blog post about Capacitor and Scala

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published