Open vishnupsatish opened 4 years ago
Ran into the same issue, any solution to this?
Not that I have seen so far.
Any update on this? Error occurring again in latest natevescript version(8.2.0)
Edited: Nvm.. latest versions use @nstudio/nativescript-fancyalert
Issue in Android (core JavaScript) when running with
var falert = require("nativescript-fancyalert"); falert.TNSFancyAlert.showSuccess('Success!', 'Fancy alerts are nice.', 'Yes they are!' ).then(() => { console.log("Success") }, (error) => { console.log(error);});
gives error as
ReferenceError: cn is not defined
on Android (iOS not tested)Tried
tns platform clean android
andrm -rf platforms/android
, but none worked.Running NativeScript CLI version 6.5.0.