I created two projects, one in Ionic 4 and the other in Ionic 3. Both projects are “blank” projects. In both projects I added a button and on click it outputs a console.log() error message.
I run the below command for both projects:
ionic serve -c
In Ionic 3 I get console logs in the terminal.
In Ionic 4 I get NO console logs in the terminal.
Has anyone else discovered this and found a solution?
Yes its broken and Ionic Team seem to not care at all, that a critical part of the product is broken.
DevApp is basically useless for Ionic 4 and reporting this bug in the repository leads only to counterquestion “Why do you need that”. Lifereload cordova android deployment doesnt work either - debugging native-only bugs is a PAIN at the moment.
I have release my app on android play store based on ionic 4 without console logs in terminal or without dev app. it is a little difficult but it is ok with emulator or a real smartphone… so I recommend ionic 4 only for new project. it is possible to use it.
This became a blocker for me today too. After a quick Google around I realised that nobody had solved it, so I got in touch with Ionic’s support team. Here is their response:
Thanks for reaching out to the Ionic support team.
v4 support in DevApp won’t happen until sometime after the full v4 release at the earliest. I don’t have any solid details on a timeframe to offer.
If you have any other questions let me know.
I’m afraid it looks like we’re going to have to wait for quite some time before DevApp supports v4.
It looks like DevApp still hasn’t got a console log for Ionic 4. I’m currently rewriting our app for use with Ionic 4 but having no console log makes it quite hard to debug the code.
I tried using the browser to test the app, but that doesn’t work because “Cordova is not available” so I have to use the DevApp. But without having feedback about possible error I can’t do a forking thing with it.
I hope the Ionic team is reading this and fix this issue soon
I’m new to Ionic and it’s surprising to find out Ionic 4 has so many issues with the DevApp… Today I am getting an unexpected error with the ion-slide component on my iPhone and I really need to check the logs to see what’s causing this error…
The only thing that works is to compile it, with NO livereload, and inspect it with chrome.
Why is this still an issue, 6 months after the bug was discovered? I wonder if there is a fix for the paid versions, but not for the community edition.
I’m developing again but still the DevApp is not working properly! I need to redevelop my app in Ionic 4 but this way it is impossible to do. I cannot debug in a browser because I need some native components which will not work in a browser.
Please, please, please fix this problem Ionic!! My customers are getting angry with me why I haven’t released an update in a while. I explain them that I need to develop everything all over again because of version 4. But without a proper console log I cannot do this!!!
Are there great alternatives for Ionic in which I can develop our application. The support from the Ionic team is just bad, and after waiting several months I’m really pissed off.
I spend 12 months developing an app. It finally works and I wanted to make updates to make our app even better. Ionic comes with a new version (4) which requires me to do everything all over again. So that’s 12 months of work down the freaking drain! And when I try to recreate our app in Ionic 4 stuff just doesn’t work and support is no where to be found!
By now I’m thinking Ionic is unreliable as a platform to develop your app with. So does anybody know a great alternative bo build an app in? I can go native and teach myself to work with xCode, but I have to have an Android version for the people that don’t have an iPhone yet
I also just want to take a second to say thanks to the Ionic Team for providing this free software that allows me to earn a living.
Of course it can be frustrating when things that are important to me aren’t top of your priority list but I understand and appreciate you can’t jump on every cry for help from your open source users.
So thanks for all the time, energy and expertise you give away. The thought that you can make $$$$ from enterprise users on top fills me with warmth and happiness because you deserve it!