ionic-capacitor-receive-intent
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

ionic-capacitor-receive-intent

Its Plugin

Install

npm install ionic-capacitor-receive-intent
npx cap sync

API

addListener('newIntentReceived', ...)

addListener(eventName: 'newIntentReceived', listenerFunc: (data: AppSendActionIntentResult) => void) => Promise<PluginListenerHandle> & PluginListenerHandle

Listen for send action intent events (Android only). The extras will be passed as a key value pair directly from the Android intent.

Param Type
eventName 'newIntentReceived'
listenerFunc (data: AppSendActionIntentResult) => void

Returns: Promise<PluginListenerHandle> & PluginListenerHandle


Interfaces

PluginListenerHandle

Prop Type
remove () => Promise<void>

AppSendActionIntentResult

Prop Type Description
extras any An object with keys for Android intent names (like 'android.intent.extra.SUBJECT') and their value passed from the Android intent

Readme

Keywords

Package Sidebar

Install

npm i ionic-capacitor-receive-intent

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

17.7 kB

Total Files

19

Last publish

Collaborators

  • ziaa520