I have an attachment with a custom extension (say .abc) whose mimeType I'm unaware of. I would want to open this attachment using my Android application. I tried adding the code below to the manifest but that didn't seem to help. I did go through multiple Stack Overflow posts but none seem to work and those that do also expose my app to other extensions and not just .abc
        <intent-filter>
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />
            <data android:mimeType="*/*" />
            <data android:pathPattern="*.*\\.abc" />
            <data android:host="*"/>
        </intent-filter>