The problem of launching on other devices (Samsung, etc.)


Audience
Tags

Hello.
One of our clients uses zebra devices and would like to use the built-in scanning module to scan barcodes through this module. The problem is that as soon as I include the EMDK library in the manifest, the application is not built on other devices (for example, Samsung). The question is, how can we use the same version of our app with EMDK for zebra devices and for other devices?

Thank you.

Submitted by James Swinton … on March 15, 2022 Permalink

Hi,

In order to compile the app with the EMDK for non-zebra devices, please replace:

<uses-library android:name="com.symbol.emdk"/>    

with

<uses-library android:name="com.symbol.emdk" android:required="false"/>    

Alternatively, you can use DataWedge for scanning, which doesn't require an SDK to be compiled with your app & is our recommended method: https://techdocs.zebra.com/datawedge/11-2/guide/about/