Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

160
Vistas
How can I set default protocol used in cordova android to http than https?

Development

I have an app written with JavaScript, JQuery and HTML. The app consumes data from rails API via AJAX calls over using HTTP protocol.

Problem

I am using cordova to build the application to android app. Building the application android works, however I am not able to connect the rails server. When I checked the URL used to get data from the rails API, it has HTTPS as protocol not HTTP.

I tried building the same app to electron app using the same cordova and it uses HTTP and able to connect to rails API.

How can I solve this problem?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Please check out this use clear text setting: https://cordova.apache.org/docs/en/11.x/guide/platforms/android/index.html#android-quirks

Also consider upgrading your server to HTTPS.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda