backgroundtask's People
Forkers
kdotgarcia bartasx xaosbear carotorrehdz sergeymaslov kavisha-dev jan-e echo-peak dooublemint thepinyo mohsinpunch icodestate vinod1988 a-chhiong frankvandenberg lovemobile1234 skyworkerxsky sssuourabhbackgroundtask's Issues
iOS 13 background task
Hello,
This is a question not an issue. is there any limit on how many times we can perform a task? or how soon we can make another call to perform same action again and again.
We have a project that stops after iOS 13 release we were using background location for that but it looks like it stops working in iOS 13.
I really appreciate your quick reply.
Thanks
Not working on iOS 13.2.2
Tried running this project and it is not working on iOS 13.2.2.
Manual Background Refresh Failure
Received below error when manually running background refresh
No task request with identifier <decode: missing data> has been scheduled
Code used
e -l objc -- (void)[[BGTaskScheduler sharedScheduler] _simulateLaunchForTaskWithIdentifier:@"com.SO.imagefetcher"]
Steps to recreate
- Run application on device
- Send application to background (triggers background tasks)
- Reopen application and pause application using debugger
- Enter code used above into debugger and hit Enter (simulates background task
- Resume application using debugger play button
It seems that both tasks are not being registered causing an error in manual call
Could not schedule app refresh: Error Domain=BGTaskSchedulerErrorDomain Code=3 "(null)"
Could not schedule app refresh: Error Domain=BGTaskSchedulerErrorDomain Code=3 "(null)"
BGTaskSchedulerErrorDomain Code=1
I am getting below error
Could not schedule app refresh: Error Domain=BGTaskSchedulerErrorDomain Code=1 "(null)"
Could not schedule image featch: Error Domain=BGTaskSchedulerErrorDomain Code=1 "(null)"
2019-10-23 18:01:35.963349+0530 SOBackgroundTask[52447:426458] Can't end BackgroundTask: no background task exists with identifier 10 (0xa), or it may have already been ended. Break in UIApplicationEndBackgroundTaskError() to debug.
Any help would be appreciated. I am running on simulator.
When we enter in background our app getting error
Could not schedule app refresh: Error Domain=BGTaskSchedulerErrorDomain Code=1 "(null)"
Could not schedule image featch: Error Domain=BGTaskSchedulerErrorDomain Code=1 "(null)"
2020-01-11 17:54:07.821502+0530 SOBackgroundTask[6283:167953] Can't end BackgroundTask: no background task exists with identifier 2 (0x2), or it may have already been ended. Break in UIApplicationEndBackgroundTaskError() to debug.
BackgroundTask
Hi,
About your Demo, it's working fine when the iOs device is plugged but when it is powered on battery, strange thing happened. It will continue sending notifications more rarely but no updated reading on the count of photos! I'm running iOS 13.2.2 and I'm saw somewhere on the Web that the background task run less often when on battery (of course).
Did you experienced that behavior?
Thanks,
Marie-Louis Marcoux
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.