Working with Ionic 3 (Ionic 4 still sucks for production apps) I had this weird requirement to subscribe to one Observable and in case of error, wait some time, repeat the action twice and if it fails again, catch the error and do some stuff. First I thought it's really easy to do this with … Continue reading RxJs – Retry with delay and error handling
Sometimes you want put some navigation code in a service. If the service is provided at root level you can't inject the NavController because you don't have any at application startup and your application will crash. The naive solution is to pass the NavController as parameter to the service method like this: This solution is … Continue reading How to use NavController from a Service in Ionic 3
I was playing with the TypeScript playground (http://www.typescriptlang.org/play/) and noticed how cool is to have a great linter that checks your code for all kinds of errors and gives you meaningful warnings. So check this out: ... and after you hit run!