Skip to content

ReactNative in Expo #70

@jamg26

Description

@jamg26

`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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions