Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReferenceError: cn is not defined in Android #85

Open
vishnupsatish opened this issue Apr 3, 2020 · 3 comments
Open

ReferenceError: cn is not defined in Android #85

vishnupsatish opened this issue Apr 3, 2020 · 3 comments

Comments

@vishnupsatish
Copy link

vishnupsatish commented Apr 3, 2020

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
Copy link

Ran into the same issue, any solution to this?

@vishnupsatish
Copy link
Author

Not that I have seen so far.

@Rohanrevanth
Copy link

Rohanrevanth commented Mar 31, 2022

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants