Follow up SDK release adoption and example validation

Aperta
#2 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, kotlin

Direzione di ricerca

Read the linked review for #1 and inspect gradle/libs.versions.toml, android-check.yaml, MapLifecycleTest, and the sdk/part3-consumer-checks branch. Start by identifying a published SDK version and a suitable CI environment; the issue also calls for minified APK validation with deterministic map fixtures and provider checks. Done means the follow-up work is reviewed, distinct regression cases are covered, and the specified SDK version, ABIs, device or emulator, and CI run are recorded.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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 #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 organicmaps/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.

Lingua principale
Kotlin
Stelle
0
Fork
0
Merge medio
3g 14h
PR unite (30g)
2

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di organicmaps/sdk-android

Tutte le issue di organicmaps/sdk-android

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.