Skip to content

Validate SDK publications with isolated minified consumers - #3

Open
biodranik wants to merge 1 commit into
masterfrom
sdk/part3-consumer-checks
Open

biodranik wants to merge 1 commit into
masterfrom
sdk/part3-consumer-checks

Conversation

@biodranik

Copy link
Copy Markdown
Member

Follow-up to #1

Add dedicated consumer flavors to validate the published module combinations and their behavior after minification:

  • Build and lint Native, Google, and FOSS consumers, and verify the resolved SDK module sets in every debug/release configuration. Keep car/widgets confined to consumers and providers separate.
  • Inspect every release APK’s final DEX for HTTP/JNI types, method names, descriptors, and staticness. Use R8 mappings to locate the obfuscated concrete Call class.
  • Exercise the minified Native consumer with a platform-only probe covering renderer readiness, JNI-populated region data, and host-created navigation widgets, without adding target keep rules.
  • Expose the compatibility workflow for reuse with explicit SDK/examples revisions, bound build concurrency, and document the coverage.

Related: #2
Related: organicmaps/organicmaps#14025

Add Native, Google and FOSS consumer flavors for the published SDK
modules and assert their debug/release dependency sets. Keep optional
modules confined to consumers and construct navigation widget previews
through ordinary host references.

Inspect every release APK's final DEX for the HTTP/JNI types, method
descriptors and staticness. Use the R8 mapping only to locate the concrete
Call class, and add regressions for removed or changed JNI contracts.
Exercise the minified Native consumer with a platform-only probe without
test-specific target keep rules.

Make compatibility checks reusable with explicit SDK/examples revisions,
keep release checks owned by this repository, and bound resource/R8
worker concurrency. Document the coverage and remaining feature checks.

Pin source integration and guide links to upstream master at
f629c29ac7e523abf982a984ca089ba939b93c9e.

Related: #2
Related: organicmaps/organicmaps#14025
Signed-off-by: Alexander Borsuk <me@alex.bio>
@biodranik
biodranik requested review from AndrewShkrob and vng November 4, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant