Map share_target to ACTION_SEND in TWA APK Generator

Feature Request: When generating an Android APK via the TWA builder, the system currently ignores the share_target configuration defined in the manifest.json.


The Use Case: Our Progressive Web App relies on receiving shared files seamlessly from other native Android applications. While a standard Chrome "Add to Home Screen" installation respects the share_target and successfully registers our app in the native Android Share menu, the APK generated by your platform does not.


Technical Requirement: Please update the TWA APK generator to parse the share_target configuration and automatically inject the corresponding <intent-filter> blocks (specifically ACTION_SEND and ACTION_SEND_MULTIPLE) into the AndroidManifest.xml.

The generator should ideally map the accept arrays to support standard file-handling MIME types, such as:

  • application/pdf

  • image/*

  • Standard document types (e.g., application/msword, application/vnd.ms-excel)

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board
πŸ’‘

Feature Request

Date

About 2 hours ago

Author

danny abas

Subscribe to post

Get notified by email when there are changes.