Repository navigation
Remote content, web APIs and new native plugins. All of it is opt-in in
koru.json: without the new fields the runtime bytecode and the manifest are
byte-identical to 0.0.3. None of it has run on an Android device yet; the
self-test app (selftest.apk) covers each feature so it can be checked on a
phone.
Added
serverinkoru.json:urlopens a website as the app,allowNavigation
lists the hosts that open inside the app (hybrid apps), andbridgegives
the koru API to exact https origins. Links to any other site open in the
system browser or app (https, http, mailto, tel, sms, geo, market).webFeaturesinkoru.json:files(<input type="file">, with multiple
selection),geolocation,cameraandmicrophone(getUserMedia).
Location, camera and microphone ask Android for the permission and only
answer the app origin andserver.bridgeorigins.- Plugins
alarms(scheduled notifications that survive a reboot),
browser(browser.open),screen(screen.keepAwake) andclipboard
(writeText,readText), with web versions underkoru dev. koru buildtype-checks all the bytecode, runtime and custom plugins, with
a verifier modelled on ART's, and refuses an APK that Android would reject
when it loads the class.- The self-test app checks navigation, the remote bridge (through
https://koru.js.org/selftest/remote/), the web features and the new
plugins.
Install
curl -fsSL https://koru.js.org/install.sh | shOn Windows (PowerShell): irm https://koru.js.org/install.ps1 | iex
Verify a download
sha256sum -c koru_0.1.0_linux_amd64.tar.gz.sha256
gh attestation verify koru_0.1.0_linux_amd64.tar.gz --repo wux4an/koruSelf-test app
selftest.apk is examples/selftest built with this release: install it on a phone or emulator and it runs every automatic check of the bridge, the plugins and the WebView when it opens. It is a debug build, so the WebView can be inspected with DevTools. Send the "Copy report" JSON with any failure.
Each release signs selftest.apk with a new key: uninstall the previous self-test app before installing this one.