Skip to content

Release v0.0.1

Choose a tag to compare

@SpeechlessMatt SpeechlessMatt released this 18 Apr 12:36
· 6 commits to main since this release

Release v0.0.1 - 🚀 Initial Public Beta

FastInject is officially live! This is the first preview release of a lightweight, type-safe script injection engine for Android WebView. It allows you to control web content using pure Kotlin DSL instead of messy JavaScript strings.

✨ Key Features

  • [Core] Kotlin DSL abstraction for JS, featuring ValueRef and ElementRef for type-safe references.
  • [Core] Fluent DOM operations: Support for find, findAll, click, simulateInput, and more.
  • [Core] Asynchronous Flow: Built-in waitElement() and .then {} chaining to handle dynamic web content seamlessly.
  • [Android] Native Integration: Drive WebView directly via the fastInject {} block.
  • [Android] Bridge Communication: Use emit() to send data back from deep JS closures to Android effortlessly.

🛠 Installation

Add the JitPack repository to your root settings.gradle:
maven { url 'https://jitpack.io' }

Add the dependencies to your module's build.gradle:
implementation 'com.github.SpeechlessMatt.FastInject:fastinject-core:v0.0.1'
implementation 'com.github.SpeechlessMatt.FastInject:fastinject-android:v0.0.1'

📝 Notes

This is a Beta version (v0.0.1) intended for functional validation and API preview. Any feedback or feature requests via GitHub Issues are highly appreciated!

Full Changelog: https://github.com/SpeechlessMatt/FastInject/commits/v0.0.1