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
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.
The text was updated successfully, but these errors were encountered:
Hey @vishnevskiy, thanks for posting this! It looks like your issue is missing some required information. Can you please add all the details specified in the Issue Template? This is necessary for people to be able to understand and reproduce your issue. I am going to close this, but please feel free to open a new issue with the additional information provided. Thanks!
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 replacesCADisplayLink
withNSTimers
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.
The text was updated successfully, but these errors were encountered: