-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Closed
Labels
Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
This is more of a question if anything. Currently since the event loop is tied to CADisplayLink
on iOS it does not tick when the app is in the background/screen is off. We have been using React Native for Discord since the day React Native was announced, but we have kept a fork that replaces CADisplayLink
with NSTimers
when the app goes to the background (discord@62a487a). We are trying to move away from having a fork, but this is holding us back. Is there any plan to fix this in a better way, or would a patch to this be considered?
Environment
iOS
Steps to Reproduce
Have an app that needs to stay alive in the background such as VoIP.
Expected Behavior
Event loop should tick when app is in background, if app opts into it.
Actual Behavior
Timers and event dispatches do not work.
Metadata
Metadata
Assignees
Labels
Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.