react-native-firebase icon indicating copy to clipboard operation
react-native-firebase copied to clipboard

[📚] Problem with Performance Monitoring

Open marclpez opened this issue 1 year ago • 1 comments

Documentation Feedback

Please describe your documentation issue or suggested improvement in detail here and provide links to any pre-existing/relevant documentation and screenshots if necessary:

I'm trying to add Performance Monitoring into my project. My project has been developed in React Native with Android Studio to run my application in a device, and when I try to add "const perf = getPerformance(app)" in my file configuration about firebase, I get this error:

Performance: Firebase Performance cannot start if the browser does not support "Fetch" and "Promise", or cookies are disabled.

I've been looking for this error, but I can't find a solution to solve it.

Thanks.


marclpez avatar Jul 03 '22 09:07 marclpez

I'm not sure exactly what you've done or how to reproduce this (https://stackoverflow.com/help/how-to-ask) so I can't say exactly.

I can say that this scripted demonstrator will go from npx react-native init ... of a fresh app to a running integration of all react-native-firebase modules including perf, you can see it in action:

https://github.com/mikehardy/rnfbdemo/blob/main/make-demo.sh

mikehardy avatar Jul 03 '22 17:07 mikehardy

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

github-actions[bot] avatar Dec 05 '22 19:12 github-actions[bot]