Low Battery Notification

Hello Expo community. I just started to develop an app using Expo and not able to figure out solution for low battery notification. I check “react-native-device-info” package but success.

And help will be really appreciated.

regards
Amitpal

Hey @amitpal,

To use react-native-device-info you would either have to eject if you’re using CRNA or detach if you’re running a standard Expo project since it requires you to run react-native link. As far as I know, there isn’t a pure JS way to get battery information currently.

Cheers,

Adam

Thanks @adamjnav

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.