Android:Debuggable config.xml or workaround required

  • 1
  • Question
  • Updated 4 years ago
Is there any way to set Android:Debuggable="true" via config.xml file?

We are accessing an https internal url (internal network) and although we have installed our own internal root ca certificate on the mobile phone, we don't seem to be able to call our internal endpoint because it probably thinks the url has a self-signed certificate...

If there isn't the possibility to do it via config.xml file, is there any workaround we could use?

Thank you in advance

José Pereira
Photo of José Pereira

José Pereira

  • 2 Posts
  • 0 Reply Likes

Posted 4 years ago

  • 1
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@Jose,
Since this is your first post, please answer the following question.
- Is this your first hybrid App?
- Are you using the Phonegap Desktop App?
- Are you using CLI, SDK or Build? Please do not assume the answer, please read the link.

Thanks
Jesse
Photo of José Pereira

José Pereira

  • 2 Posts
  • 0 Reply Likes
I'm using PhoneGap Build, and I checked for several foruns before asking myself the same question. The Documentation on PhoneGap Build is VERY poor... unfortunately.

Nonetheless, I found the answer on a genuitec.com URL:

https://www.genuitec.com/products/gap...

<gap:config-file platform="android" parent="/manifest">
<application android:debuggable="true" />
</gap:config-file>
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@José,
It is apparent from your original message and comments, that you did not read the link I gave you -- and you reading the WRONG documentation.

I urge you to read this FAQ. Read the bold sentences first.
Top Mistakes by Developers new to Cordova/Phonegap

Best of Luck
Jesse