januslo / react-native-sunmi-inner-printer

http://docs.sunmi.com/htmls/index.html?lang=zh##V1文档资源 根据商米V1文档开发的热敏打印
MIT License
74 stars 121 forks source link

How examples/index.android.js work in real life #48

Closed buiquangduc closed 5 years ago

buiquangduc commented 5 years ago

Hi Januslo,

This is not an issue by the way, but I've read the README.md file and all the issues opened on this repository and did not find an answer.

Currently, I've integrated examples/index.android.js file into my project, but I do not own a Sunmi V1 device to test this file. So I wonder how can the file examples/index.android.js work in real life.

In my imagination, I will need to connect the Sunmi V1 device to my phone (via Bluetooth?), then I can using all the functions listed on the examples/index.android.js file?

Sorry for submitting that kind of question :(

januslo commented 5 years ago

You need Sunmi devices. This plugin run in sunmi devices only.

发自我的 iPhone

在 2019年7月2日,上午12:15,Bui Quang Duc notifications@github.com 写道:

Hi Januslo,

This is not an issue by the way, but I've read the README.md file and all the issues opened on this repository and did not find an answer.

Currently, I've integrated examples/index.android.js file into my project, but I do not own a Sunmi V1 device to test this file. So I wonder how can the file examples/index.android.js work in real life.

In my imagination, I will need to connect the Sunmi V1 device to my phone (via Bluetooth?), then I can using all the functions listed on the examples/index.android.js file?

Sorry for submitting that kind of question :(

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

buiquangduc commented 5 years ago

Thanks, I've tested with real device and it is working as expected!