We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Good evening, I was able to add the qr method manually, at least it works for me.
I would appreciate it if you could incorporate this method into the plugin accordingly as it is very useful.
Thanks in advance for the plugin that works excellent and is very useful.
@PluginMethod(returnType = PluginMethod.RETURN_NONE) public void qr(PluginCall call) throws RemoteException { if (mPrinterService != null) { String data = call.getString("data"); int size = call.getInt("size"); int errorlevel = call.getInt("errorlevel");
mPrinterService.printQRCode(data, size, errorlevel, null); } }
qr(options: { data: string; size: 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16; errorlevel: 0 | 1 | 2 | 3; }): void;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Good evening, I was able to add the qr method manually, at least it works for me.
I would appreciate it if you could incorporate this method into the plugin accordingly as it is very useful.
Thanks in advance for the plugin that works excellent and is very useful.
File: SunmiPlugin.java
@PluginMethod(returnType = PluginMethod.RETURN_NONE)
public void qr(PluginCall call) throws RemoteException {
if (mPrinterService != null) {
String data = call.getString("data");
int size = call.getInt("size");
int errorlevel = call.getInt("errorlevel");
File: definitions.ts
qr(options: {
data: string;
size: 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16;
errorlevel: 0 | 1 | 2 | 3;
}): void;
The text was updated successfully, but these errors were encountered: