Closed NathanWalker closed 4 years ago
I think there might be a few more things that need to be changed. https://nativescript.org/blog/nativescript-7-for-plugin-authors/
Eddy already cleared the other things needed here: https://github.com/EddyVerbruggen/nativescript-barcodescanner/commit/8a792af288837c1a6031aa1ad44664f470e36b4b
This just finishes off the last piece with the NativeClass handling and the tsconfig update which is why 4.0.0 is not working. Can just bump a patch and publish @EddyVerbruggen 🆗
Cool, that seems to get rid of that NativeClass
indeed. Thanks, Nathan!
I just released this as 4.0.1 to npm.
While testing I found that setting beepOnScan
to true
may crash iOS. There seems to be a recent (iOS 14 or NativeScript 7) change (need to dig in that to blame one or the other) which crashes the audioplayer which is responsible for beeping on scan. Seems to happen after the second or third scan with the demo app. So for now, I added a note to the top of the readme.
Excellent @EddyVerbruggen thanks - yes the beepOnScan is likely a subtle change in iOS 14 - I can help peek at that later as well... No big deal (developers can also implement their own beep sound effects on result returned) thank you!