hippware / rn-chat

MIT License
5 stars 0 forks source link

[android] Add debugging for 'Battery Optimisation' and related settings #4814

Open bengtan opened 4 years ago

bengtan commented 4 years ago

It turns out RNBGL has a few APIs to help out with app battery optimisation issues.

See: https://transistorsoft.github.io/react-native-background-geolocation/interfaces/_react_native_background_geolocation_.devicesettings.html#isignoringbatteryoptimizations

Before we start making use of these in the app, we should add them to a debug section/screen so QA can test them first. We need to test them on a number of different android phones to see how well they work before we implement them into end-user-visible screens.

Please:

This will allow QA to test, on a variety of android phones, whether:

bengtan commented 4 years ago

4816 was posted which is sorta related to this.

I see #4816 as the next step after this ticket once we've tested this to our satisfaction.