#1279 merged with test-gate red: every test it added used the new guard
class, so none compiled against the base code and none showed the old
behavior failing.
The guard now runs inside MeshCoreApp, through StaleKeyboardInsetRepair,
and is gated on defaultTargetPlatform (not dart:io, which is never
Android in a test). A new test loads the real MeshCoreApp, hands it a
stale inset after a pause and resume, and expects a re-apply. It fails
on the base, where main() started the guard and the root widget did
not. Two more tests pin that iOS never calls the channel and that the
guard stops once the app is gone; each was proven by breaking the
condition it guards.
No change on a phone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>