710 questions
-4
votes
1
answer
56
views
Where is storage size and tile count of OfflinePack in Mapbox's ReactNative module?
I wanted to show my user's the space in memory of an offline map they had downloaded and saw ambiguous fields in the OfflinePack arg in the onProgress callback in the createPack call in the Mapbox ...
0
votes
0
answers
78
views
How can I make my website available offline through a Firefox extension?
I have a website that I write code for just to try out new things I learn about in web dev. I also want to get into Firefox extension creation, which I've already somewhat started with.
I know that ...
1
vote
2
answers
161
views
How to check if any local Firestore document has pending writes
I am using Firestore in the browser with offline mode.
How can I check, if there are any updates applied on my client but not yet transacted on the server?
I would like to check this, without knowing ...
0
votes
1
answer
671
views
How to enable offline persistence in React Native Expo app with Firebase Firestore database?
I am currently building my app using React native Expo. In my app I have to save my user's entries into the database. Since my users may not have a consistent internet connection, I was looking for a ...
1
vote
1
answer
200
views
Why is my web page slow when serving offline using service worker caches?
I'm trying to make my webpage work completely offline, but I'm running into some issues with load time when trying to load from the cache
I'm currently caching all the files necessary for my website ...
0
votes
0
answers
48
views
Prevent web Updates in PWA?
I'm currently developing a PWA that will be published in the Microsoft Store. It basically works like an offline app, so all processing is done locally. My question is: Is it possible for a PWA to ...
0
votes
0
answers
51
views
How to navigate into an already downloaded WASM application?
Let's say you are using the Hosted Web App template for Blazor. The user navigates to your application and the server pre-renders the page, and then the WASM is loaded and takes over as expected.
The ...
0
votes
0
answers
87
views
Creating Service Workers to make dynamically-generated webpages available offline
I am designing a website using PHP and MySQL, and I am having trouble creating a Service Worker that works the way I want.
My setup/requirements:
I have a menu page that offers links like /myevents/...
1
vote
0
answers
54
views
How to Implement an Offline Page for a Flask App Using a Service Worker?
I'm working on a Flask web application and I want to implement an offline page that displays when the user is offline or the server is down. I’ve set up a basic Flask app and a service worker, but I’m ...
1
vote
0
answers
491
views
Service Worker in angular 17 not working during offline mode
I had installed service worker by this command @angular/pwa and its also registered successfully but on going offline mode it gives no internet connection the data is not being cached and loaded when ...
0
votes
0
answers
533
views
Alternatives to URLVoid and VirusTotal that can be run offline
I am wondering if there are tools or products available that serve the same purpose as online tools such as URLVoid and Virustotal, but for offline use.
I have a machine that is not connected to the ...
0
votes
1
answer
1k
views
Runtime caching for APIs, in Vue, Vite PWA plugin seems not working?
I've add PWA plugin in my Vuejs project, with Vite. I made the precaching but when I tried to make runtime caching for API request, it doesn't work. The runtime cache file doesn't appear and no ...
4
votes
0
answers
417
views
Alternatives to AWS Amplify DataStore with offline capabilities for GraphQL
I've developed a project using AWS Amplify and DataStore. It was a requirement that the app works offline, because most of my users are travelling in areas with poor or no signal. DataStore seemed ...
1
vote
1
answer
614
views
Firebase real time database offline persistence using Maui.net
Does FirebaseDatabase.net support offline persistance with maui.net?
if so, could someone give me a snipit of what i need to do.
If not, does anyone have any suggestions or examples that show how to ...
0
votes
2
answers
893
views
Progressive Web App not working in offline mode
I enabled PWA for my reactjs application and deployed on my domain (arvind.inzack.com)
As part of testing, we installed the app on Samsung Tab device. Once the application is loaded successfully we ...
0
votes
2
answers
96
views
Is everything from the table returned and the filtration is happening locally?
i am connecting to my remote tables and retrieving a user via his email and password like this:
var x = await _table.GetAsyncItems().Where(x => x.Email == email).Where(x => x.Password == ...
1
vote
1
answer
3k
views
Supabase - Mobile - Offline first - Sync remote Postgres DB to a local SQLite DB
What is the best way to Sync remote-Postgres DB into local-SQLite DB on mobile apps ?
I am currently working on a Flutter mobile project that supports offline-first.
On every opening of the app (or ...
2
votes
1
answer
845
views
Cache offline an entire tree (or arbitrary routes) on user interaction
I have offline caching with a NextJS PWA working fairly well by following this post.
Now what I need to do is precache a set of routes (in this case all the descendents) without the visitor needing to ...
0
votes
1
answer
968
views
React app to work offline not able to cache files after deployment
I'm making react app to work offline for which I'm caching the files in sw.js file which is under public folder. The files are getting cached locally but when I'm deploying the app, it is not caching ...
1
vote
1
answer
743
views
Building Electron with Electron Builder without downloading packages from github
I'm trying to build an electron app with electron builder,
but I encountered a problem: my network blocks packages from GitHub on downloading.
Is there any other way to disable the look for the ...
0
votes
1
answer
251
views
Offline functionality in asp.net mvc with local storage
I want to add offline functionality in my existing asp.net mvc 4.7 web application. I searched a lot and found many links to add offline functionality in html pages but could not find any link for asp....
0
votes
1
answer
790
views
Queue and pause Redux actions while offline
I want to pause all dispatched thunks when I am offline and resume when I'm back online. Is createListenerMiddleware a good option for this?
I could create like a seperate redux slice to save the ...
0
votes
1
answer
540
views
Notify a web page served from service-worker cache that it has been served from SW cache
I developped a service worker which is serving pages from network first (and caching it) or, when offline, serving it from cache.
Ideally, I would like to inform the user (with a banner, or something ...
1
vote
0
answers
116
views
I'm caching 900 items in my PWA. Is there a better way for offline capability?
I have a PWA with static content that must be 100% available offline. There are 400 HTML pages, and 450 PNG content images and the usual site assets. The total cache size is 21mb and content rarely ...
3
votes
0
answers
557
views
How can I download tile region map(mapbox) completely, with kotlin code in android studio?
With following offline Mapbox docs, I defined tileStore, resourceOptions, offlineManager and tilesetDescriptor same as codes below.
private val tileStore: TileStore by lazy {TileStore.create().also{it....
2
votes
0
answers
177
views
How to use async callback to determine resource to cache in workbox precacheAndRoute
In my service worker, I'm making use of workbox's precacheAndRoute from workbox-precaching. I want to cache files paths that already exist on IndexedDB since it varies across users. My code looks like ...
0
votes
1
answer
125
views
how can i use the same page as an edit and an add and cache them offline with simple url change as in description
hi there so i have a link lets say it is https://example.com/exp
the exp page is my add page and it is cached in my service worker and works offline
now when i open my list and choose to edit a record ...
0
votes
1
answer
429
views
Is there a way to update cache storage data after POST request in offline and display that data in view
I am using PWA & workbox for offline functionality where GET requests are being stored in Cachestorage & POST requests in INDEXED DB with workbox background sync.
here is a peice of code for ...
0
votes
1
answer
221
views
Qt 6.3.0 - Is the QtWebEngine object able to manage the display in offline mode?
I am developing a Qt application displaying a WebEngineView.
The cache is working properly.
I would like to go further by integrating an offline mode:
without a network, the application must display ...
0
votes
1
answer
145
views
How can I view the fossil documentation offline?
There are lots of docs on the fossil page, am I just supposed to checkout the whole repository to view them offline?
The man-pages are rather sparse, and unlike in git, there seem to be no meta-...
0
votes
0
answers
152
views
SQLAlchemy - cache table obj locally
I'm querying an existing read-only database with SQLAlchemy, and wonder if there is a way to cache the queried table object locally (in an automatic way) so that I can use it later. The main reason of ...
0
votes
0
answers
3k
views
TypeError: Cannot read properties of undefined (reading 'transaction') --> when I try to write to indexedDB when offline
I'm trying to get my app to use indexedDB when there is no internet connection. I have an idb.js file that sets up the object store and then defines a saveRecord function that I use in another js file:...
3
votes
1
answer
2k
views
Service Worker caching/playback of videos: what is the most compatible approach?
Im currently working on a small PWA which should also include several local video files offline.
(Using a precache szenario)
I've already noticed that the caching of such files is not straightforward, ...
3
votes
1
answer
454
views
How to get a hierarchical list of nodes and relations as json in Neo4j
I have a neo4j DB in which user data and relations between them would be stored, the end user will interact with this data from a mobile app (app is in Flutter, we use a nestjs neo4j connector in ...
1
vote
1
answer
492
views
Flutter Cloud Firestore how to write to subcollection when offline
Is it possible to write to a Cloud Firestore NEW document subcollection while user is offline?
In my app, the user will add a new document with items being added to the document's subcollection. ...
0
votes
1
answer
289
views
Can a Firebase Realtime Database persist data on web like Cloud Firestore? [duplicate]
I have a web app that uses a Realtime Database to store data. If I go offline while the database is connected, make changes, and reconnect, everything works as intended. However, I'm trying to make my ...
0
votes
1
answer
627
views
Offline folder access on server
on file server we have folder with user home folders..
i would like to ask, is it possible to access home folder offline (without using VPN and connect to companys network) and how?
Thanks
4
votes
1
answer
807
views
How to cold start a Blazor WASM app when a client device has no internet or is in airplane mode?
From an unmodified service-worker.published.js of a Blazor Hosted WASM project I was trying(in prod) some offline scenarios on mobile clients where the webapp was "Installed".
And here both ...
1
vote
2
answers
499
views
Firebase offline persistence - Upfront caching possible?
I'm working on a Firebase web application using the Cloud Firestore database. Currently
I'm experimenting with the offline persistence which is working as expected so far. The only downside I ...
0
votes
1
answer
1k
views
How can we prevent mobile app crashes if cached data does not align with new reducers structure?
I am currently developing an e-commerce management mobile application with React Native, and Redux. We persist data using redux-persist. This brings a great experience with cached data which is a ...
1
vote
1
answer
1k
views
Service worker returns offline html page for javascript files
I'm new to service workers and offline capabilities. I created a simple service worker to handle network requests and return a offline html page when offline. This was created following Google's guide ...
2
votes
1
answer
77
views
How long time is data cached with GA plugin in Unity apps
We have an Android app built using Unity and the Google Analytics GAv4 plugin for Unity.
The use-case is that the users might use the app for days without internet, and when they do connect to ...
2
votes
2
answers
3k
views
Cache persistance in PWA in iOS
Have a PWA that works fine with network connection. Added a service worker and it works with no connection IF the PWA had been opened at some point before loss of network connection. So far, so good....
1
vote
0
answers
86
views
How to you use cache when offline
I have a php webpage that I'd like to cache and use local storage when offline. When connected to wifi, the page loads fine. When I turn off my wifi, I get a HTTP ERROR 500, and the page will not load ...
9
votes
2
answers
15k
views
Locally Store Images Loaded with Coil?
So I'm using Coil image loading library to load images from an API by specifying the image URL. However when there is no internet connection I want to be able to see those images in my app. Is there ...
4
votes
1
answer
2k
views
How to preload js workers and wasm scripts for offline use (pwa)?
I would like to force the browser to preload a JavaScript worker as well as a WebAssembly script. When loaded, I have a ServiceWorker that puts these scripts in the CacheStorage.
For the images, I use ...
4
votes
2
answers
4k
views
How to build gradle projects completely offline?
Environment:
Linux + JDK 11 + Gradle 5.0
I have several gradle projects which must build from sources without Internet connection/ For example this one git clone --depth 1 --branch 3.0.0 https://...
3
votes
1
answer
295
views
Android: NetworkBoundRsource vs RemoteMediator
What are the differences between NetworkBoundResource and RemoteMediator (Paging 3)?
1
vote
1
answer
1k
views
Offline caching in flutter?
I have some videos in AWS storage... I need to access the videos from a mobile app... I can access when there is internet connection. But if I switch to airplane mode the app is crashing. Is there a ...
3
votes
1
answer
2k
views
How to Overwrite or Update Cache files in Flutter while using Path Provider
Below Code i have created for local caching using path provider
String fileName="pathString.json";
var dir=await getTemporaryDirectory();
File file=File(dir.path+"/"+fileName);
if(...