Comments (7)
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.
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.
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.
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.
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.
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.
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)
- Cannot send local notification with a ScheduleDate set using 3.2.4 HOT 6
- [Feature Request]: Allow specifying user-agent header on NSURLSession Config HOT 1
- [Bug]: actionIdentifier not available in OnEntry delegate for Push Notifications HOT 1
- [Bug]: ServiceCollectionExtensions.AddBluetoothLE() throws "System.InvalidOperationException: This service descriptor is keyed. Your service provider may not support keyed services." HOT 2
- [Bug]: Shiny not working with Azure Notification Hub and FCM V1 HOT 3
- [Bug]: CharacteristicExtensions.GetAllCharacteristics returns only characteristics of the latest found service
- [Bug]: Setting up Shiny services for MAUI with .Net 8.0 support HOT 3
- [Bug]: await IBleManager.RequestAccessAsync() never returns a completed task the first time asking for permissions HOT 6
- [Bug]: Cannot use ScheduleDate and RepeatInterval at the same time HOT 1
- [Bug]: Connecting and disconnecting the connection does not work reliably HOT 3
- [Bug]: WriteCharacteristic is always timeout once "GATT is not connected" is thrown HOT 3
- [Bug]: HOT 1
- [Bug]: Shiny Push Notification - Delegate On Entry HOT 2
- [Bug]: PushManager never returns a value from the RequestAccess task. HOT 4
- [Feature Request]: Support Push notifications for iOS Simulator HOT 1
- [Bug]: BLE CharacteristicInfo Discovery HOT 6
- [Bug]: Notification doesn't appear when the app is running HOT 3
- [Bug]: System.ObjectDisposedException: ObjectDisposed_Generic ObjectDisposed_ObjectName_Name, Android.OS.PowerManager HOT 9
- [Bug]: Notification not clickable HOT 2
- [Bug]: The devices are not disconnected with 2 Bluetooth connections 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 shiny.