-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
`import React from "react";
import { Text } from "native-base";
import Ping from "react-native-ping";
const Home = (props) => {
React.useEffect(() => {
(async () => {
try {
const ms = await Ping.start("114.114.114.114", { timeout: 1000 });
console.log(ms);
} catch (error) {
console.log(error.message);
}
})();
}, []);
return (
<>
Hi
</>
);
};
export default Home;
`
RESPONSE: null is not an object (evaluating 'RNReactNativePing.start')
Metadata
Metadata
Assignees
Labels
No labels