PoC Godot project which uses an Android plugin to display native Jetpack Compose content. Also forwards touch events applied onto the Godot node to the Android view.
The Android view is displayed in Godot by drawing it onto a bitmap, then converting that to an array of pixel bytes and passing that back to Godot and displaying it as an ImageTexture using a TextureRect node. This method is sort of hacky and doesn't seem to work with hardware acceleration, but achieves somewhat usable results.
- Build plugin:
./gradlew plugin:build - Install Android build template (project tab)
- Build Android project