kechankrisna / flutter_usb_printer

GNU General Public License v3.0
7 stars 52 forks source link

Please adjust uses-feature in manifest #27

Open crushman1 opened 11 months ago

crushman1 commented 11 months ago

In the plugin's manifest <uses-feature android:name="android.hardware.usb.host" /> seems to be required by default. This is fine for apps that require ALL their users to have this compatibility but for apps which have various features and USB is just one of their features, using this plugin will make their app invisible on the play store to devices which do not have this usb compatibility. it might help to change it to <uses-feature android:name="android.hardware.usb.host" android:required="false" />. Before i added this plugin, my supported devices count of 19k, after adding this plugin its down to 14k. quite a big drop.

Source : https://developer.android.com/guide/topics/manifest/uses-feature-element