DevApp on ionic 4 : issue : no console log

#1

In ionic V4 beta :

I can’t see the console log messages when I launch my app in devApp Android App.
(it works well with ionic v3 app).
command :

ionic serve -c

App devApp on Samsung Galaxy Note 8 Android 8.0.0 (mode dev activated but no impact I think).

Ionic:

   ionic (Ionic CLI)          : 4.1.2 (/usr/local/lib/node_modules/ionic)
   Ionic Framework            : @ionic/angular 4.0.0-beta.8
   @angular-devkit/core       : 0.8.1
   @angular-devkit/schematics : 0.8.1
   @angular/cli               : 6.2.1
   @ionic/ng-toolkit          : 1.0.8
   @ionic/schematics-angular  : 1.0.6

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : android 7.1.1, browser 5.0.4
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 2.1.3, (and 5 other plugins)

System:

   Android SDK Tools : 26.1.1 (/Users/gregory/Library/Android/sdk/)
   ios-deploy        : 1.8.6
   NodeJS            : v8.12.0 (/usr/local/bin/node)
   npm               : 6.4.1
   OS                : macOS Sierra
5 Likes
Ionic DevApp Feedback Mega-thread
#2

Hello
I am having the exact same issue.

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?

1 Like
#3

I haven’t found any solution to have into the terminal.

I add also, that I can’t see it in chrome://inspect/
So, no solution at all !

Device connected in Wifi using ionic DevApp App

ionic serve -c

  • ionic 4 :
    • DOESN’T Work in Terminal
    • DOESN’T Work with Browser avec Chrome : inspect
#4

Yes noticed this as well today

#5

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.

Advice at everyone - stay away from Ionic 4.

1 Like
#6

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.

Télécharger Outlook pour Android

#7

Same Issue here for IOS device…I am running the devapp but I can’t see any logs on the emulator. This is highly frustrating. Please fix this ASAP.

Thanks,
ajay

#8

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.

#9

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 :frowning:

5 Likes
#10

Me too, I’m having this problem. I hope the ionic team may be able to fix this issue soon.

#11

Me too having this problem.

#12

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…

#13

By March 17th and the problem describe above still persists and makes it exactly 6 months since this bug was reported.

For us depending on debugging on a device it makes developing impossible.

Do IONIC have a time horizon for fixing this bug or do we need to rool back to v3 ?

#14

This is still happenning.

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.

#15

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!!!

#16

I have filled in a support form on the Ionicframework website, hope this will get their attention to this topic :frowning:

#17

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 :wink:

I’ll try to look for alternatives also

#18

You guys know you can use chrome to get console logs as the device runs the app natively right? It’s how I test all my native plugins…

#19

Hi @rohankapurmobile ,

How are you achieving this please?

I’m running the app in DevApp and have my phone connected to Chrome for remote debugging but it says ‘no browsers connected’.

Any advice you can provide on how to see console logs when using native functionality is really appreciated.

Many thanks!

#20

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! :heart_eyes: