Code Monkey home page Code Monkey logo

Comments (5)

Jacalz avatar Jacalz commented on July 3, 2024

Duplicate to or related to #3656 possibly?

from fyne.

Gys avatar Gys commented on July 3, 2024

That issue is about remote push notifications and mobile in general. This issue is about local push notifications and specific for iOS only. This works on platforms like Darwin and Android, but not for iOS.

from fyne.

andydotxyz avatar andydotxyz commented on July 3, 2024

It's not related to whether the app is foregrounded but whether it is running according to the OS (as I understand it anyhow). We don't have any background service support so as soon as the OS suspends your app the code won't run and notifications won't send.

from fyne.

Gys avatar Gys commented on July 3, 2024

I am sure there is no background processing possible on iOS. The only thing coming close is sending a silent remote push notification which 'wakes up' the app for a moment (if the OS chooses to allow it). At that moment the app can do things in the background.

@andydotxyz You mentioned elsewhere that on mobile notifications would be shown if the app was in the background. So that is only for Android then.

Sorry, I was hoping I missed something about local notifications on iOS. So this indeed related to #3656

PS: it is possible to setup a local notification with a specific 'show' time and date on both iOS and Android. This is not exposed by Fyne though.

from fyne.

andydotxyz avatar andydotxyz commented on July 3, 2024

The app can send notifications if it is running in the background on iOS and Android. However (depending on memory pressure) the iOS app will likely be killed in seconds rather than minutes on Android.

Scheduling notifications is an intended improvement so feel free to open a PR or feature request so we can track its addition.

from fyne.

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.