0

Let's say I have an Android application called XYZ. That application supports importing a file with a custom extension like file.xyz.

Now what I want is to list my application in the "open with" apps dropdown when I try to open the file.xyz through the file manager or directly open my app & import it.

Something like this question How to open app from a link without asking user to decide between browser or app, just open my app immediately

Rajendran Nadar
  • 4,962
  • 3
  • 30
  • 51
  • The linked question is on URLs, not on files. This question may be better suited: https://stackoverflow.com/questions/1733195/android-intent-filter-for-a-particular-file-extension – Robert Aug 14 '21 at 16:39
  • Will that be the same for react native apps? If not let me know I will update the question. – Rajendran Nadar Aug 14 '21 at 16:43
  • Intent-filter elements in `AndroidManifest.xml` are processed by the Android OS itself, thus the used programming language doesn't matter. – Robert Aug 14 '21 at 16:46
  • But might be a limitation on expo apps because we don't have direct access to manifest with managed workflow. – Rajendran Nadar Aug 14 '21 at 17:08
  • Sorry but using that platform is your choice. There is one way to do it easy and one way to do it right. If you want to develop a complex app I would recommend using a real development platform. – Robert Aug 14 '21 at 17:13

0 Answers0