@scrumble-nl/react-native-honeywell-scanner 1.0.23 → 1.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -85,13 +85,15 @@ public class HoneywellScannerModule extends ReactContextBaseJavaModule implement
85
85
 
86
86
  AlertDialog.Builder builder = new AlertDialog.Builder(reactContext);
87
87
  builder.setTitle("Devices");
88
- builder.setPositiveButton("Yes", new DialogInterface.OnClickListener() {
89
- public void onClick(DialogInterface dialog) {
90
- dialog.cancel();
91
- }
92
- });
88
+ builder.setPositiveButton(
89
+ "Yes",
90
+ new DialogInterface.OnClickListener() {
91
+ public void onClick(DialogInterface dialog, int id) {
92
+ dialog.cancel();
93
+ }
94
+ });
93
95
  builder.setNegativeButton("No", new DialogInterface.OnClickListener() {
94
- public void onClick(DialogInterface dialog) {
96
+ public void onClick(DialogInterface dialog, int id) {
95
97
  dialog.cancel();
96
98
  }
97
99
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@scrumble-nl/react-native-honeywell-scanner",
3
3
  "title": "React Native Honeywell Scanner-v2",
4
- "version": "1.0.23",
4
+ "version": "1.0.24",
5
5
  "description": "Bridge to use the Honeywell scanner",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",