NathanWalker / nativescript-fancyalert

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

fancyalert not working on Android #57

Closed tingfong214 closed 5 years ago

tingfong214 commented 5 years ago
TNSFancyAlert.showSuccess(
      "Success!",
      "Fancy alerts are nice.",
      "Yes they are!"
).then(() => {
      console.log("success")
}).catch(err => {
      console.log(err)
})

the err response is: [TypeError: cn.refactor.lib.colordialog.PromptDialog is not a constructor]

Did I do something wrong?

tingfong214 commented 5 years ago

It works charming after running this:

rm -rf platforms/android

removing android in platforms of your file

larssn commented 5 years ago

Could you close the issue then?