Find Jobs
Hire Freelancers

HTTP Post call with Ionic Native Http connection Error Android

$10-30 USD

Fullført
Lagt ut nesten 5 år siden

$10-30 USD

Betalt ved levering
Need help with fixing couple of issues in Icon mobile development. 1. Not able to get http connection in some android versions. problem described below 2. Apple not able to display data in some iphones. I am trying to make an HTTP Post call with Ionic Native Http and cordova-advanced-http-plugin. The call works on some android devices, but I am getting an error on others, and the call never goes through. Here is the code that I am using for the HTTP call: login(username, password, domain: String) { [login to view URL](); var url = 'http://' + domain + '/api/Active/UserLogin'; var data = { UserName: username, Password: password } [login to view URL]('nocheck'); [login to view URL]('*', 'content-type','application/json'); //Important to set the data serializer or the request gets rejected [login to view URL]('json'); [login to view URL](url, data, {}).then(res =>{ var response = [login to view URL]([login to view URL]); if ([login to view URL]) { [login to view URL](TOKEN_KEY, [login to view URL]); [login to view URL]("userID", [login to view URL]); [login to view URL]("domain", [login to view URL]()); [login to view URL](true); } else { [login to view URL](); [login to view URL]('The username, password, or domain was incorrect'); } }) .catch(err =>{ [login to view URL](); [login to view URL](err); }); }
Prosjekt-ID: 19999773

Om prosjektet

9 forslag
Eksternt prosjekt
Aktiv 5 år siden

Ønsker du å tjene penger?

Fordeler med budgivning på Freelancer

Angi budsjettet og tidsrammen
Få betalt for arbeidet ditt
Skisser forslaget ditt
Det er gratis å registrere seg og by på jobber
Tildelt til:
Brukeravatar
Hello, I’m vishal and full stack developer and can solve your problem i think its cors issue as per you said its working on some phones. Thanks Vishal
$35 USD om 2 dager
4,8 (4 omtaler)
1,6
1,6
9 frilansere byr i gjennomsnitt $37 USD for denne jobben
Brukeravatar
Hello I CAN FIX YOUR ISSUE IN AN HOUR! I have vast experiences in Ionic development. Please feel free to contact me. Best
$25 USD om 1 dag
4,4 (48 omtaler)
7,3
7,3
Brukeravatar
I have 2.5-year experience in Ionic/Cordova/PhoneGap Development. I complete many projects on time bases. I complete your work with accuracy.
$35 USD om 1 dag
5,0 (64 omtaler)
5,5
5,5
Brukeravatar
Hi, With more than 9 years of experience in this industry, I am a professional full-stack web developer. I’ve good hands-on experience in following Frameworks, CMSs- WordPress, Magento, Joomla, Drupal & PHP based framework like- Laravel, CodeIgniter, Yii. I am well equipped in Core PHP, MYSQL, JavaScript, JQUERY, AJAX and designing through Adobe Photoshop, including HTML5, CSS2/3, Bootstrap (responsive sites). I do take pride in my ability to produce themes which pass the validation for XHTML and CSS as per W3C standards. I’ve expertise in REST web service, RESTful services & RESTful programming model. I’ve worked with JSON format: a result of a request to Web Service/Site was in that format & we successfully parsed it in the web-app. Look forward to discussing this work in more details with you. Thanks, Harry.
$100 USD om 1 dag
5,0 (2 omtaler)
3,9
3,9
Brukeravatar
Hello there, Nice to meet you! As per your requirement, I am very much suitable for the job. kindly invite me for a chat for further discussion regarding the project. I have more than 6 years of experience in web & mobile app development you will get good quality work from me. You will never disappointed while working with me. Thanks & Regards.
$25 USD om 1 dag
0,0 (0 omtaler)
0,0
0,0

Om klienten

UNITED STATESs flagg
exton, United States
5,0
11
Betalingsmetode bekreftet
Medlem siden mai 12, 2015

Klientbekreftelse

Takk! Vi har sendt deg en lenke for at du skal kunne kreve din gratis kreditt.
Noe gikk galt. Vær så snill, prøv på nytt.
Registrerte brukere Publiserte jobber
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Forhåndsvisning innlasting
Tillatelse gitt for geolokalisering.
Påloggingsøkten din er utløpt og du har blitt logget ut. Logg på igjen.