You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I assume @jamg26 was running their app on Expo Go. If you are on a managed workflow, then you'll need to build a development client using eas build and run the app on that. That's what has worked for me
`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;
`
The text was updated successfully, but these errors were encountered: