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

Cannot read property 'start' of undefined #116

Open
SabdoWidiastuti opened this issue Nov 29, 2023 · 2 comments
Open

Cannot read property 'start' of undefined #116

SabdoWidiastuti opened this issue Nov 29, 2023 · 2 comments

Comments

@SabdoWidiastuti
Copy link

I consistently receive an 'undefined' response for Ping.start in both the simulator and emulator.
I'm using RN version 0.72.
Could anyone help me with this issue?

And also I face this type issue and can't resolve it by install the type.
image

cc: @RoJoHub

@Charles-Johnson
Copy link

Doesn't look like this package comes with typescript support. Regarding the undefined response, are you using the react-native CLI or Expo?

@Charles-Johnson
Copy link

@SabdoWidiastuti I have published a fork with the type declarations here: https://www.npmjs.com/package/@charles-johnson/react-native-ping

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

No branches or pull requests

2 participants