Skip to content

Follow up SDK release adoption and example validation #2

Open

Description

@biodranik

Follow-up to #1 and its review. Track the remaining example work after the local correctness, documentation and CI fixes.

The main application and SDK implementation are authoritative. Consumer applications, tests and compatibility CI are maintained here; consumers adapt to SDK changes after publication.

  • Adopt a published SDK baseline when available. Select a real Maven Central version, update gradle/libs.versions.toml and the matching source/guide pin, and run android-check.yaml with sdk_version=<published-version>. Record the SDK version, supported ABIs, device/emulator and CI run. Verify that release mode skips SDK checkout/publication and resolves the SDK group exclusively from Central.
  • Integrate the prepared consumer coverage separately from the tutorial changes. The local sdk/part3-consumer-checks branch contains Native/Google/FOSS consumers, optional-module isolation, HTTP/JNI mapping checks, and the platform-only minified consumer probe. Review/publish it as the stacked follow-up to Android SDK examples #1 when ready; keep reusable release checks owned by this repository.
  • Replace the sensor test's SDK-private-field dependency with meaningful public behavior coverage. MapLifecycleTest reads SensorHelper.mListeners through reflection. Preserve regressions for subscription lifetime, pause/resume, recreation and control insets, while allowing a private SDK field rename to leave public-contract tests unchanged. Coordinate any required public lifecycle/callback seam with [android][sdk] Simplify host readiness, lifecycle binding and packaging checks organicmaps#14102; avoid adding production APIs solely to mirror an implementation in tests.
  • Close the minified feature-validation gap. Exercise offline result selection, download cancel/retry, missing-map recovery, rotation/backgrounding and navigation arrival in minified offline/routing APKs. Use deterministic local map fixtures for repeatable tests, and add only focused automated cases that catch distinct regressions rather than duplicating the entire debug suite. Record actual Google/microG provider validation when an appropriate environment is available.

An optional separate architecture decision: one tutorial APK with a single map host and Basic/Offline/Routing panels would share downloaded maps and reduce sample variants, but needs explicit feature lifetimes and changes the independently installable-example design. Three launcher activities alone do not resolve process-wide SDK listener/renderer ownership. Keep the separate provider consumer matrix either way.

SDK-owned readiness, bindings, packaging diagnostics and API/build ergonomics are tracked upstream in organicmaps/organicmaps#14102.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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