Prerequisites:
- Was working well on stack: "react": "17.0.1" + "react-native": "0.64.3"
- We talk about Android only for now
Steps to reproduce:
- Upgrade to "react": "18.2.0" + "react-native": "0.70.6"
- Execute background timer
- Throw Android App on the background, switch to any other App
For a minute or two you can see successful logs in Logcat or anywhere else:
2023-01-03 14:59:42.273 12608-12812/ D/RNBackgroundTimerAndroid: setTimer for id: 695 for 5000.0 ms. Repeats: false
2023-01-03 14:59:42.292 12608-12812/ D/RNBackgroundTimerAndroid: clearTimer for id: 695
After 1-2 minutes it's no longer working.
@juanamd I know that your App is working fine for your production case,
it was also working fine for me before the upgrade.
I'm trying to figure the difference between your and my production setup and what exactly could cause the break.
Prerequisites:
Steps to reproduce:
For a minute or two you can see successful logs in Logcat or anywhere else:
After 1-2 minutes it's no longer working.
@juanamd I know that your App is working fine for your production case,
it was also working fine for me before the upgrade.
I'm trying to figure the difference between your and my production setup and what exactly could cause the break.