Comments (5)
Duplicate to or related to #3656 possibly?
from fyne.
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.
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.
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.
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)
- Unable to run some apps on M1 Macbook Pro HOT 2
- Disabled app tabs can still be selected in popup menu HOT 1
- Labels clipping some text below baseline HOT 6
- Wrong font rendering when overriding theme HOT 8
- Font can't be displayed correctly after fyne package HOT 2
- The text is not Alignment in button with custom font. HOT 1
- App crashed in windows10 enterprise HOT 6
- Notification actions/callbacks HOT 3
- BorderLayout does not show border objects when used in an AppTab HOT 2
- Window periodically misdraws into a smaller area on startup HOT 1
- Notifications are not working on iOS HOT 2
- Mobile simulator should follow light/dark mode HOT 2
- Optionally allow internal callback for Hyperlink and HyperlinkSegment to handle clicks and taps internally HOT 4
- MacOS not asking for permission to show notifications HOT 1
- Menu tests are failing on some developer computers HOT 6
- Stop printing diffs between failed image matches
- Annoying extra output when tests are failing
- Objects added to a container that is part of a theme override don't get the overridden theme HOT 1
- Custom style HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fyne.