Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

157
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!