I know there is the possibility with
platform.platforms() to check on which platforms the ionic app is running.
In another post someone wrote you can use process.env.IONIC_ENV but this is not usable in angular but only on the build process right?
We need to know if we are in production mode or in developement mode and also if we are in livereload mode.
We have an api for example /api/users/current and a proxy configuration for ionic for /api.
We need to know if we have to set our apis to /api/users/current or to http:///client.bla.com/api/users/current.
How can we handle this?