Skip to content

iOS maps stub: console.warn on register / per-request #24

@gmaclennan

Description

@gmaclennan

`backend/lib/maps-stub.js#plugin()` is silently a no-op. Today, anyone routing a `/maps/*` request on iOS hits a 404 with no log indication that the plugin was stubbed at build time — quiet failure mode that's confusing to debug.

One-line fix: `console.warn` on register (or per-request) so the stubbing is observable in logs.

Also: the stub silently drops `MapsPluginOpts`. Once #22 + #23 land and the stub becomes a real (if minimal) plugin, surface unexpected register-time options as `console.warn` rather than discarding.

Tracked originally in `docs/unified-js-bundle-ios-plan.md` §7 / Phase 2.5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions