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

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?


#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.


#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.