Repository navigation
Ship the worker and the Android module under every major Rust bundler - #15
Merged
Merged
Conversation
…h tauri-plugin-pushups
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
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. Comment |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## w0-windows-ci #15 +/- ##
=================================================
+ Coverage 91.91% 92.09% +0.17%
=================================================
Files 33 33
Lines 2844 2883 +39
Branches 38 38
=================================================
+ Hits 2614 2655 +41
+ Misses 203 201 -2
Partials 27 27 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
LucaCappelletti94
force-pushed
the
b1-bundlers
branch
from
October 9, 2026 21:08
fa17834 to
8147bf7
Compare
|
This was referenced Oct 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Until now only
dxcould ship the two parts ofpushupsthat are not Rust, the service worker and the Android Gradle module. This makes them reachable from the rest of the ecosystem. Web apps getpushups::SERVICE_WORKERto serve from a route or write from a build step, andrust_handlercan register an app-supplied worker entry, which Trunk and cargo-leptos need because their glue never starts itself in the worker. Gradle-based Android apps (winit, Slint, Bevy, egui on android-activity) include the module through asettings.gradle.ktssnippet that askscargo metadatawhere the crate lives. Tauri apps add the newtauri-plugin-pushups, which hands Tauri's plugin build a copy of the module from itsOUT_DIRand adds the iOS push entitlement.Each route has an example and a CI job sending real pushes:
examples/yewandexamples/leptosin Chrome in both worker modes, andexamples/winitandexamples/taurion the Android emulator, all of which also ran locally (the Android ones on a Galaxy M52). The winit build exposed a race in the Android session state, where an android-activity app sets its handler before Android reports the Activity, leaving the UI unbound for every push. A new state binds such a handler to the session that starts next.This stacks on #14 and the rest of the stack from #1. The Tauri iOS build and publishing the module as an AAR on Maven Central are not part of it.