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 134 forks source link

[Question] Register custom intent string #68

Closed JaviRpo closed 5 years ago

JaviRpo commented 5 years ago

Hi @darryncampbell, I have a question for the next scenario.

i.e. when any app call the URL tel:###.... the phone opens the dialer app when any app call the URL BEGIN:VCARD ..... the phone opens the contacts app

I want to create a specific string like MyString: ... and and I want my application to be called.

Can I use this plugin to register my app to open/receive a specific intent?

darryncampbell commented 5 years ago

Hi, in order to achieve that you would need to create an intent-filter(s) in your application manifest but that is not something this plugin will do for you. This SO post may also help: https://stackoverflow.com/questions/28198983/ionic-cordova-add-intent-filter-using-config-xml

darryncampbell commented 5 years ago

presume resolved