Skip to content

chore: rebuild Android and Apple native libraries, 3.0.0-beta.0 - #178

Merged
triniwiz merged 3 commits into
masterfrom
chore/rebuild-native-3.0.0-beta.0
Sep 30, 2026
Merged

triniwiz merged 3 commits into
masterfrom
chore/rebuild-native-3.0.0-beta.0

Conversation

@triniwiz

Copy link
Copy Markdown
Member

Rebuilt native libraries for #174–#177 and bumped the packages to 3.0.0-beta.0. Built locally from f5424ba737 with the same steps as build-native.yml.

Artifact Built with Picks up
packages/canvas/platforms/android/canvas-release.aar (4 ABIs) make android, gradlew :canvas:assembleRelease #174, #175
packages/canvas/platforms/ios/CanvasNative.xcframework (iOS, simulator, visionOS, tvOS) make ios visionos tvos, canvas-build.sh #175, #176
packages/canvas-svg/platforms/android/canvassvg-release.aar (4 ABIs) make android-svg, copy-svg-android.sh, gradlew :canvassvg:assembleRelease canvas-2d / canvas-core changes
packages/canvas-svg/platforms/ios/CanvasSVG.xcframework make svg, canvas-svg-build.sh canvas-2d / canvas-core changes

The builds also update the committed dist/ copies and the canvas-svg jniLibs, as CI does. canvas_native.h catches up with declarations already in the source from #177.

audio-context is unchanged since its last build and is not rebuilt. Windows modules come from #177.

canvas-core: glutin 0.32.3

#174 calls ContextAttributesBuilder::with_priority, which glutin 0.32.0 does not have. canvas-core still accepted 0.32.0, so a lockfile on that version failed to build for Android. The requirement is now 0.32.3.

Checks

  • Every ABI and slice has the new code: Java_org_nativescript_canvas_Utils_nativeRunWithWebGL and canvas_native_canvases_behind in libcanvasnative.so (4 ABIs); canvas_native_ios_webgl_run and canvas_native_canvases_behind in all 6 CanvasNative slices.
  • Not yet run on a device or simulator.

The Android GL context asks for a low priority with ContextAttributesBuilder::with_priority,
which glutin 0.32.0 does not have. A lockfile still on 0.32.0 fails to build canvas-core.
canvas-release.aar and CanvasNative.xcframework, canvassvg-release.aar and CanvasSVG.xcframework,
rebuilt from f5424ba with the steps of build-native.yml, for #174, #175, #176 and #177.
canvas_native.h catches up with declarations already in the source.
@coderabbitai

coderabbitai Bot commented Sep 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: eaea969f-83c9-40a8-8be9-7ec74f0f94c9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@triniwiz
triniwiz merged commit 24f4641 into master Sep 30, 2026
14 of 21 checks passed
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