Cordova : App not appearing on OpenWith List on Android

Untitled

This may happen if android file intent filter is misplaced in config.xml like following:

Note data tag inside config.xml:

<data android:scheme="file" /> <data android:mimeType="*/*" /> <data android:pathPattern=".*\\.txt" />

It infact should be a single one like:

<data android:host="*" android:mimeType="text/plain" android:pathPattern=".*\\.txt" />

Correct config.xml content for android platform to avoid this:

No comments:

Post a Comment