darryncampbell / darryncampbell-cordova-plugin-intent

General purpose intent shim layer for cordova appliations on Android. Handles various techniques for sending and receiving intents.
MIT License
86 stars 130 forks source link

Help Needed #114

Open grapevinedevelopers opened 4 years ago

grapevinedevelopers commented 4 years ago

Hi Darry,

I am new to ionic. Using Ionic to build an android app where I need to receive data from applications like inshorts etc and prefill a form based on the data received. I understood that I need to declare a receive action inside the intent filter section of AndroidManiftest.xml and handle the intent in one of the ts files to load a particular component and prefill the form with the received intent data. But I unable to start or not sure how to go about it. Can you help me with some basic code. I use Ionic with Angular.

Thanks in advance

darryncampbell commented 4 years ago

Hi, please see https://github.com/darryncampbell/plugin-intent-api-exerciser for an example app (in Cordova) showing how to use this plugin. It is not possible to modify the app manifest with this plugin but you can invoke an app with an explicit intent or register to receive a broadcast Intent