You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey peeps! I've succeeded in making rodio work on iOS! Now, tho, I have a new problem.
Down the road, it uses coreaudio et cetera with cpal, but the problem is that iOS and the Apple mobile ecosystem is very restrictive with what can run in the background. Making a music app, it makes it hard that I need the app to be in the foreground to have the audio run... So I'm trying to make my app have Background Modes, from Xcode.
So, BGTaskSchedulerPermittedIdentifiers seems to be the key you need to add to your Info.plist for iOS to make your app have background tasks, but making those tasks run from Rust seems to be my problem.
How can I make my Rust code run in the background? Especially the Rodio part of my app, any ideas?
Thanks a lot!
The text was updated successfully, but these errors were encountered:
Probably some OS API you have to call to set something up. I suggest asking on the forum again, this is not just a thing for audio but a wider IOs specific principle. Again let us know if you figure it out. I think your journey making a music app in rust might make a good blog post (if you got a blog). Since I can not find anything about it googling.
Hey peeps! I've succeeded in making rodio work on iOS! Now, tho, I have a new problem.
Down the road, it uses coreaudio et cetera with cpal, but the problem is that iOS and the Apple mobile ecosystem is very restrictive with what can run in the background. Making a music app, it makes it hard that I need the app to be in the foreground to have the audio run... So I'm trying to make my app have
Background Modes
, from Xcode.So,
BGTaskSchedulerPermittedIdentifiers
seems to be the key you need to add to yourInfo.plist
for iOS to make your app have background tasks, but making those tasks run from Rust seems to be my problem.How can I make my Rust code run in the background? Especially the Rodio part of my app, any ideas?
Thanks a lot!
The text was updated successfully, but these errors were encountered: