Skip to content

chore: Add automatic attribution management for BasicMapViewController. - #250

Merged
boilerwadding merged 3 commits into
mainfrom
SB/maps-attribution-id
Mar 31, 2026
Merged

chore: Add automatic attribution management for BasicMapViewController.#250
boilerwadding merged 3 commits into
mainfrom
SB/maps-attribution-id

Conversation

@iHackSubhodip

Copy link
Copy Markdown
Collaborator

Summary

  • Adds automatic Google Maps SDK usage attribution for sample applications
  • Introduces GoogleMapsAttributionManaging protocol with default implementation
  • Automatically derives sample names from view controller class names (e.g., BasicMapViewControllerbasicmap)
  • Updates BasicMapViewController to use the new attribution system

Changes

  • New: GoogleMapsAttributionManaging.swift - Protocol and manager for attribution tracking
  • Modified: BasicMapViewController.swift - Integrated attribution management with dependency injection
  • Enhanced: Automatic attribution ID generation following format: gmp_git_iosmapssamples_v{majorVersion}_{sampleName}

Validation

Screenshot 2026-03-25 at 11 06 12 PM

@boilerwadding
boilerwadding merged commit d38e674 into main Mar 31, 2026
20 checks passed
@boilerwadding
boilerwadding deleted the SB/maps-attribution-id branch March 31, 2026 12:47
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.

2 participants