yarodevuci / backgroundtask Goto Github PK
View Code? Open in Web Editor NEWAn infinite backgroundTask based on playing blank audio file ...
An infinite backgroundTask based on playing blank audio file ...
:(
Performance - 2.5.4
Your app declares support for audio in the UIBackgroundModes key in your Info.plist but did not include features that require persistent audio.
Next Steps
The audio key is intended for use by apps that provide audible content to the user while in the background, such as music player or streaming audio apps. Please revise your app to provide audible content to the user while the app is in the background or remove the "audio" setting from the UIBackgroundModes key.
if my application will use in house (enterprise account) it will cause any rejection from apple ?
if we already implement sound in background in our app it will rejected , we add feature that must use this permission it will rejected?
I try your method, but I found the method can't achieve to reboot to device, the application can't run automatically in background. Have any method auto start run the method when the device reboot? I try to the code and change the call timer method and startBackgroundTask in appdelegate file. I test in the iOS10 beta8 ipad device(XCode 8 beta6). thank you very much.
Is it possible that this solution isn't working under IOS 11?
I am developing a peer to peer VOIP application. So I have already implemented the necessary functions for VOIP and audio. But the app is being closed after ten minutes.
I was wondering whether I could use this background technique since I have already implemented the VOIP functionality. Will apple know that I have used this technique as I believe they don't look at our source code. I don't want to rely on pushkit extensively as I don't have a server for connection process. Just curious.
I am using your test project in background , after about 15:30 minutes the app stops and when open the app is opens like it is the first time .
I'm using it by running directly from xcode into my iphone 7 .
Thanks in advance
I’ve been trying to use this on ios11 Swift 5. But when BackgroundTask.stopBackgroundTask() is called, it crushes and gives out error on player.stop().
Need some help...
Also thanks for the amazing work!
it only print following in foreground as soon as app reaches to background it stops printing.
Task is Running...
Task is Running...
Task is Running...
Task is Running...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.