EddyVerbruggen / nativescript-barcodescanner

🔎 NativeScript QR / barcode (bulk)scanner plugin
MIT License
293 stars 73 forks source link

Preview on iOS fails with JS exception which crashes the app. #270

Open ilyavf opened 3 years ago

ilyavf commented 3 years ago

When trying to ns preview the demo for iOS it crashes with a JS exception.

Full log: https://gist.github.com/ilyavf/1e623355cd9b98a2a195dd88e19142b6

2021-07-20 15:41:51.998 nsplaydev[11225:3030798] JavaScript error:
file:///app/tns_modules/@nativescript/core/ui/builder/builder.js:202:56: JS ERROR Error: Building UI from XML. @app-root.xml:1:1
 > undefined is not a constructor (evaluating 'new _nativescript_core__WEBPACK_IMPORTED_MODULE_0__["Property"]({
      name: "formats",
    defaultValue: null,
})')