Urgent.News

What's breaking now, across hundreds of outlets.

Tech

I created an SDK to make React Native apps more resilient to poor connections.

Um aplicativo mobile não precisa estar completamente offline para se tornar praticamente inutilizável. Às vezes o dispositivo está tecnicamente conectado à internet, mas a conexão está extremamente lenta, instável ou sofrendo perdas constantes. E é aí que começam os problemas: requisições entram em timeout; telas ficam carregando indefinidamente; usuários tentam executar a mesma ação várias…

Translated from Portuguese Read in Portuguese

A developer has created an open-source SDK called NetResilience for React Native, which aims to make HTTP communication more resilient in poor internet conditions. The SDK assesses the quality of the internet connection, classifying it as EXCELLENT, MODERATE, POOR, or OFFLINE, and allows applications to decide how to handle each request accordingly.

NetResilience provides features such as request queuing, automatic retry, and idempotency protection to prevent duplicate operations. The SDK uses a persistent queue storage and an authentication provider to securely handle requests.

Summarised by urgent.news, not translated. Machine-written; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Automating Bug Reports with Tally and Make

When building my first proper Android app, Timety , I ran into a common issue: I wanted to collect user feedback, but since my app is privacy-focused, I wanted to avoid forcing users to create an…

HTB - Forest

I’m planning to take the TCM Security PJPT certification exam next Monday. I’ve finished going through the PEH course, and I wanted to spend some time working on HTB machines to put some of the…

More from Tuesday 22 September →