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

103
Views
Sending a fetch request while connected to an iOT device without internet

I'm developing an iOS app using Ionic (JavaScript Framework) and I'm connecting to an Iot device and sending a fetch request to it.

If my phone doesn't have a cellular connection, the fetch fails.

This is the process:

  1. Turn on Iot device

  2. Use app to connect to device access point

  3. Send fetch request to device

     try {
       const response = await fetch('http://192.168.1.1/');
       // handle response
     } catch(err) {
       console.log(err);
       // handle error
    }
    
  4. Fetch fails

Is there a way for the fetch to work when connected to an access point without internet? Are there any other libraries that might help me achieve this?

about 4 years ago · Juan Pablo Isaza
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!