cordova-plugin-buildinfo icon indicating copy to clipboard operation
cordova-plugin-buildinfo copied to clipboard

in reverse engineering cordova application , if we changed debuggable from true to false then BuildInfo.debug is returning false

Open FarhanKarwat opened this issue 5 years ago • 1 comments

in reverse engineering cordova application , if we changed debuggable from true to false then BuildInfo.debug is returning false. whereas it should return to true because my android application config file is changed from false to true. How i can get true for reverse engineering

FarhanKarwat avatar Jul 23 '19 11:07 FarhanKarwat

The value of BuildInfo.debug refers to the value of BuildConfig.DEBUG.

Are there many BuildConfig classes?

If the BuildConfig class is in a specific path,

var buildInfoBuildConfigClassName = 'org.apache.cordova.sample.BuildConfig';

By declaring this code before initialization of the plug-in in JavaScript on the Cordova side, you can enforce the specifications of the BuildConfig class.

If the value of BuildConfig.DEBUG is false, BuildInfo.debug will also return false.

lynrin avatar Aug 30 '19 15:08 lynrin