Skip to content

Blog: share result callbacks and iOS Share Extension authoring helper#5078

Closed
shai-almog wants to merge 1 commit into
masterfrom
blog-share-result-callback
Closed

Blog: share result callbacks and iOS Share Extension authoring helper#5078
shai-almog wants to merge 1 commit into
masterfrom
blog-share-result-callback

Conversation

@shai-almog
Copy link
Copy Markdown
Collaborator

Summary

  • June 2 follow-up post covering the new ShareResult / ShareResultListener API and the IOSShareExtensionBuilder from PR Add ShareResult callback API + iOS Share Extension authoring helper #5036.
  • Explains the platform-side plumbing on iOS (UIActivityViewController.completionWithItemsHandler) and Android (Intent.createChooser with IntentSender, API 22+), and the share-funnel use case that motivates the API.
  • Walks through the new IOSShareExtensionBuilder in the Maven plugin that emits a complete .ios.appext bundle programmatically, composing with the existing IPhoneBuilder.extractAppExtensions pipeline.
  • Calls out the relationship to the older iOS App Extension Support #3427 discussion (complementary; provisioning-profile generation is intentionally out of scope).

File

  • docs/website/content/blog/share-result-callback.md — single new file.

Sequencing

Branches off master; intended to publish after the OIDC / passkey post (#5077). Front matter date is 2026-06-02.

Test plan

  • Hugo build of docs/website succeeds.
  • Post renders correctly on the blog index and as a standalone page.
  • Header image is generated at /static/blog/share-result-callback.jpg.

Covers the new ShareResult / ShareResultListener API and the
IOSShareExtensionBuilder from PR #5036.

- Display.share(...) and ShareButton.setShareResultListener(...)
  surface SHARED_TO(packageName) / DISMISSED / FAILED outcomes.
- iOS implementation routes through
  UIActivityViewController.completionWithItemsHandler.
- Android implementation routes through Intent.createChooser with
  IntentSender (API 22+).
- IOSShareExtensionBuilder generates a complete .ios.appext bundle
  (Info.plist, App Group entitlements, ShareViewController.swift,
  buildSettings.properties) and composes with the existing
  IPhoneBuilder.extractAppExtensions pipeline.
@shai-almog
Copy link
Copy Markdown
Collaborator Author

Superseded — consolidating the follow-up posts so this release week ships fewer, broader posts. New merged versions in the follow-up PRs to this one.

@shai-almog shai-almog closed this May 29, 2026
@shai-almog shai-almog deleted the blog-share-result-callback branch May 29, 2026 08:08
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