简体   繁体   中英

Is it possible to plugin create cordova for ionic 3 with Epson ePOS SDK for iOS?

I never created a Cordova plugin, so I would like just know if it's possible to create Cordova plugin for ionic 3 (only ios) with this https://download.epson-biz.com/modules/pos/index.php?page=soft&scat=58 . And can you tell me please what file I need to use for creating a Cordova plugin (only for printing some text). I will put it in git after creating because I need it and show it to some people who need it. I just understand the JavaScript part of it but not objective-c... Thank you.

Really nice idea. You can start by using below link. Good luck!

iOS Plugin Development Guide

This section provides details for how to implement native plugin code on the iOS platform. Before reading this, see [Plugin Development Guide][plugin-dev] for an overview of the plugin's structure and its common JavaScript interface. This section continues to demonstrate the sample echo plugin that communicates from the Cordova webview to the native platform and back.

An iOS plugin is implemented as an Objective-C class that extends the CDVPlugin class. For JavaScript's exec method's service parameter to map to an Objective-C class, each plugin class must be registered as a tag in the named application directory's config.xml file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM