Skip to content

Added AndroidSilica, Silica's Android backend - #50

Merged
colemancda merged 7 commits into
masterfrom
feature/silica
Nov 25, 2026
Merged

colemancda merged 7 commits into
masterfrom
feature/silica

Conversation

@colemancda

Copy link
Copy Markdown
Member

Silica's Android backend moves here from PureSwift/Silica as AndroidSilica: AndroidCanvasContext, AndroidFontHandle and AndroidBackend, which draw Silica's API on android.graphics.Canvas.

  • AndroidSilica is a product of its own. AndroidKit doesn't depend on it, so AndroidKit users don't get Silica.
  • The module was SilicaAndroid in Silica: code that imports it now imports AndroidSilica.
  • The tests move as AndroidSilicaTests, and render Silica's SilicaTestSupport drawings to PDF on the device (API 31+).
  • The README has a section on drawing with Silica, with the platform notes that were in Silica's README.

Depends on PureSwift/Silica#26, which removes the Android backend and its dependency on this package. Merge that first: this package depends on Silica's master branch.

Testing

  • Resolves against the Silica branch with no dependency cycle, and AndroidSilica builds on the macOS host.
  • Not yet built for Android: no Android SDK on the machine it was made on. This pull request's CI is the first Android build.

@colemancda
colemancda merged commit 875c97a into master Nov 25, 2026
5 of 16 checks passed
@colemancda
colemancda deleted the feature/silica branch November 25, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant