Capacitor plugin for Zebra printers (ios and android)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
android
ios update gitignore Apr 24, 2018
src
.DS_Store
.gitignore update gitignore Apr 24, 2018
README.md update readme Apr 24, 2018
ZebraCapacitor.podspec try this podspec to update target settings Apr 23, 2018
package-lock.json
package.json get iOS to dicover, connect and print Apr 24, 2018
rollup.config.js
tsconfig.json

README.md

zebraCapacitor

Capacitor plugin for Zebra printers (ios and android)

Limitations

Currently the iOS implementation is incomplete, but you can discover connect and print. Also, the Android implementation is not well tested and likely missing important things. Also, the web implementation which is just a stub is broken. Also, this is built using alpha.36 version of Capacitor

But

I do intend to develop and support an app that uses this plugin, so this will eventually be completed and working (at least with for the printers I have access to test with).

##iOS After installing this, you may have to drag the libZSDK_API.a library into the ZebraCapacitor target of the Pods Project. Then update your build settings Library Search Paths with: "${PODS_ROOT}/../../../node_modules/zebra-capacitor/ios/Plugin/Plugin" I've updated the podspec so this may not be necessary anymore, but I havn't tested it yet.

Also for iOS update your apps Info.plist file with Supported external accessory protocols as an array with the value com.zebra.rawport

Add this to your plist

<key>UISupportedExternalAccessoryProtocols</key>
<array>
    <string>com.zebra.rawport</string>
</array>

I'll experiment with trying to automate this via the podspec as well.