NathanWalker / nativescript-fancyalert

Fancy alerts for NativeScript.
Other
147 stars 38 forks source link

ReferenceError: cn is not defined in Android #85

Open vishnupsatish opened 4 years ago

vishnupsatish commented 4 years ago

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 and rm -rf platforms/android, but none worked.

Running NativeScript CLI version 6.5.0.

gjtqiyue commented 4 years ago

Ran into the same issue, any solution to this?

vishnupsatish commented 4 years ago

Not that I have seen so far.

Rohanrevanth commented 2 years ago

Any update on this? Error occurring again in latest natevescript version(8.2.0)

Edited: Nvm.. latest versions use @nstudio/nativescript-fancyalert