Home > database >  how can I determine internet speed in my react native app?
how can I determine internet speed in my react native app?

Time:05-30

I'm trying to determine internet speed in my react native app but no success I've looked through some packages like react-internet-meter, react-native-network-bandwith-speed...but it only works on android

can anyone help me?

CodePudding user response:

I believe you can use

@react-native-community/netinfo

for what you want to do. You can check whether you have a connection and at least for cellular connection also which kind of connection you have with

NetInfoCellularGeneration

CodePudding user response:

You can try using this library I am not sure if it'll work or not because personally, I have never used it. but it's worth a shot.

https://github.com/TSjianjiao/react-native-network-speed

  • Related