Skip to content
Discussion options

You must be logged in to vote

Preliminary searches are showing that this is a long-running issue with timers on android and that the best solution during all of this time has either been

  • setting the timers to be within the limits to not set off the warning (you could globally configure the cacheTime in React Query to be lower)
  • replacing the timer implementation in React Native on Android with a custom timer implementation that works in the background better
  • suppressing the warning (as you outlined above)

IMO, suppressing the warning would be fine, since it is just a cache and not a critical operational piece of the app. If the cache doesn't get cleared, then the data will remain in memory until the app is closed and…

Replies: 6 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@adamjuhasz
Comment options

@tannerlinsley
Comment options

@badsyntax
Comment options

@yepMad
Comment options

Answer selected by adamjuhasz
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
7 participants