Git Product home page Git Product logo

Comments (3)

raphaelmerx avatar raphaelmerx commented on August 22, 2024

In the job builder, we set

.setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY)

which means if there is no internet connectivity, the task will not be started. Could that be the issue?

from cordova-plugin-scheduler.

spkprav avatar spkprav commented on August 22, 2024

No, It isn't related to NetworkType, because the app requires internet to fetch data, so the Internet is always there. also, if I run using adb shell, it works perfect, it's just ionic not starting the service.

My configuration:

Ionic:

   ionic (Ionic CLI)  : 4.12.0 (/Users/pk/.nvm/versions/node/v10.15.3/lib/node_modules/ionic)
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.1.9

Cordova:

   cordova (Cordova CLI) : 8.1.2 ([email protected])
   Cordova Platforms     : android 7.1.4, ios 4.5.4
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 1.2.1, (and 16 other plugins)

System:

   Android SDK Tools : 26.1.1 (/Users/pk/Library/Android/sdk)
   NodeJS            : v10.15.3 (/Users/pk/.nvm/versions/node/v10.15.3/bin/node)
   npm               : 6.4.1
   OS                : macOS Mojave
   Xcode             : Xcode 10.2.1 Build version 10E1001

from cordova-plugin-scheduler.

Elyft avatar Elyft commented on August 22, 2024

i don't think that is the good idea to start the task if the user have an internet connection
Can you explain me why this choice? @raphaelmerx

from cordova-plugin-scheduler.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.