capacitor-community / capacitor-community/proposals

SendIntent (Android)

Open
#46 9 comments 11 reactions 0 assignees View on GitHub
platform specific plugin proposal third-party plugin exists
Dominant language
No language data
Stars
79
Forks
2
PR merge metrics
No merged PRs in 30d

Description

## Plugin Request
Have a plugin that is able to handle share data in the capacitor applications for Android

**Name**: SendIntent
**Package**: `@capacitor-community/send-intent`

### Platform(s)
- Android

### Existing Solutions
This is my current solution: https://github.com/tavosansal/capacitor-plugin-send-intent
Works for Android. The main drawback is that there is no implementation right now for iOS. iOS needs a share target and some other things that I am not familiar with. I could use some help on how this could work so hit me up if you have ideas.

### Description
The plugin allows you to expose a listener in your Javascript application for when another application sends data to your Capacitor application via the Android share menu or share sheet. This is useful if your Android application would like to receive data from other apps and your app can handle the shared data.

The `SendIntent` plugin exposes one event `appSendActionIntent` that receives a data object which contains the information received from the native intent verbatim.

See more: https://github.com/tavosansal/capacitor-plugin-send-intent#android-send-intent-plugin-for-capacitor

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the referenced existing implementation at github.com/tavosansal/capacitor-plugin-send-intent and the proposed appSendActionIntent event. Clarify whether the work covers Android only or also an iOS share target, then define the native and JavaScript scope and acceptance criteria before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.