Release Version opening the Debug Window at startup


#1

A few days ago one application (ionic v1) started to show a window once i start the application at device showing debug information (i guess).

I’ve already published it to Google with --product --release but the window still appears. On Manifest i’ve nothing related to debbug.

Any idea what this can be?

cli packages: (/usr/lib/node_modules)

    @ionic/cli-utils  : 1.18.0
    ionic (Ionic CLI) : 3.18.0

global packages:

    cordova (Cordova CLI) : 7.1.0 
    Gulp CLI              : CLI version 3.9.1 Local version 3.9.1

local packages:

    Cordova Platforms : android 6.2.3
    Ionic Framework   : unknown

System:

    Android SDK Tools : 26.1.1
    Node              : v6.12.0
    npm               : 3.10.10 
    OS                : Linux 4.10

Environment Variables:

    ANDROID_HOME : /home/gui/Android/Sdk

Misc:

    backend : pro

#2

I have never seen this interface before.

“GuruPolis” is the name of your app?
Do new installs from the Play Store get the same view?
How should it normally look like?
Do “Common”, “Title + Language + Debug” mean anything to you in the context of your app?
What is that red dot in your notification tray?


#3

Hi @Sujan12,

The red dot is from a virtual device (recording) that captured that screenshot. On real devices i get the same window but without the dot.

I’ve never seen this and it doesn’t mean anything. GuruPolis is the application name.

I do remember to have implicity set debuggable on AndroidManifest but i’ve removed the flag after reading that it was a bad pratice.

You can install it from here: https://play.google.com/store/apps/details?id=com.digitalconsulting.gurupolis


#4

Yep, getting the same view, just a bit different design.

Post your ionic cordova platform list and ionic cordova plugin list output please.


#5

``

cordova plugin ls
cordova-android-support-gradle-release 1.1.5 "cordova-android-support-gradle-release"
cordova-disable-http-cache 1.0.0 "Cordova HTTP cache disabler"
cordova-plugin-actionsheet 2.3.3 "ActionSheet"
cordova-plugin-app-event 1.2.1 "Application Events"
cordova-plugin-app-preferences 0.99.3 "AppPreferences"
cordova-plugin-background-mode 0.7.2 "BackgroundMode"
cordova-plugin-badge 0.8.5 "Badge"
cordova-plugin-compat 1.2.0 "Compat"
cordova-plugin-contacts 2.3.1 "Contacts"
cordova-plugin-device 1.1.7 "Device"
cordova-plugin-dialogs 1.3.4 "Notification"
cordova-plugin-facebook4 1.9.1 "Facebook Connect"
cordova-plugin-file 3.0.0 "File"
cordova-plugin-geolocation 2.4.3 "Geolocation"
cordova-plugin-google-analytics 1.8.3 "Google Universal Analytics Plugin"
cordova-plugin-mauron85-background-geolocation 2.3.3 "CDVBackgroundGeolocation"
cordova-plugin-network-information 1.3.4 "Network Information"
cordova-plugin-splashscreen 4.1.0 "Splashscreen"
cordova-plugin-x-socialsharing 5.2.1 "SocialSharing"
cordova-sqlite-storage 2.1.2 "Cordova sqlite storage plugin"
de.appplant.cordova.plugin.local-notification 0.8.5 "LocalNotification"
es6-promise-plugin 4.1.0 "Promise"
uk.co.workingedge.cordova.plugin.sqliteporter 1.0.2 "sqlite porter"
uk.co.workingedge.phonegap.plugin.launchnavigator 4.0.7 “Launch Navigator”


cordova platform ls
Installed platforms:

Available platforms:
android ~6.3.0
blackberry10 ~3.8.0 (deprecated)
browser ~5.0.0
ios ~4.5.1
osx ~4.0.1
ubuntu ~4.3.4 (deprecated)
webos ~3.7.0
windows ~5.0.0
www ^3.12.0


#6

This plugin has some code that creates a screen like you see it:

Don’t know more about it, but probably after calling “show” of the plugin.


#7

Thank you very much. I don’t need that plugin, probably it’s a dependency or if it isn’t i had installed just to test it.

I’m gonna try to find more and i’ll reply as soon as i find something.


#8

Somehow i forgot that i was indeed calling show method and forgot to put it under debug mode.

I don’t know if there is any way to mark this topic as solved, if so please tell me.

Thank you and sorry for the annoyance


#9

No annoyance at all, that was a fun and short investigation :slight_smile:
Just googling for the words appearing in the GUI didn’t give me any results, but with your list of plugins I could pin it down in 2 Google requests.

PS: Marked your laster answer as the “solution”, you can so so yourself by clicking the “…” under your post and then the empty checkbox.