Skip to content

Deep Link Testing & AASA Validator#126

Open
aritchie wants to merge 1 commit intomainfrom
dev/aritchie/deep-linking
Open

Deep Link Testing & AASA Validator#126
aritchie wants to merge 1 commit intomainfrom
dev/aritchie/deep-linking

Conversation

@aritchie
Copy link
Copy Markdown
Collaborator

This pull request adds deep link validation tools for both iOS (AASA) and Android (assetlinks.json) to the device and simulator tools tabs. It introduces a new IDeepLinkValidationService for validating domain association files, updates the UI to allow users to validate these files directly from the app, and displays detailed validation results with user-friendly feedback.

Key changes include:

Core Service Implementation:

  • Added a new interface IDeepLinkValidationService and corresponding result record types (AasaValidationResult, AssetLinksValidationResult, etc.) to define methods for validating Apple App Site Association (AASA) and Android assetlinks.json files. (src/MauiSherpa.Core/Interfaces.cs)
  • Implemented DeepLinkValidationService with logic to fetch, parse, and validate AASA and assetlinks.json files, handling both modern and legacy formats, and providing structured results. (src/MauiSherpa.Core/Services/DeepLinkValidationService.cs)
  • Registered DeepLinkValidationService as a singleton in the DI container for MacOS. (src/MauiSherpa.MacOS/MacOSMauiProgram.cs)

UI Integration – Device Tools Tab:

  • Injected IDeepLinkValidationService and added a new button to validate assetlinks.json from the device tools tab, showing a styled result section with summary, entry details, and raw JSON. (src/MauiSherpa/Components/DeviceToolsTab.razor) [1] [2] [3] [4] [5]

UI Integration – Simulator Tools Tab:

  • Injected IDeepLinkValidationService and added a new deep links section to the simulator tools tab, allowing users to launch deep links and validate AASA files with detailed feedback and raw JSON display. (src/MauiSherpa/Components/SimToolsTab.razor) [1] [2] [3] [4] [5]Initial commit

Initial commit
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