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

Cannot read property 'start' of undefined

Open SabdoWidiastuti opened this issue 1 year ago • 2 comments

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

SabdoWidiastuti avatar Nov 29 '23 08:11 SabdoWidiastuti

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 avatar Dec 29 '23 05:12 Charles-Johnson

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

Charles-Johnson avatar Jan 02 '24 01:01 Charles-Johnson