Skip to content

[PB-5933] feature/Integrate expo-share-extension for sharing functionality#375

Open
CandelR wants to merge 2 commits intofeature/PB-5986-name-collision-modalfrom
feature/PB-5933-share-extension-set-up
Open

[PB-5933] feature/Integrate expo-share-extension for sharing functionality#375
CandelR wants to merge 2 commits intofeature/PB-5986-name-collision-modalfrom
feature/PB-5933-share-extension-set-up

Conversation

@CandelR
Copy link
Contributor

@CandelR CandelR commented Feb 26, 2026

Set up share extension functionality for Android and iOS. This enables users to share files from other apps directly.

Android

  • Added ShareIntentModule native Kotlin module that exposes getSharedFiles() to JS and emits ShareIntentReceived events when the app is already running
  • Added ShareIntentPackage to register the module with React Native
  • Extended MainActivity to parse ACTION_SEND / ACTION_SEND_MULTIPLE intents on both cold start (onCreate) and hot path (onNewIntent)
  • Created AndroidShareScreen to display shared files within the main app navigator
  • Added AndroidShare route to the navigation stack
  • Extracted share intent logic into useAndroidShareIntent hook (cold start fetch, auth-gated navigation, and live event listener)

iOS

  • Added InternxtShareExtension as a native iOS app extension (Swift + entitlements)
  • Integrated expo-share-extension and configured index.share.js as its entry point
  • Created ShareExtensionApp component to render shared content inside the extension
  • Updated metro.config.js to bundle the share extension separately

@CandelR CandelR requested a review from larryrider February 26, 2026 16:52
@CandelR CandelR self-assigned this Feb 26, 2026
@CandelR CandelR added the enhancement New feature or request label Feb 26, 2026
@CandelR CandelR marked this pull request as draft February 26, 2026 17:00
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 27, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
6.4% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@CandelR CandelR marked this pull request as ready for review February 27, 2026 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant