Giter Site home page Giter Site logo

Comments (7)

aritchie avatar aritchie commented on May 29, 2024

Jobs are periodic, not scheduled, so your timing won't work out well.

You have to use RequestAccess for notifications (and pretty much everything in Shiny) in the foreground to get the users permission.

from shiny.

South2AK avatar South2AK commented on May 29, 2024

Hi Aritchie,

I did ask for the permissions and allowed them on the phone, but it doesnt Show anything on where ios nor android even though i ve been running it for hours now.

Any ideas?

from shiny.

aritchie avatar aritchie commented on May 29, 2024

Im not going to guess. You have to submit a sample.

Try sending a notification in the foreground to ensure notifications is setup properly. Jobs will run, but it can be hours before they do

from shiny.

South2AK avatar South2AK commented on May 29, 2024

I´ll create a example as fast as I can but it will take some time...

Foreground works as intended.

Also what I´ve found out is that in foreground the console has a log with shinyjobs entries in it, but when I set RunOnForeground to false nothing get´s written in it

from shiny.

aritchie avatar aritchie commented on May 29, 2024

I would encourage you to look into the code and how the perspective platforms work. You basically have to wait until jobs start running. I run this scenario all over the place.

from shiny.

South2AK avatar South2AK commented on May 29, 2024

Okay...

I left them open yesterday for the whole day but nothing really happened unfortunately. What I just found out is, the first time I open the App on android or on IOS I´ll receive a notification immediately.

Is there maybe a task needed which repeats it self in background mode?

from shiny.

aritchie avatar aritchie commented on May 29, 2024

If you're swiping away the app or killing the debugger, you're killing the app which prevents things from running.

The sample app in this repo does this stuff and works. Please provide a reproducible sample, I'll take a look, but this seems like a case of misunderstanding of how periodic jobs work on the platforms.

from shiny.

Related Issues (20)

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.