Skip to content

Commit

Permalink
Merge pull request #42 from oolio-group/athul/android-support-printing
Browse files Browse the repository at this point in the history
fix:Add missing series argument for java classes
  • Loading branch information
mdsiddiq-till authored Apr 29, 2024
2 parents b4f56ea + 6e90a72 commit 0b22f7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public void connectPrinter(String innerAddress, Callback successCallback, Callba
}

@ReactMethod
public void connectAndSend(String innerAddress, String base64Data, String brand, Callback successCallback, Callback errorCallback) {
public void connectAndSend(String innerAddress, String base64Data, String brand,String series, Callback successCallback, Callback errorCallback) {
this.adapter = BLEPrinterAdapter.getInstance();
this.adapter.init(reactContext, null, null);
adapter.connectAndSend(BLEPrinterDeviceId.valueOf(innerAddress), base64Data, successCallback, errorCallback);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public void connectPrinter(String host, Integer port, Callback successCallback,
}

@ReactMethod
public void connectAndSend(String host, Integer port, String data, String brand, Callback successCallback, Callback errorCallback) {
public void connectAndSend(String host, Integer port, String data, String brand,String series, Callback successCallback, Callback errorCallback) {
this.adapter = NetPrinterAdapter.getInstance();
this.adapter.init(reactContext, null, null);

Expand Down

0 comments on commit 0b22f7f

Please sign in to comment.