nstudio / nativescript-audio

:microphone: NativeScript plugin to record and play audio :musical_note:
Other
149 stars 104 forks source link

ReferenceError: Can't find variable: android #167

Closed tralves closed 3 years ago

tralves commented 3 years ago

Latest commit (254e0719302566b718c578b6933774beac2cffed) broke the plugin on iOS.

Here's the relevant part of the log:

*** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: ReferenceError: Can't find variable: android
at
file: node_modules/nativescript-audio/options.js:15:0
at ../node_modules/nativescript-audio/options.js(file: node_modules/nativescript-audio/options.js:19:1)
at __webpack_require__(file: app/webpack/bootstrap:74:0)
at ../node_modules/nativescript-audio/audio.js(file: node_modules/nativescript-audio/audio.ios.js:7:21)

👀@danieldspx.

Thanks

tralves commented 3 years ago

I can see someone already fixed it in #166.

bradmartin commented 3 years ago

Published the fix