Questions tagged [react-native-offline]

5 questions
2
votes
0 answers

working with react-native-offline in background

I'm trying to find a way to launch actions (redux actions) stored in AsyncStorage by react-native-offline when the app is in the background. I've read about Headless JS and react-native-background-fetch but haven't seen the implementation of…
1
vote
0 answers

react native offline - dispatching changeQueueSemaphore action by action dispatched from offline queue

I’m using react-native-offline library in my app for offline queueing of requests to server and the action changeQueueSemaphore had caused me few difficulties. I’ll try explaining by an example. Let’s say my app posts offline issues in Stack…
1
vote
1 answer

while configuring react-native-offline got undefined is not an object 'state.network.isConnected while using it with redux-persist and redux-thunk

Current Behavior -Trying to create a working solution with react-native-offline redux-thunk redux-persist -Getting undefined is not an object (evaluating 'state.network.isConnected') while running the app. app.js import React from "react"; import {…
0
votes
0 answers

Add date and time to actionQueue in React native offline

I use react-native-offline for offline approach and actionQueue to show users which actions are still pending. Is there any possibility to set and then retrieve the date and time of each request added to the actionQueue array?
-1
votes
0 answers

React-native-offline and rtk query

working on an app and currently using rtk query for get requests which is good for being able to view data while offline. Also need to be able to add simple state updates while offline and looking at react-native-offline for this. Anyone got…
Nkap
  • 1
  • 1