Questions tagged [offline]

1

votes
0

answer
251

Views

Firestore offline batch delete

I am new to firebase and firestore and would like to know if the behavior I found is a bug or by design. I am using angularfire2 in my ionic project where the user will be offline most of the time… so offline support is a big deal. The problem: snapshotChanges is not called in a offline batch del...
BugsBunnyBR
1

votes
0

answer
90

Views

Control a PPTX file with Javascript offline

This is an odd use-case and I've tried to steer the users away from this, but I have a request to load locally stored PPT files in an HTML environment. The idea is to view the PPT in an iframe so that I can 'decorate' all around it. Users will be creating playlists, of sorts, so I need to add 'next'...
Wayne F. Kaskie
1

votes
0

answer
262

Views

Does any local npm repo / offline tool handle node-gyp packages?

I am getting started with Node.js / npm world. I have been learning a few basic things about Node, npm and front-end development frameworks. Now that I am ready to start my first projects, I was trying to set up an environment which could let me get packages I already downloaded when I am working o...
RDM
1

votes
0

answer
118

Views

D3 Tile Map Offline

What's the best way to allow D3 map tiles to work without internet connection. For example, how can I change this example so that it still loads offline? Is there a way to download the tiles ahead of time such that the API calls can work in a similar way?
tgordon18
1

votes
0

answer
192

Views

Update Workbox controlled pre-cached items in “installed” (added to home screen) PWA

I am using Workbox 2 to deal with 'offline' behavior of my PWA. The content is produced by HexoJS and is deployed to GitHub Pages. Here is the workbox-cli-config.js for reference: module.exports = { globDirectory: './public/', globPatterns: ['**/*.html', '**/*.js', '**/*.css', '**/*.png'], swDest: '...
Simon
1

votes
1

answer
57

Views

Cordova, how to detect offline accurately

I am looking for a way to detect Phone is offline, no data or wifi Phone is online, but is behind a router that blocks access without sign in (like hotels, free wifi hotspots, etc.) Phone is online, but the server is offline Number 1 is easy using cordova-network-information Number 2 and 3 are more...
Trevor D
1

votes
0

answer
53

Views

Exporting: Checking if offline

For my standard chart I don't use a legend, but when exporting it, I would like to include the legend. So I configured the chart like this: myChartInstance.update({'exporting': {'enabled': true, 'menuItemDefinitions': {'downloadPNG': {'onclick': function() {myChartInstance.update({'legend': {'enable...
Thomas
1

votes
0

answer
235

Views

Django REST api offline synchronization with PouchDB

I am developing an application which is used by multiple clients and the main goal of the app is to be used online. But a specific requirement is, it should be able to work offline too (only for a single client(s) in an emergency situation and for short time - 24 hours maximum). now I am using Djang...
ashwin bande
1

votes
0

answer
76

Views

Example of MediaStore.Audio.Radio

I looked everywhere for Radio examples of android but could not find anywhere. Since it is added in API level 21 and not much of an use I think its rare in internet. I just want to play radio in my app offline.
Sagar Adhikari
1

votes
0

answer
294

Views

SAP Cloud Platform. Fiori Mobile Hybrid Application : Offlne oDATA documentaton?

I'm struggling to find any clear or coherent documentation on implementing offline oData through SCP Fiori Mobile. The best info I've came across has been to add the following to Manifest.json here : https://blogs.sap.com/2017/03/22/make-offline-app-using-sap-cp-mobile-service-for-sap-fiori-part-1/...
Adam Harkus
1

votes
0

answer
26

Views

how to draw the Shapes on the loaded offline map using java

I Developed the offline map using ArcGis ,I need to draw a Shapes on the map.I tried using paint () But I'm getting error .how can i achieve this.Any suggestion is appreciable .
Manjunatha Bhat
1

votes
1

answer
697

Views

VSCode breakpoints disabled (greyed-out) when working with Typescritp and Serverless Offline

I am developing some Lambda functions using serverless-framework. The serveless-framework has been installed globally. I am using Typescript and serverless-webpack. I am also using serverless-offline to test locally. Everything works fine except when I try to debug from within VSCode. The problem i...
Picci
1

votes
0

answer
321

Views

AngularFire Offline: queryFn is not a function

Im trying to retrieve chats from a firebase database with AngularFire Offline. To achieve this I wrote this function: getChat(chatId: string, batch, lastTimestamp?) { let query = { orderByChild: 'timestamp', limitToLast: batch } if(lastTimestamp) query['startAt'] = lastTimestamp; return this.afo.lis...
Lucas Mähn
1

votes
0

answer
97

Views

Understanding offline.js for monitoring internet connection

I am trying to understand how 'Offline.js' works. I have the following script which I have working under the following circumstances: Device connected to the internet via WiFi. If I disable the WiFi, the offline events are triggered. When I enable the WiFi the web page returns to running as normal....
DCJones
1

votes
1

answer
272

Views

Best way to periodically save javascript client data to server database and stay in sync?

I have created an application using javascript library D3. Users will constantly click and drag to frequently change graphical elements and I currently save the data in 3-4 local javascript objects and arrays. I want to save the data to the server periodically rather than after each change. Also I w...
J Chadwick
1

votes
0

answer
37

Views

Azure Mobile Apps sync on background

I'm currently using offline sync feature on an Android project. It's posible to have a background process that sinchronize tables periodically without affecting user interaction? For example, the user is inserting a new row on a table while the background process is synchronizing. This insertion is...
emobile
1

votes
0

answer
139

Views

maven repository download sha files

I am trying to setup maven as build tool on a platform without internet access. Is it ok if I just copy the contents of ~/.m2 in the target platform. Except from jar files I also see following in the repository structure: XX.jar.lastUpdated #NOTE: This is an Aether internal implementation file, its...
Peter_Guardia
1

votes
0

answer
397

Views

enable offline capabilities ionic 3 firestore

Could you please some one help me to enable my ionic 3 app to be as offline first. I am creating single code for web , android,ios and windows phone. I need to enable the offline capabilities. Google document says to use the bellow code. But I am not sure where to add the bellow code, I used environ...
Godwin Raj
1

votes
1

answer
280

Views

why redux-offline with react-native not send the POST request?

I have delete_task action that POST the task id to PHP file to delete the task , although the action I fired correctly and i see the effect in the console but the task not deleted, i tried many many times using GET OR POST OR JUST put the id statically in the URL but nothing changing,can anyone help...
user1080247
1

votes
0

answer
41

Views

Mobile Offline Dynamics CRM app error

Mobile offline profile defines that every account should be downloaded. Status of the accounts is 'available' in the mobile app. However, when we go offline, no account record can be opened due to following error in Event Viewer: The requested record was not found or you do not have sufficient permi...
Niels Declercq
1

votes
0

answer
827

Views

ionic offline app syncing

I've used a basic ionic3 camera module app for storing image information along with the image in localstorage while offline and the data should be syncing with the online couchdb datastorage when the user goes online which is not actually happening. There are no errors shown while running the app in...
1

votes
0

answer
266

Views

how to launch camera in an ionic app

I have created the basic ionic app which can launch camera. I installed all the required plugins and also i have used the right version of cordova . I am not getting any errors and also able to create apk for that . When using in apk in the android mobile, camera is not getting launched. this is th...
1

votes
0

answer
70

Views

Can we run a Capacitor PWA app offline?

i just created an Ionic project and i added capacitor on it ( with a 'npx cap init' ), i set up my service worker ( i just left the in my index.html ). Then i run ' ionic serve ' from my laptop, and i tried to access it from my mobile phone ( so basically i did a personnal hotspot with my mobile i...
Tomas Lo Pinto
1

votes
0

answer
102

Views

Meteor Offline build ERROR

Meteor Offline build ERROR! 'compileSdkVersion is not specified' when no-internet connection I need to build at offline circumstance error msg is like this. JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home Subproject Path: CordovaLib Failed to notify ProjectEvaluationListe...
Bobby Jey Choi
1

votes
0

answer
281

Views

Android Studio Gradle offline Gradle Cache

Android Studio Version 3.1.3 Issue: Gradle wants to re-download dependencies that were previously downloaded For instance: 'No cached version of com.android.support:appcompat-v7:27.1.1 available for offline mode.' It doesn't matter which version I use, it refuses to accept the ones located at '/~.g...
xmarcioras
1

votes
0

answer
222

Views

Mapbox offline map loading issue

I am working with the map application. In my application, I have to give support of offline map. I go through many examples and tutorial of mapbox. I found the code of how to download the offline map. But didn't find how to load that different downloaded map in mapbox. For offline map download, I...
1

votes
0

answer
30

Views

How to get canonical file without using wget?

I am trying to get OVAL xml file from the following link: https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.xenial.cve.oval.xml I am using a Ubuntu 16.04 virtual machine offline, and I can't do: wget https://people.canonical.com/../com.ubuntu.xenial.cve.oval.xml How can I download this f...
Siya
1

votes
1

answer
82

Views

Accessing an offline SVN repository

I have an SVN repository that is currently offline due to a router failure. It's going to be a few more days before it is fixed, but I need to use the repo NOW. I can possibly put the repo on a USB key, but then what can I do with it to update/commit ? Can I easily run a copy of the repo on my machi...
dargaud
1

votes
0

answer
31

Views

Search doesn't work in android SDK offline docs

I downloaded docs-24-r01 Because in my SDK manager in the android studio under no API there was a documentation to download so I got in manually.I extracted the files inside: sdk:/docs I changed jdk.table.xml and now android studio opens these files as default instead of opening the online version....
steve moretz
1

votes
0

answer
34

Views

Can I change the “no interent connection” page with a Chrome extension?

I was wondering if it is possible through a Chrome extension to go to edit the page with the dinosaur game, which is shown in absent connection. I would like to modify that game. I also wondered if I also have to make a piece of special to make it work offline.
Niccolò caselli
1

votes
1

answer
423

Views

Auth basic 401 page does not prompt for credentials due to PWA service worker caching

I'm using basic auth on my dev site (e.g. dev.example.com) and I'm running into an issue where my site is not prompting me for credentials after my initial visit. In other words, if I clear my browser cache the prompt appears and I can log in just fine. The session persists just fine, but after the...
Xander Luciano
1

votes
0

answer
47

Views

Catch browser offline event in IE and mozilla

I want to invoke the browser Online and Offline event. Below is what i tried. window.addEventListener('offline', function(e) { console.log('offline'); }); window.addEventListener('online', function(e) { console.log('online'); }); The above code works for Google Chrome and safari, but for Firefox and...
Sam Sam
1

votes
0

answer
58

Views

Offline playback for encrypted HLS content in iOS

I am trying to implement online and offline video playback using HLS.I am able to play online encrypted HLS content, but i am facing issues with offline encrypted content. Can anyone guide, how to implement offline encrypted hls content play back in iOS.
kiran Kumar Katuru
1

votes
0

answer
875

Views

Service Worker not working on offline mode on IOS 12

I'm trying to make a PWA to work on both online/offline modes on both iOS/Android OS, so far I already got my service worker ready and working on android, is service offline page correctly, but on IOS it's not working at all, I can add my PWA to home screen and it works all IndexedDB methods I have,...
ShinkenDT
1

votes
1

answer
89

Views

Integrate KML on offline Google Map iOS

I want to create a kml file programmatically in iOS Swift4. I surfed a lot regarding offline GoogleMaps & saving data in kml file, but I haven't found any relevant material regarding this. In short, I just want to store some POI in kml & display it in offline Googlemap!!
Dimple
1

votes
0

answer
27

Views

SAP Hybrid Mobile App - What happens on a failed flush()?

I have a Hybrid Mobile app developed SAP WEB IDE, SAP Cloud Platform using Hybrid App Toolkit to build through SAP Mobile Services. Say for example I perform a flush() (Update Online Database with Offline oData) and there's a Network error. What happens next? The offline oData has been updated. The...
Adam Harkus
1

votes
0

answer
58

Views

Is it possible to create offline firebase app?

I am trying to create a simple notetaking app(ios/android) with the ability to save text and pictures to cloud storage (am using firebase). so the prototype works fine except when offline. Firestore has offline capabilities, but Google sign-in does not allow silent-login authentication when offline...
UpaJah
1

votes
1

answer
67

Views

how to create an offline web app using javascript

I am looking for a solution on how to create an offline compatible web app using html, JavaScript, and maybe jQuery. I looked into service workers, but they aren’t comparable with all mobile devices yet. I also looked at the manifest file thing, it worked but it didn’t update the files. So now I...
Ridley Nelson
1

votes
0

answer
137

Views

API call handling in offline mode (React Native)

Is there a way to handle an API call which was sent while being online but all of a sudden after that call is made you lost network and got in offline mode meaning that the request has been sent to the server but you won't be able to see the response due to being in offline mode. Also, being in offl...
5-Fingers
1

votes
0

answer
62

Views

How does Jenkins resolves conflict in plugins version dependency

Hello to all Jenkins administrators, Do you know how does Jenkins plugin update mechanism behave when there is a dependency on two different versions of the same plugin? We're running Jenkins on an air gapped network. I would like to download the .hpi/.jpi plugin files with their dependencies. (We'r...
Eyal Azran

View additional questions