Can't call alert() in windows app


#1

I opened a github issue but it was closed because alert is a browser feature not an ionic feature. You can view the issue for more info but it’s pretty simple: “alert();” does not work in windows apps and I’d expect this to work as it’s a pretty basic browser function.


#2

Have you tried Ionic’s alert component?


#3

I have not but I would expect it to work just fine. I could make a helper function to get nearly the same ease of just calling alert() but it just seems strange to be that such a basic component of javascript doesn’t work in windows but it does for iOS and Android. It would be like if console.log() didn’t work.


#4

Well, you should be complaining to Windows then.