Send the queue when back online
Your task In the effect, listen: const stop = NetInfo.addEventListener((state) => { if (state.isConnected) sendQueue(); }); and then return stop;. Run it: the phone comes back online after a moment.
Getting the editor ready