Open DmytroKoblents15 opened 1 month ago
@DmytroKoblents15 thanks for the issue. Quick question: which path does the app follow when it is started from a notification on Android? I believe that React Native is not initialized properly when that happen.
Also @DmytroKoblents15, have you also opened an issue against https://github.com/invertase/react-native-firebase/issues ?
I opened an issue against the react-native-firebase repo here
I can no longer reproduce any issues with background headlessJS on android in new architecture - detailed findings on https://github.com/facebook/react-native/issues/47570#issuecomment-2483974714
There is still a problem with old architecture and background FCM in react-native >= 0.76.0 through at least 0.76.2 but it is tracked separately with a reproducer here https://github.com/facebook/react-native/issues/47592
Description
Getting error
Error: Exception in HostFunction: Could not enqueue microtask because they are disabled in this runtime, js engine: hermes
when receiving background message from firebase on react native after updating to 0.75.3 with newArch and hermes enabled. If I disable the new arch or rollback to RN 0.74 error doesn't show upindex.js
package.json
graddle.properties
Steps to reproduce
React Native Version
0.75.3
Affected Platforms
Runtime - Android
Areas
Other (please specify)
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/DmytroKoblents15/notificationsReproduce
Screenshots and Videos
No response