BarcodeScanner icon indicating copy to clipboard operation
BarcodeScanner copied to clipboard

StateMessageProvider initializers

Open petarmari266 opened this issue 3 years ago • 0 comments

Greetings,

thanks for the performant library with support for the number of barcodes!

I'm writing this "issue" to ask whether you can implement a public default and public parametric initializer for StateMessageProvider struct?

The reasons are:

  1. Swift does not allow instantiation of the public struct from another project (I am using CocoaPods) even though the struct is public, along with its properties.
  2. Not using the stock languages in the application, or not using the same messages for the barcode scanner.
  3. Enabling the instantiation of the public struct and customizing the properties on an instance.
  4. Enabling the instantiation of the public struct with all supplied text constants.
image

Thanks for the consideration.

Best regards

petarmari266 avatar Feb 23 '22 18:02 petarmari266