Register file types to 'open with' list

Is it possible to register file types that the app can open using the android “open with…” menu . For example, when a user receives a file in a e-mail, I want to open the file using the “open with…” menu to directly open the file in my app.

I know that android has this feature.

And im my research i found some old question about that, that lead me in to a old cordova plugin this plugin was a dead end, due to the lack of suport for ionic latest version.

Theres any plugin our code that suport this feature using ionic v6 ?

3 Likes

if you are using Capacitor use this plugin:
carsten-klaffke/send-intent: Repository for send-intent Capacitor plugin (github.com)