Device
A service to manage and query device instruments
↓ Import the device serviceimport {Device} from 'react-exo/device';
↓ Share EXO with a friend :]Device.share('https://exo.ult.dev', 'EXO is amazing!');
↓ Query online statusconst online = await Device.isOnline();
↓ Query device localeconst locale = Device.getLocale();
Dependencies
Technology
Platform | Library | Support | Notes |
---|---|---|---|
Web | Web API Navigator | ✅ | - |
Native | @react-native-community/netinfo | ✅ | - |