Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect shutdownStatsbeat optional parameter handling (TypeError: _this._shutdownStatsbeat is not a function) #1258

Closed
mkayander opened this issue Jan 10, 2024 · 1 comment · Fixed by #1259

Comments

@mkayander
Copy link

I've bumped into this issue when using react-native-windows.
After a clean project install, I get this error from Sender.ts as I try to run it.

TypeError: _this._shutdownStatsbeat is not a function

After some digging, I found out that the shutdownStatsbeat parameter is optional, however, there is a case when this callback gets called without a check if it exists or not.

This issue needs to be fixed in this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant