feat(android,interface): Handle battery optimisation

This commit is contained in:
2023-08-05 00:04:49 +02:00
parent 497ac279cc
commit 0d4f0c59cc
11 changed files with 165 additions and 5 deletions

View File

@@ -181,6 +181,8 @@ abstract class MoxplatformApi {
/// Platform APIs
String getPersistentDataPath();
String getCacheDataPath();
void openBatteryOptimisationSettings();
bool isIgnoringBatteryOptimizations();
/// Contacts APIs
void recordSentMessage(String name, String jid, String? avatarPath, FallbackIconType fallbackIcon);