Low Battery Notification

#1

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

0 Likes

#2

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

0 Likes

#3

Thanks @adamjnav

0 Likes

closed #4

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

0 Likes